let appDelegate = UIApplication.sharedApplication().delegate as! AppDelegate
let context : NSManagedObjectContext = appDelegate.managedObjectContext
let users = NSEntity.insertObjectForEntityForName("Users",context)
//Configurations go here
do {
try context.save() } catch {print(error)}
Try running that code onto a code compiler and you will see magic and what am i like. Like it or not,only one person decides.
- Singapore
- JoinedOctober 13, 2015
- facebook: Benn's Facebook profile
Following
Sign up to join the largest storytelling community
or
My first book is in production,that's right! You heard it,I said it,the very first book is right in!View all Conversations
Story by Benn Tan
- 1 Published Story
The Lift
9
0
1
This book is dedicated to Pui Yi.
A too-short story
We take lifts everyday, up and down it goes from our hect...