Objective-C code examples for the RabbitMQ tutorials.
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.
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
).
If you're QAing a change, or just want to run these tutorials on the master version of the client, follow these steps.
Change the version number to the word "master"
rm -rf ~/Library/Caches/org.carthage.CarthageKit && carthage update --platform iOS
If there have been breaking changes, you might now need to make changes to the tutorial.