Skip to content

Instantly share code, notes, and snippets.

@jkhowland
jkhowland / EntryController Debug
Created March 9, 2015 09:47
PrivateDB, Adding and Entry, Updating and Entry, and Removing and Entry
#pragma mark - Debugging Methods
- (void)retrieveEntriesFromCloudKit {
// Simple request to check to see what is on CloudKit
NSPredicate *truePredicate = [NSPredicate predicateWithValue:YES];
CKQuery *query = [[CKQuery alloc] initWithRecordType:EntryRecordKey predicate:truePredicate];
@jkhowland
jkhowland / Stack.h
Last active March 31, 2020 13:43
Simple Core Data - Stack.m
//
// Stack.m
//
// Created by Joshua Howland on 6/12/14.
// Copyright (c) 2014 DevMountain. All rights reserved.
//
#import <Foundation/Foundation.h>
@import CoreData;