Contents
Objective-C
- Introduction to Objective-C
Characteristics of Objective-C
- Data Types in Objective-C
- Variables in Objective-C
- Types of Operators
- Types of Loops
- Types of Blocks
- Defining classes and objects
- Instance variables and properties
- Accessor methods (getters and setters)
- Creating subclasses
- Method overriding
- Using
super
to access parent class methods - Dynamic typing and polymorphism
- Manual reference counting
- Automatic Reference Counting (ARC)
- Strong and weak references
- Implementing protocols
- Extending classes with categories
- Using
NSError
for error reporting - Exception handling (
@try
,@catch
,@throw
,@finally
)
- Defining and using blocks (closures)
- Passing blocks as arguments
- Capturing variables in blocks
- Common classes (
NSArray
,NSDictionary
,NSSet
) - Working with dates and times (
NSDate
,NSDateFormatter
) - Using
NSURL
for URL handling
- Introduction to Cocoa and Cocoa Touch frameworks
- Model-View-Controller (MVC) architecture
- Building a simple iOS/macOS app
- Bridging between Objective-C and Swift
- Using Objective-C code in Swift projects
- Using Swift code in Objective-C projects
Related Chapters
- Overview in Objective-C
- Variables and Data Types
- Operators
- Loops
- Functions
- Blocks
- Numbers
- Arrays
- Pointers
- Strings
- Structures
- Preprocessors
- Typedef
- Type Casting
- Error, Log, and File Handling
- Command Line Arguments
- Classes and Objects
- Classes and Objects
- Inheritance
- Data Encapsulation
- Categories
- Posing
- Extensions
- Dynamic Binding
- Composite Objects
- Foundation Framewprk