Swiftpack.co - Package - AlexyIbrahim/AIGoto

AIGoto

Swift Version License Platform

A Swift replacement for C goto statement

Requirements

  • iOS 11.0+
  • Xcode 10.0+

Installation

Swift Package Manager

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")

Usage example

import AIGoto

goto.define("first goto") {
  print("first goto fired")
  |->"second goto"
}
        
goto.define("second goto") {
  print("second goto fired")
}
        
|->"first goto"

Meta

Alexy Ibrahim – @Github – alexy.ib@gmail.com

See LICENSE for more information.

Github

link
Stars: 0

Dependencies

Used By

Total: 0