Working with NSString and Foundation Types
Master Objective-C's core Foundation classes — NSString, NSArray, and NSDictionary — to handle text and collections in legacy iOS apps.
The Foundation Framework
Beyond primitives, Objective-C leans on the Foundation framework for rich objects — most often NSString, NSArray, and NSDictionary.
Creating NSStrings
The @ literal builds an NSString — a full object with many helper methods, unlike a bare C string.
NSString *name = @"Ada Lovelace";
NSLog(@"Name: %@", name);All lessons in this course
- Introduction to Objective-C
- Basic Syntax and Data Types
- Setting Up Xcode for Objective-C
- Working with NSString and Foundation Types