Commit Graph
100 Commits
Author SHA1 Message Date
John Estropia 2bcf8008c5 let transaction fetch existing objects from external contexts 2015-08-20 17:20:38 +09:00
John Estropia 71477c0839 allow equality comparison on ListMonitor and ObjectMonitor to help distinguish senders when observing multiple monitors 2015-08-20 14:25:14 +09:00
John Estropia 3348aa0bef added utility to check if objects exist in a ListMonitor 2015-08-20 13:51:14 +09:00
John Estropia 2ed61fdb17 added utilities to ListMonitor to extract all objects in specified sections 2015-08-20 12:15:20 +09:00
John Estropia 9cfad8a17a oops, GroupBy should not be needed for monitorList() 2015-08-19 21:00:27 +09:00
John Estropia 3bf34f33dc added utilities for ListMonitor to optionally extract objects with potentially invalid indexes/indexPaths 2015-08-19 20:56:50 +09:00
John Estropia 90bfaeaae8 removed unused key tuple 2015-08-19 18:30:39 +09:00
John Estropia a29a4b38fe added utilities to get existing NSManagedObject instances using object IDs 2015-08-19 15:53:20 +09:00
John Estropia 5a96ef13f6 added utility to get NSManagedObjectID from an object URI 2015-08-19 15:07:15 +09:00
John Estropia b92ee76907 added utility to refresh an object 2015-08-19 12:19:14 +09:00
John Estropia 67ccae4ef6 added missing parameters 2015-08-19 11:21:39 +09:00
John Estropia 62b11309f3 expose DataStack vars to CoreStore 2015-08-18 21:49:40 +09:00
John Estropia 8c6a7df731 provide a way to enumerate entities managed by the DataStack 2015-08-18 21:40:33 +09:00
John Rommel Estropia a263851266 import array of ImportableObjects 2015-08-17 23:50:03 +09:00
John Estropia cbc3eb8887 woops, develop branch should be Swift 2.0, not 1.2 2015-08-11 15:37:44 +08:00
John Rommel Estropia 2fb3263aa1 refactored autoreleasepool calls 2015-08-09 18:27:21 +09:00
John Rommel Estropia 64aa97264e added utilities for importing data 2015-08-09 05:06:42 +09:00
John Rommel Estropia 8066bf2a5a fixed assertion failures when fetching from detached data transactions 2015-08-09 05:05:26 +09:00
John Rommel Estropia 283104af3f thanks to protocol extensions, you can now omit ListObserver and ObjectObserver methods you don't need to implement 2015-08-09 05:04:47 +09:00
John Rommel Estropia 83c724f584 updated default logger to still run assertions even on optimized (-O) builds 2015-08-08 22:12:08 +09:00
John Rommel Estropia 59ad525786 fixed for Xcode 7 beta 5 2015-08-08 10:24:40 +09:00
John Rommel Estropia b85d7521e1 version bump 2015-07-29 22:24:11 +09:00
John Rommel Estropia 4dbc4558e3 display explanation dialog for migration demo 2015-07-29 22:21:22 +09:00
John Rommel Estropia 2a56c097f2 Merge branch 'master' into develop 2015-07-29 21:32:17 +09:00
John Estropia d4b95aed64 Merge pull request #10 from bddckr/patch-1
Fix building with Carthage
2015-07-28 12:44:43 +09:00
John Rommel Estropia 6a3885edda aesthetic 2015-07-26 21:21:19 +09:00
John Rommel Estropia 1c6085ad82 expose DetachedDataTransaction's context and allow creating children detached transactions (https://github.com/JohnEstropia/CoreStore/issues/9) 2015-07-26 21:20:48 +09:00
John Rommel Estropia 2dae2ae39c update GCDKit submodule version 2015-07-26 17:11:53 +09:00
John Rommel Estropia a1e37975cc updated project settings for Xcode 7 beta 4 2015-07-26 17:08:56 +09:00
John Rommel Estropia 0c8a43c3b0 added shorthand vars for inspecting MigrationType values. updated readme 2015-07-26 17:04:19 +09:00
John Rommel Estropia 9676e3aca2 addSQLiteStoreAndWait() does not support auto-migrating stores anymore; use the asynchronous addSQLiteStore(..., completion:) method instead. 2015-07-26 10:07:42 +09:00
John Rommel Estropia a34d2795af remove queue asserts for detached transactions 2015-07-26 09:27:00 +09:00
John Rommel Estropia 106789d592 refactor some internal methods. renamed addInMemoryStore to addInMemoryStoreAndWait to reflect synchronicity. 2015-07-25 23:05:48 +09:00
John Rommel Estropia edc51de030 catch intentional error in logger demo 2015-07-24 08:06:59 +09:00
John Rommel Estropia f85eb2e057 merge changes to the main context asynchronously (fixes https://github.com/JohnEstropia/CoreStore/issues/7) 2015-07-24 08:05:13 +09:00
John Rommel Estropia f0161b50ed submodule update 2015-07-19 00:07:47 +09:00
John Rommel Estropia 6c780c1282 use GCDKit's swift2.0 supported commit 2015-07-19 00:05:58 +09:00
John Rommel Estropia b711ec9644 gcdkit version 2015-07-18 23:57:59 +09:00
John Rommel Estropia a581f91507 Merge branch 'develop'
Conflicts:
	README.md
2015-07-18 23:53:37 +09:00
John Estropia ebd4df5c2f Update README.md 2015-07-14 13:23:41 +09:00
John Estropia 2780fd7682 Update README.md 2015-07-14 13:23:26 +09:00
John Rommel Estropia 982e75a36e updated README 2015-07-14 07:56:50 +09:00
John Rommel Estropia 79d5598abe updated README 2015-07-14 07:54:23 +09:00
John Rommel Estropia b88679c507 updated README 2015-07-14 07:50:12 +09:00
John Rommel Estropia 858dd0962d updated documentation (in progress) 2015-07-14 07:44:45 +09:00
John Rommel Estropia f99349f99d improved migrationchain validation 2015-07-13 07:47:43 +09:00
John Rommel Estropia a64bcc474e updated error handling for DataStack methods, updated migration demo app 2015-07-12 19:20:38 +09:00
John Rommel Estropia 8cfe8e2500 added NSProgress support for migrations 2015-07-12 00:49:53 +09:00
John Rommel Estropia 33268eeea1 fix demo app: label layout problem on iOS 9 2015-07-10 07:17:22 +09:00
John Estropia b2a190ea33 require explicit parameter for fileName when calling addSQLiteStore() and it's variants 2015-07-09 21:28:37 +09:00
John Estropia 35fbaf9513 updated for Xcode 7 beta 3 2015-07-09 21:25:19 +09:00
John Estropia 450afb00fa Merge branch 'master' into develop
Conflicts:
	CoreStore.podspec
	CoreStore/Info.plist
	CoreStore/Saving and Processing/DataStack+Transaction.swift
2015-07-09 19:01:23 +09:00
John Estropia e0048f589c version bump 2015-07-09 18:57:59 +09:00
John Estropia 929fdfd9a9 remove thread asserts when creating new transactions. fixes https://github.com/JohnEstropia/CoreStore/issues/6 2015-07-09 18:55:35 +09:00
John Estropia 7e0d3120e1 fix jump link for readme 2015-07-09 18:34:42 +09:00
John Rommel Estropia acfe5dd7a7 use GCDKit commit with iOS 7 support 2015-07-09 08:10:36 +09:00
John Rommel Estropia 9da323b0b8 assert migration chain when creating a data stack 2015-07-09 08:08:11 +09:00
John Estropia 5f04f4c496 reversible migrations 2015-07-07 19:38:46 +09:00
John Rommel Estropia 5b85b0749e migration utilities (beta), swift 2 conversion 2015-07-07 08:03:46 +09:00
John Rommel Estropia bf0eebe057 migration utilities (beta) 2015-07-07 07:58:16 +09:00
John Rommel Estropia 261c3a6001 minor changes before Swift 2.0 2015-07-03 00:22:21 +09:00
John Rommel Estropia 91444b6dd3 Merge branch 'master' into develop 2015-07-02 22:47:36 +09:00
John Rommel Estropia 3bbae948ca gitignore 2015-07-02 22:47:19 +09:00
John Rommel Estropia e0b5da27f8 Merge branch 'master' into develop
Conflicts:
	CoreStoreDemo/CoreStoreDemo.xcodeproj/xcuserdata/johnestropia.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
2015-07-02 00:19:26 +09:00
John Rommel Estropia 8402ebcc0f Carthage supportt 2015-07-01 08:13:19 +09:00
John Rommel Estropia 40f22761bf Big update. Migration tools in progress 2015-07-01 08:03:09 +09:00
John Rommel Estropia caf5c570df Merge branch 'develop'
Conflicts:
	CoreStoreDemo/CoreStoreDemo/Transactions Demo/TransactionsDemoViewController.swift
2015-06-19 04:07:27 +09:00
John Rommel Estropia 71c80c3497 marked experimental methods as private to prevent accidental usage 2015-06-19 04:05:56 +09:00
John Rommel Estropia 832dd8826e Updated Demo app with Fetching and Querying samples 2015-06-19 04:02:53 +09:00
John Rommel Estropia fcda83e6ac incomplete migration prototype methods 2015-06-15 01:31:03 +08:00
John Rommel Estropia 7303e05820 fixed demo explanation alert title 2015-06-12 23:46:09 +08:00
John Rommel Estropia a44400a935 version bump 2015-06-10 10:38:08 +09:00
John Rommel Estropia f18d29d9bc created an asynchronous method for adding sqlite store to handle asynchronous migrations. note that this commit breaks previous usage of DataStack.addSQLiteStore(...), which is now renamed to addSQLiteStoreAndWait(...) 2015-06-10 10:37:16 +09:00
John Rommel Estropia c4171de86e removed Median and StandardDeviation from supported aggregates as core data doesn't seem to support them either 2015-06-06 17:44:04 +09:00
John Rommel Estropia b0a637520e updated demo app 2015-06-05 02:21:34 +09:00
John Rommel Estropia e8f17cb33a updated read 2015-06-04 01:04:52 +09:00
John Rommel Estropia 3c29cdf2d2 updated read 2015-06-04 00:44:28 +09:00
John Rommel Estropia e462ae5a19 fixed demo app 2015-06-04 00:40:19 +09:00
John Estropia 6ed6159eec Update README.md 2015-06-03 01:52:01 +09:00
John Rommel Estropia 7710578bbc updated readme 2015-06-03 01:20:14 +09:00
John Rommel Estropia 6727c39e21 updated readme 2015-06-01 01:43:19 +09:00
John Rommel Estropia 6aa24cef2d minor changes, updated README 2015-05-31 14:42:06 +09:00
John Rommel Estropia a6f3c0bf95 pod bump 2015-05-30 17:26:31 +09:00
John Rommel Estropia 869660d41d updated README, added more utilities for updating and deleting objects from transactions 2015-05-30 17:26:06 +09:00
John Estropia 6b8d5df049 Updated README 2015-05-29 22:20:54 +09:00
John Estropia 1ca3ba5407 Update README.md 2015-05-29 09:47:56 +09:00
John Rommel Estropia 4da81250ec updating readme 2015-05-29 08:09:03 +09:00
John Rommel Estropia 994370b806 fixed segmentation fault when compiling for release builds 2015-05-28 01:36:29 +09:00
John Rommel Estropia 2145622578 set fixed dependency version 2015-05-28 00:12:29 +09:00
John Rommel Estropia b2bbf5e3b3 cocoapods 2015-05-28 00:06:31 +09:00
John Rommel Estropia 8361ba1b53 Renaming project because of cocoapods name clash with HardcoreData :( 2015-05-27 22:51:02 +09:00
John Rommel Estropia 1cc4f21336 Added setup and transactions demo 2015-05-26 01:44:49 +09:00
John Rommel Estropia cb867c07ab produce error when different store configurations with same file paths collide 2015-05-23 19:41:15 +09:00
John Rommel Estropia 8374c552f0 full inline sourcecode documentation 2015-05-22 02:26:28 +09:00
John Rommel Estropia 637829ec32 renamed some parameters 2015-05-11 00:29:59 +09:00
John Estropia f68a314999 Update README.md 2015-05-10 23:40:36 +09:00
John Rommel Estropia d481b93224 restructured files, added way to transform section names in ManagedObjectListControllers 2015-05-10 23:23:56 +09:00
John Rommel Estropia a5be0fbf67 added changed keys to object changes notification 2015-05-09 23:59:30 +09:00
John Rommel Estropia 202ec371f2 renamed commitAndWait() to overload commit() 2015-05-09 19:40:08 +09:00
John Rommel Estropia a1610534cb updated demo 2015-05-09 14:10:55 +09:00