Skip to content

Instantly share code, notes, and snippets.

@jquave
Created June 3, 2014 01:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jquave/6fb62d951cebe4f6c7e5 to your computer and use it in GitHub Desktop.
Save jquave/6fb62d951cebe4f6c7e5 to your computer and use it in GitHub Desktop.
jamesonquave.com comment reply
import UIKit
class AnotherClass {
var someVar = 1
let someConst = 2
func somePrivateFunc() -> Bool {
return true
}
func someFunc() -> (Int -> Bool) {
var someInnerFuncVar = { (num: Int)->Bool in
return true
}
return someInnerFuncVar
}
init() {
var vc = ViewController()
}
}
@prashant343
Copy link

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment