Разработка мобильных приложений под iOS

  • Published on
    22-Jul-2015

  • View
    97

  • Download
    3

Transcript

?, , , :1. 2. 3. , ! :1. 2. 3. 4. iOS1. 2. 3. 4. 5. $$$6.: Objective C (99$) Objective-C 1. Objective-C 80-x Smalltalk. 2. 1988 NeXT Objective-C3. 1996 Apple NeXT Objective-C Mac OS. IDE Xcode, GUI Interface Builder.4. 2007 Objective-C iPhone OS, Objective-C NS: NeXTSTEP , NeXT . Objective-C1.-2. 3. ++ (Objective-C++)4.-5. (Automatic Reference Count)6. , NullPointerException ( if (object != NULL ) ) XCode ( ). 6.1.1. :1. Mac Mac OS X Yosemite 10.102. ( ) ( ) Objective-C *.h *.m *.h (Extension) *.m *.h *.mProtected ! - Java C# id Objective-Cid , void * ( Objective-C isa , ), nil1. null 2. , 3. nil4. 05. Objective-C ARC (Automatic Reference Counter). Garbage Collector, , ARC / , retain/release. ARC?1. init 12. retain ,release .3. , retainatomic nonatomicstrong weakreadwrite readonlygetter= setter=copy assignretain unsafe_unretained1. myLocalVariable2. myProperty3. MyClass4. doSomethingWithObject:(MyClass *)object fromObject:(MyClass *)fromObject;5. _myLocalVariable ?https://developer.apple.com/library/ios/navigation/ Objective-C. iOS Mac OS

Recommended

View more >