Commit Graph
100 Commits
Author SHA1 Message Date
John Rommel Estropia 3e00a3da06 fix demo app errors 2017-08-17 09:24:33 +09:00
John Rommel Estropia 86be046c9f updated podspec 2017-08-16 20:43:10 +09:00
John Rommel Estropia 0f10bc3349 version bump 2017-08-16 20:26:22 +09:00
John Rommel Estropia 9685f0aef2 #191 2017-08-16 20:21:26 +09:00
John Rommel Estropia 3bd459bb1a updated docs 2017-08-16 20:09:09 +09:00
John Rommel Estropia 28b43f33fa Value.Required now requires an "initial:" parameter. For previous CoreStoreObject users, use the appropriate empty value for your existing properties (0 for numeric types, false for Bool, "" for String) 2017-08-08 18:36:25 +09:00
John Estropia a366bcf1a3 Merge branch 'develop' of github.com:JohnEstropia/CoreStore into develop 2017-07-11 15:47:20 +09:00
John Rommel Estropia c6e68ac24f reset transactions' context on deinit to break reference cycles in unsafed many-to-many relationships 2017-07-05 23:32:45 +09:00
John Estropia a11915db12 minor cleanup 2017-07-04 12:21:46 +09:00
John Rommel Estropia 961f39a806 add internal utilities to force checkpoint operations on SQLite 2017-07-01 17:05:10 +09:00
John Rommel Estropia 3096cb784c add internal utilities to force checkpoint operations on SQLite 2017-07-01 16:45:11 +09:00
John Rommel Estropia 809aa4ff96 allow querying file size on SQLiteStore 2017-07-01 11:50:23 +09:00
John EstropiaandGitHub 8d926d25ec Merge pull request #177 from blender/feature/optional-where-chaining
Add optional && and || operators to Where clause
2017-06-28 13:32:16 +09:00
John Rommel Estropia f72efc80b2 added utilities for combining Where arrays and OrderBy arrays 2017-06-24 17:42:56 +09:00
John Estropia e8eb309d82 Added source docs on usage of custom getters and setters for CoreStoreObject properties (Value.Required, etc) 2017-06-20 20:32:27 +09:00
John Rommel Estropia d0c3203e63 force reset contexts after autocommit 2017-06-17 21:50:21 +09:00
John Rommel Estropia f5b3901caa fix tests and demo app 2017-06-17 02:13:54 +09:00
John Rommel Estropia 1a99fea820 complete PartialObject utilities 2017-06-17 01:55:36 +09:00
John Rommel Estropia 195b60615b added missing utilities 2017-06-16 01:42:09 +09:00
John Rommel Estropia 2c394965b8 remove direct access to CoreStoreObject.primitiveValues and replace PartialObject<O> 2017-06-16 01:02:23 +09:00
John Rommel Estropia 746d697691 WIP: new PartialObject to act as faster KVC wrappers when implementing custom getters and setters for CoreStoreObject 2017-06-15 08:27:08 +09:00
John Estropia 5689158b43 version bump 2017-06-14 21:50:58 +09:00
John Estropia 6fcdf3d011 fix logger demo 2017-06-14 17:43:34 +09:00
John Estropia e26573c18e converted the Demo app's observer demo to use CoreStoreObject instead of NSManagedObject 2017-06-14 17:39:57 +09:00
John Estropia 801cf8d9f0 Fixed ListMonitor bug for CoreStoreObjects where ListObservers don't get update notifications 2017-06-14 17:37:46 +09:00
John Rommel Estropia 8c437e19b8 version bump 2017-06-10 23:19:02 +09:00
John Rommel Estropia 9cd3b6c879 code cleanup 2017-06-10 22:13:32 +09:00
John Rommel Estropia fe135acbec Improve CoreStoreObjects KVO behavior 2017-06-10 21:02:36 +09:00
John Estropia 997c5bdcfa uniquify subclass names across model versions 2017-06-09 12:47:22 +09:00
John Rommel Estropia 129f975d96 version bump 2017-06-08 01:17:39 +09:00
John Rommel Estropia a2e463e58c Merge branch 'prototype/customMigrationTest' of github.com:JohnEstropia/CoreStore into prototype/customMigrationTest 2017-06-08 01:07:00 +09:00
John Rommel Estropia 5fd50f0e15 fix migration for CoreStoreObject relationships 2017-06-08 01:06:51 +09:00
John Estropia 0a81736b7a Merge branch 'develop' into prototype/customMigrationTest 2017-06-07 12:31:42 +09:00
John Estropia f9b6dd0c6a fix bug when using ObjectMonitor with CoreStoreObjects 2017-06-06 17:40:29 +09:00
John Rommel Estropia 0354401b56 WIP: bugfix for CustomSchemaMappingProvider relationship migration bug 2017-06-06 08:39:59 +09:00
John Rommel Estropia 0304067beb fix ToManyOrdered and ToManyUnordered enumeration crash 2017-06-06 00:49:16 +09:00
John Rommel Estropia ddd83da434 add Where comparison operators for optional values 2017-06-05 23:09:19 +09:00
John Estropia fc7df671de Fixes https://bugs.swift.org/browse/SR-4981 2017-06-05 12:45:35 +09:00
John Rommel Estropia 5fde9030c7 use stronger namespace for CoreStoreObject's internal managed object type 2017-06-05 08:03:37 +09:00
John Rommel Estropia d7b07b3f00 Added alternative way to set keyPathsForValuesAffectingValue(forKey:) for CoreStoreObjects 2017-06-05 01:30:26 +09:00
John Rommel Estropia ddd1ffb29f added ~= operation to create Where clauses for value arrays 2017-06-03 08:51:52 +09:00
John Rommel Estropia 98094000bb Merge branch 'master' into develop 2017-06-02 23:10:31 +09:00
John Estropia d5026ef996 Merge branch 'temp/develop' into develop 2017-06-02 19:35:01 +09:00
John Estropia 2cd913b9dd added more utilities for CoreStoreObject meta 2017-06-02 19:34:54 +09:00
John EstropiaandGitHub ad9520abbc Update README.md 2017-06-02 13:24:15 +09:00
John EstropiaandGitHub c0fc57d10c Update README.md 2017-06-02 11:34:04 +09:00
John EstropiaandGitHub 0cf4d303e4 Added README sample on how to version CoreStoreObjects 2017-06-02 11:32:48 +09:00
John Rommel Estropia 6de397958a fix demo app warnings 2017-06-02 02:06:47 +09:00
John Rommel Estropia 55292a84dc made mapping modell providers public 2017-06-02 02:03:41 +09:00
John Estropia 981b560d53 test travis ci 2017-05-30 11:14:57 +09:00
John Estropia c4c4dd55cd test travis build 2017-05-30 11:06:30 +09:00
John Rommel Estropia 1ddbe20c86 Updated README, fixed demo app, and bumped to 4.0.1 2017-05-28 11:37:40 +09:00
John Rommel Estropia da9e8c1550 disallow "empty" default values on some ImportableAttributeTypes 2017-05-28 10:50:25 +09:00
John Estropia ef0937fec4 make unit tests happy 2017-05-24 12:15:55 +09:00
John Estropia 35885b40de README done! Welcome to CoreStore 4.0! 2017-05-24 12:05:34 +09:00
John Rommel Estropia d669569196 WIP: readme 2017-05-24 00:37:32 +09:00
John Rommel Estropia ae919ff3c8 WIP: readme 2017-05-24 00:35:25 +09:00
John Rommel Estropia 1a7a4690d1 WIP: readme 2017-05-24 00:33:43 +09:00
John Rommel Estropia b9b96d1a35 WIP: Updating README and other docs. Some minor fixes 2017-05-22 01:27:38 +09:00
John Rommel Estropia da3a9590ac accept optionals in setValue 2017-05-21 09:38:56 +09:00
John Rommel Estropia 6b3d75bea1 fix fixits 2017-05-21 09:29:34 +09:00
John Rommel Estropia d44721fef0 fix xcode hints 2017-05-21 09:11:34 +09:00
John Rommel Estropia 3f268e8376 added NSManagedObject.setValue(_:forKvcKey:willSetValue:didSetValue:) 2017-05-21 09:06:29 +09:00
John Rommel Estropia 303fea4ebe fix warnings 2017-05-21 08:51:38 +09:00
John Estropia 77173cdad0 minor fix 2017-05-18 21:10:43 +09:00
John Estropia 1e24a7d739 ListObserver's listMonitorDidChange(_:) and listMonitorDidRefetch(_:) handlers are now required. 2017-05-18 12:59:58 +09:00
John Estropia a3b33bedb8 added more migration error types 2017-05-18 12:59:02 +09:00
John Estropia eaf7544c50 fix error when CoreStoreObject types have deep namespaces 2017-05-17 15:55:33 +09:00
John Estropia 67863120e0 WIP: readme 2017-05-15 11:03:21 +09:00
John Estropia 1b0e305d9a beta bump 2017-05-15 10:23:55 +09:00
John Rommel Estropia 91fda01071 WIP: readme 2017-05-15 08:51:31 +09:00
John Estropia feb0e30735 tag as beta 2017-05-12 14:46:28 +09:00
John Rommel Estropia 9c25336ff6 WIP: documentation 2017-05-12 01:42:19 +09:00
John Estropia 66bef87422 WIP: documentation 2017-05-11 20:55:31 +09:00
John Rommel Estropia dd2949ee18 WIP: documentation 2017-05-11 00:03:13 +09:00
John Estropia e0abb9b0af Merge branch 'develop' into corestore4_develop
# Conflicts:
#	CoreStore.podspec
#	Sources/CoreStoreImportableAttributeType.swift
#	Sources/CoreStoreQueryableAttributeType.swift
#	Sources/Info.plist
#	Sources/NSManagedObjectModel+Setup.swift
2017-05-10 19:11:01 +09:00
John Estropia 42c28b064a remove unneeded swift flags 2017-05-10 12:47:40 +09:00
John Estropia 0b097b8c85 version bump 2017-05-10 12:43:18 +09:00
John Estropia fce5d2f301 Flatten file directories (fixes #159) 2017-05-10 12:42:20 +09:00
John Rommel Estropia 8ff163af30 WIP: documentation 2017-05-10 02:00:47 +09:00
John Estropia 19abedfa9f WIP: documentation 2017-05-09 21:16:03 +09:00
John Estropia 48828fdca3 Custom migrations! 2017-05-09 17:58:41 +09:00
John Rommel Estropia 9d65a27557 WIP: custom migration 2017-05-09 03:10:35 +09:00
John Rommel Estropia 6d04806608 WIP 2017-04-26 08:31:37 +09:00
John Rommel Estropia 54129f7362 Merge branch 'corestore4_develop' of github.com:JohnEstropia/CoreStore into corestore4_develop 2017-04-25 22:08:58 +09:00
John Estropia 54c81d23f5 WIP: dynamic migrations 2017-04-25 18:08:43 +09:00
John Estropia 53ab140341 Improve refetch method (may fix #118) 2017-04-24 11:57:47 +09:00
John Estropia 9dc4331b26 oops 2017-04-21 21:21:47 +09:00
John Estropia e6aa72fb5f support transformable values 2017-04-21 19:35:29 +09:00
John Estropia 274a54451a fix compiler errors 2017-04-21 15:07:26 +09:00
John Estropia fe70b7a27d added tool to convert existing NSManagedObjectModels to the new CoreStoreSchema 2017-04-21 14:54:57 +09:00
John Estropia 02a660e4a6 WIP: Migrations 2017-04-20 20:26:11 +09:00
John Estropia a543a4c94a Added a "userInfo" property to relevant types to allow external code to store custom data 2017-04-20 16:40:27 +09:00
John Estropia fd14a18248 Unify generics usage in ListMonitor and ObjectMonitor 2017-04-20 10:42:47 +09:00
John Estropia b0e2655bdf added a typealias for the object type contained in ListMonitor and ObjectMonitor 2017-04-19 17:04:34 +09:00
John Estropia b6bc7c2edf allow edit() calls to any DynamicObject 2017-04-18 18:14:16 +09:00
John Estropia 1938f0d9de no need to be optional 2017-04-18 12:09:37 +09:00
John Estropia 94e6db669f added a way to lazily-initialize user info data 2017-04-18 12:02:39 +09:00
John Estropia b1972b82f1 added way to store userInfo in DataStack and in transactions 2017-04-18 11:29:16 +09:00
John Rommel Estropia 5ffaca1375 WIP: docs 2017-04-18 08:02:07 +09:00