1. Get the managed context: let managedObjectContext = (NSApplication.sharedApplication().delegate as! AppDelegate).managedObjectContext! //Change AppDelegate for the name of the class of your Application Delegate 2. Set a variable to store the data: var contentsOfTransactionFetchRequest = [] 3. Fetch the data you need let fetchRequest = NSFetchRequest(entityName: “Whatever”) …
Category Archives: articles
Stick with it – Dan Counsell
I was going through the web when I found a great article from Dan Counsell called “Stick with it”. Recommended read. Actually I’ve subscribed to the entire series. Here’s a quote: […]Many people fail because they lose interest after a few months, they flit around and get bored when their project or business is not …