Skip to content

This Xcode 9 project demonstrates concurrency in iOS using Grand Central Dispatch (GCD) and compares concurrent (asynchronous) queues and serial (synchronous) queues.

License

Notifications You must be signed in to change notification settings

iosbrain/Concurrency-Starter-for-Swift-4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Concurrency Starter for Swift 4

This Xcode 9 project demonstrates concurrency in iOS using Grand Central Dispatch (GCD) and compares concurrent (asynchronous) queues and serial (synchronous) queues.

The Swift language migration wizard was used to convert this project to Swift 4. (In Xcode, see the "Edit" menu -> "Convert" -> "To Current Swift Syntax..."). The original project was created in Xcode 8.2.1 with Swift 3.

Here's this app in action:

alt text

Xcode 9 project settings

To get this project running on the Simulator or a physical device (iPhone, iPad), go to the following locations in Xcode and make the suggested changes:

  1. Project Navigator -> [Project Name] -> Targets List -> TARGETS -> [Target Name] -> General -> Signing
  • Tick the "Automatically manage signing" box
  • Select a valid name from the "Team" dropdown
  1. Project Navigator -> [Project Name] -> Targets List -> TARGETS -> [Target Name] -> General -> Identity
  • Change the "com.yourDomainNameHere" portion of the value in the "Bundle Identifier" text field to your real reverse domain name (i.e., "com.yourRealDomainName.Project-Name").

Releases

No releases published

Packages

No packages published

Languages