Skip to content

Instantly share code, notes, and snippets.

@tigerraj32
Created December 30, 2016 10:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tigerraj32/2836904efe06b324b036c821aa045b56 to your computer and use it in GitHub Desktop.
Save tigerraj32/2836904efe06b324b036c821aa045b56 to your computer and use it in GitHub Desktop.
Naming Convention
func dateFromString(dateString: String) ­> NSDate
func convertPointAt(column column: Int, row: Int) ­> CGPoint
func timedAction(afterDelay delay: NSTimeInterval, perform action: SKAction) ­> SKAction! // would be called like this:
dateFromString("2014­03­14")
convertPointAt(column: 42, row: 13)
timedAction(afterDelay: 1.0, perform: someOtherAction)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment