Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Modern Core Data(iOS 10)

Noritaka Kamiya
September 28, 2016

Modern Core Data(iOS 10)

Noritaka Kamiya

September 28, 2016
Tweet

More Decks by Noritaka Kamiya

Other Decks in Programming

Transcript

  1. let request: NSFetchRequest<Message> = Message.fetchRequest() let asyncRequest = NSAsynchronousFetchRequest<Message>(fetchRequest: request)

    { result in let messages = messages = result.finalResult ?? [] } try! managedObjectContext.execute(asyncRequest)
  2. References iOS 10 Sampler https://github.com/shu223/iOS-10-Sampler What’s new in Core Data

    https://developer.apple.com/videos/play/wwdc2016/242/ SwiftʴCore DataʹΑΔiOSΞϓϦϓϩάϥϛϯά (੢ํՆࢠɺ ؙࢁ߂ࢻ) https://book.mynavi.jp/ec/products/detail/id=50729