jagomart
digital resources
picture1_Hello World Pdf 190525 | Objective C Language


 143x       Filetype PDF       File size 1.72 MB       Source: riptutorial.com


File: Hello World Pdf 190525 | Objective C Language
objective c language objective c table of contents about 1 chapter 1 getting started with objective c language 2 versions 2 examples 2 hello world 2 compiling the program 3 ...

icon picture PDF Filetype PDF | Posted on 03 Feb 2023 | 2 years ago
Partial capture of text on file.
  Objective-C Language
           #objective-c
     Table of Contents
     About                                                    1
     Chapter 1: Getting started with Objective-C Language     2
      Versions                                                2
      Examples                                                2
       Hello World                                            2
       Compiling the program                                  3
     Chapter 2: Basic Data Types                              4
      Syntax                                                  4
      Examples                                                4
       BOOL                                                   4
       id                                                     4
       SEL                                                    5
       IMP (implementation pointer)                           6
       NSInteger and NSUInteger                               7
     Chapter 3: Blocks                                        9
      Syntax                                                  9
      Remarks                                                 9
      Examples                                                9
       Blocks as Method Parameters                            9
       Defining and Assigning                                 10
       Blocks as Properties                                   10
       Block Typedefs                                         10
       Blocks as local variables                              11
     Chapter 4: BOOL / bool / Boolean / NSCFBoolean           12
      Examples                                                12
       BOOL/Boolean/bool/NSCFBoolean                          12
       BOOL VS Boolean                                        12
     Chapter 5: Categories                                    14
      Syntax                                                  14
      Remarks                                                 14
           Examples                                                                                                             14
              Simple Category                                                                                                    14
              Declaring a class method                                                                                           14
              Adding a property with a category                                                                                  15
              Conforming to protocol                                                                                             15
              Create a Category on XCode                                                                                         16
         Chapter 6: Classes and Objects                                                                                         19
           Syntax                                                                                                               19
           Examples                                                                                                             19
              Creating classes with initialization values                                                                        19
              Singleton Class                                                                                                    19
              The "instancetype" return type                                                                                     21
              Specifying Generics                                                                                                21
              Difference between allocation and initialization                                                                   22
         Chapter 7: Continue and Break!                                                                                         23
           Examples                                                                                                             23
              Continue and Break Statement                                                                                       23
         Chapter 8: Declare class method and instance method                                                                    25
           Introduction                                                                                                         25
           Syntax                                                                                                               25
           Examples                                                                                                             25
              How to declare class method and instance method.                                                                   25
         Chapter 9: Enums                                                                                                       27
           Syntax                                                                                                               27
           Examples                                                                                                             27
              Defining an enum                                                                                                   27
              typedef enum declaration in Objective-C                                                                            27
              Converting C++ std::vector to an Objective-C Array                                                                 28
         Chapter 10: Error Handling                                                                                             30
           Syntax                                                                                                               30
           Examples                                                                                                             30
              Asserting                                                                                                          30
          Error & Exception handling with try catch block                                        30
       Chapter 11: Fast Enumeration                                                             32
         Examples                                                                               32
          Fast enumeration of an NSArray                                                         32
          Fast enumeration of an NSArray with index.                                             32
       Chapter 12: Format-Specifiers                                                            33
         Introduction                                                                           33
         Syntax                                                                                 33
         Remarks                                                                                33
         Examples                                                                               34
          Integer Example - %i                                                                   34
       Chapter 13: Grand Central Dispatch                                                       35
         Introduction                                                                           35
         Examples                                                                               35
          What is Grand central dispatch.                                                        35
       Chapter 14: Inheritance                                                                  36
         Syntax                                                                                 36
         Examples                                                                               36
          Car is inherited from Vehicle                                                          36
       Chapter 15: Key Value Coding / Key Value Observing                                       38
         Examples                                                                               38
          Most Common Real Life Key Value Coding Example                                         38
          Key Value Observing                                                                    38
          Querying KVC Data                                                                      40
          Collection Operators                                                                   40
       Chapter 16: Logging                                                                      44
         Syntax                                                                                 44
         Remarks                                                                                44
         Examples                                                                               44
          Logging                                                                                44
          NSLog vs printf                                                                        44
The words contained in this file might help you see if this file matches what you are looking for:

...Objective c language table of contents about chapter getting started with versions examples hello world compiling the program basic data types syntax bool id sel imp implementation pointer nsinteger and nsuinteger blocks remarks as method parameters defining assigning properties block typedefs local variables boolean nscfboolean vs categories simple category declaring a class adding property conforming to protocol create on xcode classes objects creating initialization values singleton instancetype return type specifying generics difference between allocation continue break statement declare instance introduction how enums an enum typedef declaration in converting std vector array error handling asserting exception try catch fast enumeration nsarray index format specifiers integer example i grand central dispatch what is inheritance car inherited from vehicle key value coding observing most common real life querying kvc collection operators logging nslog printf...

no reviews yet
Please Login to review.