John Estropia
eeec3979ee
SwiftPM support
2019-02-12 15:48:50 +09:00
John Estropia
635201868a
add comparison operators for Where.Expression
2019-02-08 17:16:56 +09:00
John Estropia
db4426e6b9
Swift 5 support. WIP: Support type-safe predicate expressions
2019-02-01 18:32:22 +09:00
John Estropia
41902fee2e
fix compiler errors
2019-01-31 16:50:43 +09:00
John Estropia
9239370793
Added reference comment explaining crashes on A12 devices #291
2019-01-29 14:15:01 +09:00
John Estropia
a4d2f326a5
Improve perfomance by bypassing bridging (similar to https://github.com/JohnEstropia/CoreStore/pull/288 )
2019-01-28 20:12:18 +09:00
John Estropia
9f54ec26e2
add Where initializer that can accept another Where clause
2019-01-28 20:10:15 +09:00
John Estropia
9425cb56d7
update documentation for -[CSListMonitor refetch:] to reflect actual behavior
2019-01-28 19:04:46 +09:00
John Estropia
1de56d2776
add missing From.orderBy(_:) overloads
2019-01-25 17:30:11 +09:00
John Estropia
2863605d84
silence deprecation internal warnings
2019-01-23 12:25:52 +09:00
John Estropia
57ddbbd515
make some test cases validate specific error codes from thrown errors
2019-01-23 10:55:58 +09:00
John Estropia
78954b9d78
version bump
2019-01-22 16:41:58 +09:00
John Estropia
4eb06c9858
Merge branch 'throwables' into develop
2019-01-22 16:38:57 +09:00
John Estropia
0d634c1dcc
add missing MARKs
2019-01-22 16:38:17 +09:00
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