A Swift replacement for C goto statement
- iOS 11.0+
- Xcode 10.0+
You can use SPM to install AIGoto
by adding it to your Package.swift
:
.package(url: "https://github.com/AlexyIbrahim/AIGoto.git", from: "1.0.0")
import AIGoto
goto.define("first goto") {
print("first goto fired")
|->"second goto"
}
goto.define("second goto") {
print("second goto fired")
}
|->"first goto"
Alexy Ibrahim – @Github – alexy.ib@gmail.com
See LICENSE
for more information.