Difference between revisions of "Swift code snippets"
From Hawk Wiki
(→Adding UIRefreshControl) |
|||
(32 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | = | + | =Swift Code Snippts= |
− | + | Back To [[IOS_Swift]] | |
− | + | ==[[Swift: Use NSUserDefaults to Store Persistence Data]]== | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | == | + | ==[[Swift: Making Network Request Using NSURLConnection]]== |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ==[[Swift:Use AFNetworking setImageWithURL]]== | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | ==Example of fetching messages from Parse== | + | ==[[Swift:Using UIRefreshControl]]== |
+ | |||
+ | ==[[Swift:Using UIGestureRecognizer]]== | ||
+ | |||
+ | ==Swift:Example of fetching messages from Parse== | ||
https://gist.github.com/sandofsky/7134b1ff90d235901254 | https://gist.github.com/sandofsky/7134b1ff90d235901254 | ||
− | ==Auto Table Row Height== | + | |
− | + | ==[[Swift:Auto Table Row Height]]== | |
− | + | ||
− | + | ==[[Swift:Navigation between storyboards]]== | |
− | + | ||
− | + | ==[[Swift:Notification Observer Using NSNotificationCenter]]== | |
− | == | + | |
− | + | ==[[Swift:Get Raw Histogram from CGImage]]== | |
− | + | ||
− | + | ==[[Swift:UIGraphics Drawing on UIView]]== | |
− | + | ||
+ | ==[[Swift:UIGraphics Scale Down CGImage]]== | ||
+ | |||
+ | ==[[Swift: Convert between CGImage, CIImage and UIImage]]== | ||
+ | |||
+ | ==[[Swift:Detect Volumn Button Press]]== | ||
+ | |||
+ | ==[[Swift:NSTimer scheduledTimerWithTimeInterval]]== |
Latest revision as of 03:10, 9 April 2015
Contents
- 1 Swift Code Snippts
- 1.1 Swift: Use NSUserDefaults to Store Persistence Data
- 1.2 Swift: Making Network Request Using NSURLConnection
- 1.3 Swift:Use AFNetworking setImageWithURL
- 1.4 Swift:Using UIRefreshControl
- 1.5 Swift:Using UIGestureRecognizer
- 1.6 Swift:Example of fetching messages from Parse
- 1.7 Swift:Auto Table Row Height
- 1.8 Swift:Navigation between storyboards
- 1.9 Swift:Notification Observer Using NSNotificationCenter
- 1.10 Swift:Get Raw Histogram from CGImage
- 1.11 Swift:UIGraphics Drawing on UIView
- 1.12 Swift:UIGraphics Scale Down CGImage
- 1.13 Swift: Convert between CGImage, CIImage and UIImage
- 1.14 Swift:Detect Volumn Button Press
- 1.15 Swift:NSTimer scheduledTimerWithTimeInterval
Swift Code Snippts
Back To IOS_Swift
Swift: Use NSUserDefaults to Store Persistence Data
Swift: Making Network Request Using NSURLConnection
Swift:Use AFNetworking setImageWithURL
Swift:Using UIRefreshControl
Swift:Using UIGestureRecognizer
Swift:Example of fetching messages from Parse
https://gist.github.com/sandofsky/7134b1ff90d235901254