From the course: iOS Development: Architecture
Unlock the full course today
Join today to access over 22,500 courses taught by industry experts or purchase this course individually.
Optimizing for performance
From the course: iOS Development: Architecture
Optimizing for performance
- [Instructor] Premature optimization is the root of all evil, yet, checking the efficiency of our code should be part of the development process. Revealing hidden issues early on prevents them from spreading further. I've gone ahead and created a project called CalendarDEmo. You can find the project in the exercise files folder, chapter eight, folder 0803, begin. First, let me show you the application. The app generates a list of dates and displays them in the table view. The UI is simple and we see no issues. The scrolling is smooth and that's the entire functionality of this app. Now let's go back to Xcode. We're going to analyze the performance of this app using instruments. I click product, profile. From the template chooser, we'll pick the time profiler. This lets us collect and analyze performance data. We start measuring the performance of our app by pressing the record button in the upper left corner. The application has started. I'm going to scroll the table view. And I keep…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.