Skip to content

bgayman/WWAdvancedOperations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WWAdvancedOperations

Updated sample code from WWDC 2015 session "Advanced NSOperations". Old code was written before the great re-naming and putting it through swift translator caused numerous errors. Also, the original sample code used Operation as its base class but because swift 3.0 naming changes renamed NSOperation as Operation this made for awkward name spacing. What the original project was called Operation is called BaseOperation in this project, OperationQueue is now BaseOperationQueue, etc.

The sample code shows how to do a number of great things with operations, including how to make group and mutially exclusive operations, as well as add conditions to operations which can be useful in error and permissions handling.

While I updated some of the CoreData code, the notifications code does not use the new UserNotifications framework

Getting location wasn't working for me in the simulator, perhaps I have the wrong permissions key in Info.plist

Screenshot

About

Updated sample code from WWDC 2015 session "Advanced NSOperations"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages