GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — rabbitmq-tutorials/swift at master · rohochan/rabbitmq-tutorials

Expand file tree

/

swift

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

swift

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
tutorial1
tutorial1
 
 
tutorial2
tutorial2
 
 
tutorial3
tutorial3
 
 
tutorial4
tutorial4
 
 
tutorial5
tutorial5
 
 
.DS_Store
.DS_Store
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
bump_dependencies.sh
bump_dependencies.sh
 
 

README.md

Outline

Swift code for RabbitMQ tutorials

Swift 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.swift for the implementation (each tutorial has its own ViewController.swift).

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.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.