Join Simon Allardice for an in-depth discussion in this video Step three: Making the connection, part of iOS App Development Essential Training.
…The Photos Table View Controller needs to be…able to hold a reference to several photo objects,…and I'm going to do that all in code…rather than loading them in from some external file.…We'll load in the photos, but they're already saved in our asset catalogue.…So I'm going to jump to the implementation file for the Photos Table View Controller.…And up towards the top here, I'm going to create an array that can actually hold…these photo objects.…So I'll put some curly braces just after my @sign…interface, the class extension to make these just private instance variables.…
This'll just be a mutable array that we can add different objects to.…And while we're going to hold an array of…photo objects in the table view, we'll need to be…able to pass single photo objects, first to the…Display View Controller, and then to the Info View Controller.…So, what I'm going to do is just jump first into the display view…controller header file and inside its interface…part because this does need to be public.…I'm going to add just a reference to something called current photo.…
Author
Released
12/19/2013- Using Xcode and the iOS Simulator
- Learning Objective-C basics and structure
- Creating objects, variables, properties, and custom classes
- Connecting UI elements to code
- Using delegation
- Using the Xcode debugger
- Creating and customizing table views
- Exploring storyboards
- Introducing blocks
- Saving and loading data
- Understanding the differences in iPad development
- Creating iPad apps with popovers and split views
- Adding application icons and launch images
Skill Level Beginner
Duration
Views
Related Courses
-
iOS 7 App Development New Features
with Simon Allardice2h 14m Intermediate
-
Introduction
-
Welcome59s
-
What you should know3m 59s
-
-
1. Getting Started
-
Creating a simple iOS app9m 30s
-
2. Using the Tools
-
Introduction to Xcode 58m 39s
-
Using the iOS Simulator4m 7s
-
-
3. Objective-C Refresher
-
Objective-C basics2m 36s
-
Objective-C structure4m 3s
-
Creating primitive variables1m 56s
-
Using pointers2m 14s
-
Messages and methods6m 37s
-
Object creation3m 34s
-
Using existing classes7m 41s
-
Creating custom classes8m 1s
-
Adding properties6m 21s
-
-
4. Core iOS Project Skills
-
Creating basic interaction12m 2s
-
Dismissing the keyboard5m 26s
-
Understanding delegation4m 58s
-
Alerting the user5m 6s
-
5. Diagnosing Issues
-
Using the Xcode Debugger6m 22s
-
6. iOS View Controllers
-
Creating iOS UI7m 21s
-
Using a date picker control5m 35s
-
Loading data into controls10m 7s
-
Responding to selection5m 38s
-
-
7. Using Table Views
-
Reusing table view cells4m 56s
-
Customizing table views6m 10s
-
8. Apps with Multiple View Controllers
-
Deconstructing a utility app6m 31s
-
Using navigation controllers2m 54s
-
9. Using Storyboards
-
Exploring storyboards3m 15s
-
-
10. Blocks and Concurrency
-
11. iPad Development
-
iPad-specific UI elements2m 44s
-
12. Finishing Touches
-
Adding launch images6m 39s
-
Adding iOS app icons4m 23s
-
Next steps2m 58s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Step three: Making the connection