
Explore the world of Objective-C, its integration with Xcode and iOS frameworks, and learn to use it to build apps with a rewarding, productive development environment.
Explore Xcode 5's real-time syntax checks, fix-it suggestions, and integrated tests, and learn how iOS 7 and Mavericks refine interfaces to put content first.
Explore the Xcode workspace window, view preferences and text editing features like line numbers and code folding, and use standard and assistant editors to view two files.
Explore the project navigator in Xcode to manage files, groups, and editors, switch between text and storyboard files, and use symbol, search, and issue navigators to build and debug efficiently.
Explore the utility area in Xcode, using the library to add file templates, code snippets, interface objects, and media, while managing the project navigator and inspectors.
Explore Xcode inspectors for documentation lookup, class references, and quick help as you work. Manage project files, locate missing items, and configure file paths with group, project, or absolute references.
Edit code in Xcode with the editing and navigation areas, using a toggleable utility panel. Use templates, watch for duplicate declarations, and fold to catch missing brackets or quotes.
Master advanced editing features in Xcode with real-time code completion, inline warnings, and paired bracket highlighting as you type, while learning to spot errors and use the issue navigator.
Master finding and replacing across files and projects in Xcode using Cmd+F, Find, Replace, and the search navigator to filter by case, containing, and patterns.
Navigate your Xcode project quickly with the jump bar, drilling down into groups, files, and methods, and organize code with pragmas for clear structure.
Explore how to initialize a local git repository in Xcode, track changes, commit updates with messages, and view history to manage source code effectively.
Learn to manage code changes with Git in Xcode, including creating branches, adding files, committing, discarding changes, and merging branches to safely develop new UI components.
Explore Xcode preferences in the general tab, adjust indentation and fonts, and customize syntax highlighting styles. Review source control options and stored Apple IDs, signing identities, and provisioning profiles.
Explore writing Objective-C with a master-detail application template in Xcode, building an iPhone/iPad project that uses Core Data, code signing, and creating objects with timestamps across master and detail views.
Explore how Objective-C sends messages to objects, distinguishing header and implementation, public and private methods, and how app delegates use save context to the application documents directory, returning NSURL objects.
Explore properties and declarations in Objective-C 2.0, including the interface, ivars, and declared properties, and see how Xcode warnings, capitalization, and core data stack influence code in the .m file.
Learn how properties encapsulate instance variables using decorators to control access, memory, and synthesis; see how backing variables and ivars behind the scenes relate to old and modern Xcode templates.
Set up an iOS master-detail project in Xcode, configure bundle identifiers and optional two-letter prefixes, choose universal templates, and examine header and implementation files, storyboards, main.m, and supporting files.
Explore class interfaces by inspecting header (.h) files, understand @interface declarations, super class, and protocol conformance to UIApplicationDelegate, including required methods and delegates.
Explore the structure of objective-c class implementations by inspecting .m files, headers, and class extensions, including private interfaces versus public ones in the app template.
Explore how #import brings in frameworks in header files to avoid duplicates and how forward references let you use DetailViewController before its header is included.
Create an Objective-C class in Xcode, generating the .h and .m files, choosing a subclass like NSObject or a view controller, and noting group versus folder placement.
Learn to create a class instance by allocating with alloc, initializing with init, and step through the process using breakpoints and the debug area during did finish launching with options.
Explore how properties connect to backing ivars via synthesize directives, and note that the managedObjectContext property uses an underscore-prefixed ivar by default in modern Xcode.
Examine memory management in object-oriented programming by exploring property decorators and lifetime qualifiers, including strong and weak references in a Core Data template.
Explore why memory life cycle issues require memory management and automatic reference counting to prevent memory reuse conflicts in objects.
Explore how Xcode's automated code tools streamline building a universal iOS utility app with an Objective-C template, configuring a unique bundle identifier via reverse-domain naming.
Build and run the app in Xcode, choose schemes and simulators (iPhone retina and iPad), launch the simulator, and verify rotation and the info button shows consistent data.
Build a primitive iPhone interface with storyboard and controls, including a label and text field, linked to code. Explore segues with a horizontal flip between front and back views.
Learn to build the iPad interface with the storyboard and pop-over, adding a label, text field, and a 'show me the date' button, and test on iPad and iPhone.
Connect graphical elements from interface builder to code using Xcode's assistant editor, creating outlets and actions that wire up the interface to the header and implementation files.
Wire the iPhone and iPad interfaces by linking the main and flip side view controllers, using navigation on iPhone and a pop-over on iPad, and connect across both storyboards.
Connect the iPad's show me action to populate the text field with today's date using NSDate and description, then view the flip side controller over the main interface.
Capture today's date as a string with a button in main view controller and pass it via a storyboard segue to flipside view controller to display in a text field.
Explore collection classes in Objective-C, including arrays, sets, and dictionaries, and learn to create and iterate them. Review Xcode documentation and examine NSArray and NSDictionary to understand basic operations.
Explore NSArray, arrays, dictionaries, and sets in Objective-C, and learn how to store objects and retrieve them by index or key within the foundation framework.
Understand immutable versus mutable collections in Objective-C, including NSArray, NSDictionary, and NSSet, and their mutable subclasses, plus the efficient pattern of copying to modify and recopy.
Learn how Objective-C object literals convert quoted strings to NSString with @, and create numbers with @17, using class methods like numberWithInt or literal syntax.
Create arrays and dictionaries on the fly using Objective-C literals (@ and square brackets), combining NSString and NSNumber objects, while noting NSSets require manual creation.
Explore sets and property lists, converting sets to arrays, enumerating elements, and testing membership and counts. See how an info.plist dictionary stores strings, arrays, and sets to manage data efficiently.
Learn debugging with breakpoints to pause execution and inspect variable values in a universal iOS master-detail app built in Xcode, and observe detail view updates as you select items.
Set breakpoints in the master view's insertNewObject method by clicking the breakpoint gutter. Run on the iPad simulator, rotate the device, and inspect variables as the app hits the breakpoint.
Explore the debugger's auto-setting area to inspect variables and messages, view memory locations, and check for nil values while stopped at a break point in a master view controller.
Explore editing and managing breakpoints in Xcode: view, disable, delete, and edit breakpoints, set conditions for loop iterations, and log or speak messages while continuing automatically.
Explore how to use breakpoints, step through code one line at a time, inspect variables and arrays, and manage breakpoints to trace object creation in Xcode.
Master debugging with breakpoints by turning a demonstration into practical logging, displaying information about variables such as NSIndexPath, and using fix-its to resolve type errors and refine logs.
This lecture explains how Objective-C solves multiple inheritance using delegates and protocols, showing how to define and adopt protocols to assemble a class from features across the framework.
Explore how a detail view controller adopts the UI split view controller delegate protocol to manage showing and hiding view controllers and rotation settings within a split view template.
Explore protocols and delegates in Objective-C, using optional methods in UISplitViewController, declare a delegate property, adopt the protocol, and connect the delegate to manage master view visibility by orientation.
THIS COURSE IS NOW UPGRADED FOR iOS7
In this Objective-C programming training course expert author will teach you how to leverage the technologies that Objective-C, Xcode and the Apple Frameworks have to offer. This course focuses on the Objective-C programming language, utilizing Xcode and Frameworks wherever necessary to build your App.
You start the tutorial with a review of the Xcode interface, and how you are going to use it to build your Objective-C project. Jesse teaches you what Objective-C is, and the structure of an Objective-C App. Throughout this video tutorial you will learn about using declared properties and instance variables, how to manage memory, creating and working with classes, and how to use the debugger effectively. You will explore protocols and delegates, using blocks, handling exceptions, using selectors and much more!
Once you have completed this computer based training course on Objective-C programming, you will understand how to write Objective-C code, how to utilize provided Apple Frameworks and how to use Xcode to build your App.