Categories

Archive

ObjectiveSugar

  Write Objective C like a boss. A set of functional additions for Foundation you wish you’d had in the first place. https://github.com/supermarin/ObjectiveSugar  

Categories

NSDATE to String (international)

 

Categories

Swift tableview

  Follow the protocols on your Controller:UIResponder, UIApplicationDelegate func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell func tableView(tableView: UITableView, didDeselectRowAtIndexPath indexPath: NSIndexPath) Add a TableView on storyboard Add a TableViewCell inside the Read more ›

Categories

Swift Property Observers

source: stackoverflow and http://www.codingexplorer.com/swift-property-observers/ The point of the willSet and didSet keywords seem to be that it is possible to create a property with automatic storage that will still do something before or after it is set. willSet comes with a constant parameter Read more ›

Categories

creating a VIEW programmatically (swift)

 

Categories

How i hide the status bar in swift

source: stackoverflow You really should implement prefersStatusBarHidden on your view controller(s)

   

Categories

USING VECTOR IMAGES IN XCODE 6

source here:  (by  CORY BOHON  SEPTEMBER 17, 2014) iOS applications are an image-driven species. When developing an app, you need icons in various sizes, Default.png images in different sizes, and also @1x and @2x images for each image file inside the Read more ›

Categories