34,333
edits
Changes
no edit summary
<pre>
let managedObjectContext = (UIApplication.sharedApplication().delegate
as ! AppDelegate).managedObjectContext
</pre>
var results = managedObjectContext?.executeFetchRequest(request,
error: &error)
let match = results[0] as ! NSManagedObject
let nameString = match.valueForKey("name") as ! Stringlet addressString = match.valueForKey("address") as ! Stringlet phoneString = match.valueForKey("phone") as ! String
</pre>