.. | ||
tutorial1 | ||
tutorial2 | ||
tutorial3 | ||
tutorial4 | ||
tutorial5 | ||
.gitignore | ||
bump_dependencies.sh | ||
README.md |
Objective-C code for RabbitMQ tutorials
Objective-C code examples for the RabbitMQ tutorials.
Requirements
To run this code you need Carthage to pull down dependencies, which include the Objective-C client itself.
If you have Homebrew installed, simply:
brew install carthage
You also need a running RabbitMQ server on localhost.
Installation
Each tutorial has its own Xcode project. Before the projects can be run, you need to download and build their dependencies.
For example, to install tutorial 1:
cd tutorial1
carthage bootstrap --platform iOS
You should then be able to open the project in Xcode and hit Run. Output is NSLogged.
See ViewController.m for the
implementation (each tutorial has its own ViewController.m
).
Running the tutorials on master
If you're QAing a change, or just want to run these tutorials on the master version of the client, follow these steps.
Edit Cartfile
Change the version number to the word "master"
Clear Carthage cache and update
rm -rf ~/Library/Caches/org.carthage.CarthageKit && carthage update --platform iOS
Rebuild the project in Xcode
If there have been breaking changes, you might now need to make changes to the tutorial.