Sunday 4 October 2015

iOs app development xcode6 and swift

Creating tabs:
https://www.youtube.com/watch?v=d1_X0DQdY8o

Dropdown menu:
https://www.youtube.com/watch?v=aj92JFosapk

Creating slider:
https://www.youtube.com/watch?v=jJA9UCbcos0

Sample code fo JSON:
--------------------------
import Foundation

var error: NSError?
//let jsonData: NSData = /* get your json data */
let jsonData = NSData.dataWithContentsOfFile(filepath, options: .DataReadingMappedIfSafe, error: nil)

let jsonDict = NSJSONSerialization.JSONObjectWithData(jsonData, options: nil, error: &error) as NSDictionary

Horizantal scrolling:
------------------------
http://www.raywenderlich.com/4723/how-to-make-an-interface-with-horizontal-tables-like-the-pulse-news-app-part-2
http://devblog.orgsync.com/2013/04/26/creating_scrolling_filmstrip_within_uitableview/
http://www.brianjcoleman.com/tutorial-collection-view-using-swift/
http://www.appcoda.com/uiscrollview-introduction/



Table view:
https://www.youtube.com/watch?v=pR6dR-vVZeY

Custom cell:
http://stackoverflow.com/questions/25999759/custom-table-view-cell-with-swift-in-xcode-6

Adding image to cell:
http://stackoverflow.com/questions/24094644/adding-an-image-into-a-cell

Segue from UIImage to view controller:
http://stackoverflow.com/questions/28647242/segue-ui-image-to-viewcontroller-with-swift

Table view example:
http://www.theappguruz.com/blog/ios-table-view-tutorial-using-swift

Create popover:
https://www.youtube.com/watch?v=j5XFMpXLwZQ

Suggested by Vignesh:
https://developer.apple.com/library/ios/documentation/ToolsLanguages/Conceptual/Xcode_Overview/DesigningwithStoryboards.html#//apple_ref/doc/uid/TP40010215-CH43-SW1


http://makeapppie.com/2014/08/04/the-swift-swift-tutorial-why-do-we-need-delegates/#comment-15424
http://stackoverflow.com/questions/12993212/segmented-control-on-top-of-a-table-view-not-in-the-title-view-though


layer.cornerRadius          Number    10
layer.masksToBounds     Boolean    tick

popover:
----------
http://stackoverflow.com/questions/27353691/uipopoverpresentationcontroller-displaying-popover-as-full-screen

Exporting app:
------------------
http://bouk.co/blog/sideload-iphone/
http://www.idownloadblog.com/2015/09/18/how-to-compile-apps-using-xcode-7-to-run-on-a-non-jailbroken-device/