Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udacity

Grand Central Dispatch (GCD)

via Udacity

Overview

Many times your apps need to run lengthy operations in the background, like downloading data, but you don't want these operations to interfere with your UI.

Apple's GCD (long form: Grand Central Dispatch) framework allows you to create asynchronous apps for iOS, ensuring smooth a smooth user experience in situations like the one mentioned above.

Syllabus

  • Closures Reloaded
    • Closures in Swift,Properties of closures that we bypassed in our Swift Syntax course
  • Grand Central Dispatch
    • Apple's open source library Grand Central Dispatch,How GCD allows you to send tasks to the background and (equally important) to the foreground,How and what you can send to the background and what must always run in the foreground
  • Sample App
    • Create a simple App that downloads huge images (the easiest way to block the UI),Send this network lengthy task to the background in 2 different ways,Run closures in the background,Design methods that take a completion closure

Taught by

Fernando Rodríguez

Related Courses

Reviews

Start your review of Grand Central Dispatch (GCD)

Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free