Skip to content

Instantly share code, notes, and snippets.

@zhm
Created March 8, 2012 21:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zhm/2003648 to your computer and use it in GitHub Desktop.
Save zhm/2003648 to your computer and use it in GitHub Desktop.
(lldb) po [[NSManagedObjectContext defaultContext] objectWithID:[self projectObjectID]]
(id) $33 = 0x0048b520 <SNProject: 0x48b520> (entity: Project; id: 0x489040 <x-coredata://29AA8056-CC37-4157-A6DC-1D1A535BC425/Project/p1> ; data: {
accountID = 4f31fbfb14414036cc000006;
attributes = "(...not nil..)";
createdAt = "2012-02-08 18:56:03 +0000";
defaultFormID = nil;
deletedAt = nil;
downloadRecordFilterNELatitude = nil;
downloadRecordFilterNELongitude = nil;
downloadRecordFilterSWLatitude = nil;
downloadRecordFilterSWLongitude = nil;
downloadRecords = 1;
forms = (
"0xc6be580 <x-coredata://29AA8056-CC37-4157-A6DC-1D1A535BC425/Form/p1>"
);
lastReceivedRecordsAt = nil;
name = OpenStreetMap;
recordCount = 5;
remoteID = 4f32c543144140167b0000eb;
status = active;
summary = "OpenStreetMap Points of Interest";
updatedAt = "2012-03-07 15:37:25 +0000";
})
(lldb) po [context objectWithID:[self projectObjectID]]
(id) $44 = 0x004a66b0 <SNProject: 0x4a66b0> (entity: Project; id: 0x489040 <x-coredata://29AA8056-CC37-4157-A6DC-1D1A535BC425/Project/p1> ; data: {
accountID = 4f31fbfb14414036cc000006;
attributes = "(...not nil..)";
createdAt = "2012-02-08 18:56:03 +0000";
defaultFormID = nil;
deletedAt = nil;
downloadRecordFilterNELatitude = "35.80632240494426";
downloadRecordFilterNELongitude = "-75.69735618717469";
downloadRecordFilterSWLatitude = "19.46359092723608";
downloadRecordFilterSWLongitude = "-89.75985538515512";
downloadRecords = 1;
forms = "<relationship fault: 0xc6235e0 'forms'>";
lastReceivedRecordsAt = "2012-03-07 20:54:14 +0000";
name = OpenStreetMap;
recordCount = 5;
remoteID = 4f32c543144140167b0000eb;
status = active;
summary = "OpenStreetMap Points of Interest";
updatedAt = "2012-03-07 15:37:25 +0000";
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment