What the framework does

I think poeple are usually compare the difference between framework and libraries.

For my point of view,

A modern framework not only provides a set of useful libraries but also provides the callbacks for putting hooks on the necessary place and a MVC model for developers to develop it.

A framework is a must to separate of concerns which can ease the complexity of design.

Libraries are more like external API, we just use it, call it.

Why you’re interested in the framework

To learn a language is relatively easy for me now.

But a framework will take maybe 5 times or more to learn it.

You need to understand the live cycle, callbacks, components, and some memory issues and multi-threading issues behind the hood.

It’s a hard way in the beginning.

However once you get familiared with a framework.

It can shorten the time of developing products with a good quality and make your project structure in a elegant way.

A brief summary of how the framework is used

It depends on what kind of features does your app need.

When it comes to develop an iOS app, at least, you will need cocoa touch framework to provide basic UI components and Standard system view controllers to provide a blue-print for the entry.

If you need to swap files among iOS/macbooks devices, you might need to AirDrop framework.

If there is a PUB-SUB message flow within your service, you might need Push notification framework to help you make the feature.

Summary of iOS frameworks

Cocoa Touch Layer

Cocoa Touch is a collection of frameworks which are providing appearance (UI) for our app and multi-tasking, touch-based input, push notifications.

Standard system view controllers

  • Display or edit contact information: pick a ctrl from Address Book UI framework.

  • Compose an email or SMS: pick a ctrl from message ui fk.

  • Open or preview the contents of a file: Use the UIDocumentInteractionController class


  • Handoff is a feature to enable user can migrate their tasks from one device(iPhone) to another device(maybe Mac).

Handoff makes this experience as seamless as possible.

Of course, to use it you need to study its official API.

Document picker

Enable user can access files outside from the current app.

Simple mechanism for sharing documents within apps.


Share photos, documents, URLs with nearby devices.


Textkit a full-featured to organize paragraphs, columns, …

  • comments: well, I prefer to keep content as simple as possible. Too much fexlibility will harm the reading experience. eg. I like the philosophy of Medium


If you want to do some tasks after the app is switched to the backgorund. You need to use it to enable your app can work in the backgorund.

Auto layout

Help you build dynamic interfaces with little code.

Comment: I hate to layout components with storyboard. It should be done with some css-similar syntax


A way to defin segues which are transitions from one view CTRL to another. These transitions allow you to captire the flow of UI in addition to the content.

UI State preservation

It can restore the last time App’s state. Provide a good user experience.

Apple push notification services

To alert user notifications.

  • The app muse request the delivery of notifications and process the notification content once it’s delivered.
  • Provide a server-side process to generate the notifications in the first place.

Comment: I’ve done thise before, but only on Rubymotion toolchain.

Local notification.

The notifications coming from the app itself. you can schedule it.

Gesture Recognizers



  • Address Book UI Framework: contacts-related events
  • EventKit : calendar-related events
  • MapKit
  • Message UI
  • GameKit, iAD,