Compiled Chronicles

A software development blog by Angelo Villegas

Category: iOS

  • iOS: Data Protection

    iOS is based on the same core technologies as OS X, and benefits from years of hardening and security development. According to Apple’s iOS Security Guide, iOS security can be viewed in four layers: iOS devices provide full hardware encryption of all data stored on the device. The System architecture includes both software and hardware used to protect files…

  • iOS: UIPasteboard, UIMenuController & UIMenuItem

    There are times that you need to copy and paste items on your device, few words won’t be a problem but several paragraphs will. UIPasteboard is a built-in class that allows you to copy items to the pasteboard in iOS and paste it somewhere else. A user then selects an item (e.g., words, images, etc…) from any field where text and images are…

  • 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…