1 Star 0 Fork 0

zhzhouq9/rabbitmq-tutorials

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
bin/travisci
clojure
common-lisp
dart
dotnet-visual-studio
dotnet
elixir
erlang
go
haskell
java-idea
java-mvn
java
javascript-nodejs
kotlin
objective-c
perl
php-amqp
php-interop
php
python
ruby
rust
scala
soapui
spring-amqp
swift
tutorial1
tutorial2
tutorial3
tutorial4
tutorial5
.gitignore
README.md
bump_dependencies.sh
.gitignore
.travis.yml
LICENSE.txt
Makefile
README.md
test.py
travisci.py
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

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.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/zhzhouq9/rabbitmq-tutorials.git
git@gitee.com:zhzhouq9/rabbitmq-tutorials.git
zhzhouq9
rabbitmq-tutorials
rabbitmq-tutorials
master

搜索帮助