Swift Headlines

Swift

Screen Shot 2015-02-22 at 5.31.27 PM

swift , NSTimer, call function every 1 second

admin-powenko

[/php] class GameScene: SKScene { override func didMoveToView(view: SKView) { var timer = NSTimer()   timer = NSTimer.scheduledTimerWithTimeInterval(1, target:self, selector: ...

Screen Shot 2015-02-22 at 10.17.13 AM

SWIFT – get substring Function

admin-powenko

share

SWIFT – String [] array , add String .

admin-powenko

share

Swift – Converting String to Int

admin-powenko

share

Screen Shot 2015-02-22 at 8.48.36 AM

Swift Get substring

admin-powenko

Output: 12345678 Output: ABCDEFGHI share

Find substring, Swift code to check subString in a string.

admin-powenko

share

Int convert to String

admin-powenko

let x : Int = 42 var myString = String(x) share

Swift491

Swift

calendar

Recent Posts

Categories