Compiled Chronicles

A software development blog by Angelo Villegas

Category: macOS

  • iOS: NSLayoutConstraint

    With the release of Xcode 5 and iOS 7 the need to learn, understand, and use auto layout increased. Auto layout were introduced in iOS 6.0; with auto layout, it is easier to design the interface for multiple screen sizes and also for multiple languages (e.g., Arabic, Japanese, Chinese, etc…). It’s not hard to design a user interface for a screen that is always guaranteed to be the same size and…

  • NSDate & NSDateFormatter

    One of the commonly used classes in building iOS apps are the NSDate (which allows us to deal with dates) and, of course, NSDateFormatter (which allows us to format the date and time to be printed). It is very likely that somewhere in your app, you may need to work with a lot of dates…