Commit Graph

178 Commits

Author SHA1 Message Date
Saul Mora
bbf2b80a79 Renamed ARLog to MRLog 2011-11-28 09:18:15 -07:00
Saul Mora
d57fce8598 Merge branch 'master' of github.com:magicalpanda/MagicalRecord 2011-11-27 23:52:05 -07:00
Saul Mora
2fbb5e7251 Added some warning info for recent checkin. Should only matter to a select few who tinker with the ObjC Runtime 2011-11-27 23:51:50 -07:00
Saul Mora
326a86a543 Added rule to call back to user entities when importing data. Just implement 'import<Key>:' in your entities to get called back to perform custom handling of data attributes on import. Also refactored and cleaned up a few things 2011-11-27 23:43:21 -07:00
Magical Panda Software
09f0b310b9 Merge pull request #87 from alloy/master
Add CocoaPods pod spec.
2011-11-23 10:35:35 -08:00
Eloy Duran
5311cbb07c Add CocoaPods spec. 2011-11-22 23:59:43 +01:00
Magical Panda Software
7b76a36909 Merge pull request #86 from baron/missing_prefixes
add remaining prefixes
2011-11-18 15:28:44 -08:00
Sam Baron
a2c2784aad add remaining prefixes 2011-11-18 15:24:00 +09:00
Saul Mora
348e4b33a7 Fix compile issues for mac and iphone 2011-11-17 16:52:04 -07:00
Saul Mora
26d74eca7a Adding aggregate operation support submitted from Duane Fields. Thanks for submitting! 1.7.1 2011-11-15 14:58:54 -07:00
Saul Mora
3e0b36c072 Added some macros to handle backwards, non-ARC compatibility 2011-11-15 14:50:11 -07:00
Saul Mora
e65b43a2ed Forward deprecated method to proper background handling method 2011-11-15 13:59:35 -07:00
Saul Mora
5470cc640b Made the default managed object context section more clear.
Added an example of the background save completion handler
2011-11-15 13:55:03 -07:00
Saul Mora
5effa4773c Include sub entities by default in searches 2011-11-15 13:23:06 -07:00
Saul Mora
34ed8015ac Added +entityName method for use when creating ManagedObjects and fetching objects. This can be overridden to match your entity. Support for the entityDescriptionInContext: method provided by mogenerator is also still used.
Cleaned up the fetch methods naming convention. If a method starts with fetchAll, the fetch will be performed before the method returns.
Added method to pass in fetch results controller delegate in fetchAll methods.
1.7
2011-11-15 13:09:49 -07:00
Saul Mora
7643c5af05 Re-add fix for cleanup of background queue 2011-11-15 12:23:20 -07:00
Saul Mora
bb8b1c28f7 Add new method to set default model from MagicalRecordHelpers class to so that it uses proper, prefixed methods to set the default prior to using the remainder of the MR stack
Some minor cleanup
2011-11-15 12:21:58 -07:00
Saul Mora
49309a87ea Added compatibility with ARC **AND** non ARC settings/compilers 2011-11-15 12:03:09 -07:00
Saul Mora
4f63c7996e Don't escape path string twice; fixing test 2011-11-15 11:22:55 -07:00
Saul Mora
b253cc8041 Remove all compile warnings by auto generating shorthand interface methods 2011-11-15 11:13:14 -07:00
Saul Mora
e5439914b3 Shorthand header script generator 2011-11-15 09:48:11 -07:00
Saul Mora
068e1242ab Added last two prefixes to methods 2011-11-15 09:47:52 -07:00
Saul Mora
bd16d3f6a2 Really finish adding MR_ category prefixes 2011-11-15 00:51:08 -07:00
Saul Mora
df3bfc5d6c Completed adding MR_ prefix to internal methods 2011-11-15 00:41:30 -07:00
Saul Mora
71fbdab5c9 Cleaning up unused code 2011-11-15 00:13:58 -07:00
Saul Mora
1236931a36 Fixing style 2011-11-15 00:13:23 -07:00
Saul Mora
1f79f4d75a Moved method to proper entityDescription category file 2011-11-15 00:13:05 -07:00
Saul Mora
e7856d3ec0 Removed short hand header files from project 2011-11-14 18:54:35 -07:00
Saul Mora
298c7eb53f Set the default persistent store when creating the coordinator 2011-11-14 18:52:42 -07:00
Saul Mora
f444277878 Fix broken tests 2011-11-14 18:52:11 -07:00
Saul Mora
1e1d7c0444 Add runtime support for shorthand category methods.
The runtime will remove MR_ if the message is passed to a core data object.
2011-11-14 18:50:56 -07:00
Saul Mora
47961cb2e2 Create helper methods to perform runtime forwarding of unprefixed methods 2011-11-07 23:34:15 -07:00
Saul Mora
6789935856 There has been much confusion as to where to put a persistent store. This should be the final change for proper support (unless apple modifies the guidelines).
For more information, see the official Apple Docs: http://developer.apple.com/library/ios/documentation/FileManagement/Conceptual/FileSystemProgrammingGUide/FileSystemOverview/FileSystemOverview.html#//apple_ref/doc/uid/TP40010672-CH2-SW4
2011-11-07 13:28:55 -07:00
Saul Mora
83b73554cc Persistent store helper was already moved to the Source folder, removed from the top level 2011-11-07 13:18:41 -07:00
Saul Mora
31d8ed269f Merge pull request #81 from foundationkit/master
Followed code style, fixed usage of wrong NSManagedObjectContext
2011-10-31 08:10:48 -07:00
Matthias Tretter
9941127b48 Follow coding style, fixed problems with wrong context 2011-10-31 15:25:21 +01:00
Matthias Tretter
b7f357daac Added class-methods for deleting all objects matching a given predicate 2011-10-30 20:58:27 +01:00
Matthias Tretter
5dc11685d1 Silence warnings: missing selector 2011-10-30 20:54:42 +01:00
Saul Mora
b9e35462fd Updating documentation 2011-09-16 15:57:36 -06:00
Saul Mora
fdd2b71ea0 Refactor name prefixes from AR to MR 2011-09-16 15:06:18 -06:00
Saul Mora
c2093d5abf Resolve more memory management issues with reverting from ARC 2011-09-16 14:59:58 -06:00
Saul Mora
25282657a0 minor build setting adjustments 2011-09-16 14:46:38 -06:00
Saul Mora
955867d47b Cleanup 2011-09-16 13:22:48 -06:00
Saul Mora
98da3f9f2d Implement last two tests: create context for current thread, notify default context on save 2011-09-05 18:23:16 -06:00
Saul Mora
d172b7cb79 Add ocmock to project
implement jogging target handler test
2011-09-05 18:15:25 -06:00
Saul Mora
d1e310a6fa use contextForCurrentThread 2011-09-05 14:54:52 -06:00
Saul Mora
4c374be5a7 Fix Memory Leaks found through instruments 2011-09-05 14:13:25 -06:00
Saul Mora
bee9f4a3cf Fix some data import tests
Added data update tests
2011-09-05 12:30:01 -06:00
Saul Mora
3dfa3bf613 Fixing in memory store helper 2011-09-04 13:10:39 -06:00
Saul Mora
6c8316b635 Add in some minor memory management code
change name of color parser method
deprecated NSManagedObjectModel MR_newManagedObjectModel] method
Fix compiler warning on Xcode 4.1 with 5.0 methods
2011-09-01 18:08:46 -06:00