摘要: gh 阅读全文
posted @ 2014-02-10 10:33 万有引用 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 灰色背景的类只在OS X中支持。NSObject// Value ObjectsNSAffineTransformNSCalendarNSCacheNSDataNSMutableDataNSPurgeableDataNSDateComponentsNSDecimalNumberHandlerNSLocaleNSNullNSTimeZoneNSValueNSNumberNSDecimalNumberNSValueTransformer// XMLNSXMLParser// StringsNSCharacterSetNSMutableCharacterSetNSStringNSMutableStr 阅读全文
posted @ 2013-08-27 17:30 万有引用 阅读(278) 评论(0) 推荐(0) 编辑
摘要: NSObjectUIAccelerationUIAccelerometerUIAccessibilityElementUIBarItemUIBarButtonItemUITabBarItemUIBezierPathUIColorUIDeviceUIDocumentInteractionControllerUIEventUIFontUIGestureRecognizerUILongPressGestureRecognizerUIPanGestureRecognizerUIPinchGestureRecognizerUIRotationGestureRecognizerUISwipeGesture 阅读全文
posted @ 2013-08-27 16:53 万有引用 阅读(411) 评论(0) 推荐(0) 编辑
摘要: 应用程序和多任务用户界面DataGlobalization & LocalizationConcurrencyCommunicationMediaGraphics & Animations 阅读全文
posted @ 2013-08-27 14:57 万有引用 阅读(154) 评论(0) 推荐(0) 编辑
摘要: Cocoa是OS X和iOS操作系统的应用程序环境。它由面向对象类库、运行时和集成开发环境组成。The Cocoa EnvironmentCocoa是一个面向对象框架集,为OS X和iOS应用程序提供了一个运行时环境。Cocoa是OS X上一个出众的应用程序环境,并且是iOS上唯一的应用程序环境。Introducing Cocoa与所有应用程序环境一样,Cocoa有运行时和开发两个方面。在运行时方面,Cocoa应用程序展示用户界面,并且与操作系统其它可视化组件紧密集成;如在OS X中,这些应用有Finder,Dock及其它应用程序。但是,程序员更感兴趣的是开发方面。Cocoa提供了一个类库用于 阅读全文
posted @ 2013-08-21 15:39 万有引用 阅读(387) 评论(0) 推荐(1) 编辑
摘要: 原文:https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/CocoaFundamentals/Introduction/Introduction.html“What Is Cocoa?” introduces Cocoa from a functional and broadly architectural perspective, describing its features, frameworks, and development environment.从功能性和大体架构的角度描述Cocoa的各种 阅读全文
posted @ 2013-08-21 12:58 万有引用 阅读(258) 评论(0) 推荐(0) 编辑
摘要: Creating Navigation Controllers–initWithRootViewController:–initWithNavigationBarClass:toolbarClass:Accessing Items on the Navigation StacktopViewControllerpropertyvisibleViewControllerpropertyviewControllersproperty–setViewControllers:animated:Pushing and Popping Stack Items–pushViewController:anim 阅读全文
posted @ 2013-08-12 16:40 万有引用 阅读(203) 评论(0) 推荐(0) 编辑
摘要: iOS程序是基于MVC设计模式的,UIViewController是Controller的基类,一般我们通过继承这个类来实现自己的Controller,框架为我们提供了一些定义好的子类,如UINavigationController,UITabbarControllerCreating a View Controller Using Nib Files–initWithNibName:bundle:nibNamepropertynibBundlepropertyUsing a Storyboard–shouldPerformSegueWithIdentifier:sender:–perform 阅读全文
posted @ 2013-08-12 12:53 万有引用 阅读(693) 评论(0) 推荐(0) 编辑
摘要: UIDatePicker,日期选取器typedef NS_ENUM(NSInteger, UIDatePickerMode) { UIDatePickerModeTime, // Displays hour, minute, and optionally AM/PM designation depending on the locale setting (e.g. 6 | 53 | PM) UIDatePickerModeDate, // Displays month, day, and year depending on the local... 阅读全文
posted @ 2013-08-12 12:39 万有引用 阅读(391) 评论(0) 推荐(0) 编辑
摘要: UIPickerView,使用UIPickerViewDataSource来配置数据,UIPickerViewDelegate来控制内容。@interface UIPickerView : UIView @property(nonatomic,assign) id dataSource; // default is nil. weak reference@property(nonatomic,assign) id delegate; // default is nil. weak reference@property(nona... 阅读全文
posted @ 2013-08-12 12:36 万有引用 阅读(400) 评论(0) 推荐(0) 编辑