(created) |
(No difference)
|
Revision as of 00:51, 7 March 2010
UIKit (iPhone OS) vs. AppKit (Mac OS X)
UIKit | AppKit | Notes |
---|---|---|
UIApplication | NSApplication | Singleton, Access to Main Application Object & App-Delegate |
UIScreen | NSScreen | |
UIWindow | NSWindow | |
UIView | NSView | Every visible object is a subclass of (or inside) a view |
UIViewController | NSViewController | ViewController, see MVC: Model-View-Controller Design Pattern |
UITabBarController UITableViewController |
n/a | |
UILabel UITextField |
NSTextField | |
UITextView | NSTextView | |
UIPickerView UIDatePicker |
n/a | |
UIProgressView UIActivityIndicatorView |
NSProgressIndicator | eg. "Loading..." Indicator or Wheel |
UIImageView UIImage |
NSImageView NSImage |
|
UIScrollView | NSScrollView | |
UITableView UITableViewCell |
NSTableView NSCell |
|
UINavigationBar UINavigationItem |
n/a | |
UITabBar | n/a | black tab bar at the bottom |
UIToolBar UIBarItem |
NSToolbar | |
UISearchBar UISearchDisplayController |
n/a | |
UIActionSheet UIAlertView |
NSSheet NSAlertView |
|
UIWebView | see WebKit | |
UIControl: UIButton |
NSControl: NSButton |
|
UIResponder | NSResponder | Event Management (Touches, First Responder - eg. for TextInput) |
UIEvent | NSEvent | eg. Touches or Clicks |
UIFont | NSFont | |
UIColor | NSColor | |
UIPasteboard | NSPasteboard | |
UITouch UIDevice |
n/a |
Resources
Diese Seite ist Teil des Werkmoduls iOS Development von Michael Markert für Interface Design / Fakultät Medien an der Bauhaus-Universität Weimar.