Search code examples
iosuiapplicationnsapplication

NSApplication vs UIApplication


What Is the difference between UIApplication and NSApplication? (As I am not getting it from their documentation...)
Can someone give me some useful links for detailed explanation about their differences?
Also, What is the key role of AppNameAppDelegate.m (and .h) in iOS Application?
Thank You.


Solution

  • UIApplication is the iOS singleton application base class. NSApplication is the MacOS application base class.

    Look at this for a more detailed exploration on delegation and the implementations of UIApplication and NSApplication.