John Estropia
6dc48b6af7
Add docs for new throwing methods
2019-01-17 18:43:10 +09:00
John Estropia
09ce2816bf
Merge branch 'develop' into throwables
2019-01-16 17:03:49 +09:00
John Estropia
682472c1bd
fetches, queries, and deletes are now throwable methods
2019-01-15 20:40:15 +09:00
Ian Bytchek
ac8304f977
Resolve source entity and managed object attributes by name
...
Addresses #300 – see it for details. Also improves the use of whitespace consistency across the `CustomSchemaMappingProvider.swift` and uses method names for `cs_resolve…` over `cs_resolved…` for better alignment with [Swift API Design Guidelines](https://swift.org/documentation/api-design-guidelines ).
2019-01-13 05:41:34 +00:00
John Estropia
5777831565
WIP: make fetching methods throwable
2019-01-11 19:52:12 +09:00
John Estropia
42d1f41939
Provide more context when failing to search for mapping models #299
2019-01-11 19:48:35 +09:00
John Estropia
237a1b648e
Assert on reserved property names
2019-01-09 11:58:37 +09:00
John Estropia
614f1572c2
print PartialObjects
2018-12-26 22:35:28 +08:00
John Estropia
4a28a39df6
removed long-standing workaround for NSFetchedResultsController bugs since they seem to be fixed
2018-12-18 18:43:36 +09:00
John Estropia
c21ab11a41
format header comment
2018-12-14 18:21:41 +09:00
John Estropia
10cd18dbf0
prototype for CoreStoreObject property observers (a.k.a. KVO)
2018-12-14 18:20:42 +09:00
John Estropia
8409a13289
Merge pull request #288 from ruslanskorb/list-monitor-number-of-objects-performance
...
[ListMonitor] Fix performance of `numberOfObjects()`.
2018-12-06 18:53:06 +09:00
Ruslan Skorb
a9a73fa5c4
[ListMonitor] [numberOfObjects()] Return count of fetchedObjects.
...
Casting `fetchedObjects` to `NSArray?` has better performance.
https://github.com/JohnEstropia/CoreStore/pull/288
2018-12-06 10:56:30 +02:00
John Estropia
82cae2e11e
Merge pull request #292 from eliseo-juan/patch-1
...
Fix documentation
2018-12-06 10:54:50 +09:00
John Estropia
42caee2418
Merge pull request #287 from ruslanskorb/list-monitor-subscript-performance
...
[ListMonitor] Fix performance of `subscript(safeSectionIndex:safeItemIndex:)`.
2018-12-06 10:54:12 +09:00
Eliseo Juan Quintanilla
1dea1d0d06
Fix documentation
...
Changed attribtue to attribute
2018-12-05 10:09:05 +01:00
John Estropia
d344b9d878
minimum deployment version bumped to iOS 10, macOS 10.12, tvOS 10, watchOS 3. Deprecated iCloud Storage
2018-12-05 17:31:16 +09:00
John Estropia
95c1ce52cc
Merge branch 'develop' of github.com:JohnEstropia/CoreStore into develop
2018-12-05 16:17:03 +09:00
John Estropia
cc346816d6
Added new error for cases when addStorageAndWait() is used with .allowSynchronousLightweightMigration but migrations are only allowed asynchronously (related to #277 )
2018-12-05 16:15:20 +09:00
Ruslan Skorb
6f655951aa
[ListMonitor] [numberOfObjects()] Calculate the number of objects in all sections by summing the number of objects stored in NSFetchedResultsSectionInfo.
...
There is a performance problem in Swift when calling `count` method on an array with a large number of fetched objects. It requires casting the array between Objective-C and Swift, that is pretty slow.
2018-11-24 16:24:14 +02:00
Ruslan Skorb
ff8fbae568
[ListMonitor] [subscript(safeSectionIndex:safeItemIndex:)] Use subscript(indexPath:) after the validation of sectionIndex and itemIndex to get an object.
...
There is a performance problem in Swift when getting an object from the Objective-C array with a large number of objects using subscript. It requires casting the array between Objective-C and Swift, that is pretty slow.
2018-11-24 16:23:36 +02:00
Dmitry Mazurenko
4d4b02d076
Fix queue validation for UnsafeDataTransaction
2018-10-10 16:48:04 +03:00
John Estropia
06c0981ded
debug string for CoreStoreObject
2018-09-24 00:49:53 +09:00
John Estropia
45e110755d
deleted unnecessary Equatable and Hashable custom implementations
2018-09-19 11:06:19 +09:00
John Estropia
ab40532801
fix issue with early-deallocated CoreStoreObjects
2018-09-18 23:50:14 +09:00
John Estropia
40f458a09c
Merge branch 'develop' of github.com:JohnEstropia/CoreStore into develop
2018-09-15 12:56:21 +09:00
John Estropia
1ad233ca9d
Swift 4.2 support
2018-09-15 12:56:08 +09:00
Ken Bach
1f54daa528
Fixed bug where ListObjectObserver.didUpdateObject was not called on watchos.
2018-08-21 22:47:54 +01:00
John Estropia
f25879b6fe
fix compile error on tvOS and watchOS
2018-08-09 21:04:09 +09:00
John Estropia
8fa3109e91
version bump
2018-08-09 20:45:46 +09:00
John Estropia
808e8ff97a
stabilize NSProgress when lightweight migration falls back to InferredMappingModel
2018-08-09 18:18:21 +09:00
John Estropia
30685d4355
Use InferredMappingModel in case lightweight migration fails for some reason
2018-08-09 02:09:54 +09:00
John Estropia
7152962026
revert
2018-08-09 01:39:16 +09:00
John Estropia
91735e38d1
Fix issue where CoreStoreObjects nested in a type is mismatching classnames before migration
2018-08-08 23:52:47 +09:00
John Rommel Estropia
b7a602fc67
iOS 11 Core Data changes
2018-07-29 23:33:51 +09:00
John Rommel Estropia
4aa461872f
specify swift version in podspec
2018-06-10 11:47:03 +09:00
John Rommel Estropia
3d43314076
update readme
2018-04-14 09:05:13 +09:00
John Rommel Estropia
7b1075b759
support compound indexes and unique constraints on CoreStore properties
2018-03-17 23:56:42 +09:00
John Rommel Estropia
0c29e07ddb
support allowsExternalBinaryDataStorage option on Transformable CoreStoreObject properties
2018-03-17 23:56:01 +09:00
John Rommel Estropia
c8b1c4358f
Fix bug where ListMonitor sectionIndexTitles are not updated on refetch ( fixes #218 )
2018-03-10 21:08:40 +09:00
John Rommel Estropia
5431e2e974
Swift 4.1 support
2018-03-10 21:07:53 +09:00
John Rommel Estropia
83e6082c56
Merge branch 'develop' of github.com:JohnEstropia/CoreStore into develop
2018-01-07 23:25:11 +09:00
John Rommel Estropia
c7bdbbde57
convert value to native type before formatting predicates
2018-01-07 21:06:35 +09:00
Zheng-Xiang Ke
d9db7e4a82
Typo
2018-01-06 15:00:53 +08:00
Zheng-Xiang Ke
51961dd737
Migrate external storage
2018-01-06 10:22:44 +08:00
John Rommel Estropia
15edabdbb5
changed keyPath string utility to use String initializer
2017-12-29 00:05:11 +09:00
John Rommel Estropia
f447bcfb95
Merge branch 'develop' into prototype/Swift_4_0
...
# Conflicts:
# CoreStore.podspec
# Sources/DataStack+Migration.swift
# Sources/Info.plist
2017-11-19 15:35:29 +09:00
John Rommel Estropia
15e5e4fdf6
delete shm file after converting to DELETE journal mode
2017-11-19 15:34:09 +09:00
John Rommel Estropia
583c6b7249
minor code cleanup
2017-11-19 13:49:21 +09:00
John Rommel Estropia
18b933957e
version bump
2017-11-16 02:28:18 +09:00