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
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
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
John Rommel Estropia
2c7039232e
merge sqlite journal files before migration
2017-11-16 02:27:06 +09:00
John Rommel Estropia
d3b3b5ff4a
added fake progress for lightweight migrations
2017-11-16 02:26:56 +09:00
John Rommel Estropia
d90e8d1303
force true lightweight migration
2017-11-16 02:26:44 +09:00
John Rommel Estropia
b55dd13dff
merge sqlite journal files before migration
2017-11-15 23:50:10 +09:00
John Rommel Estropia
66dd5b6f27
added fake progress for lightweight migrations
2017-11-13 02:44:26 +09:00
John Rommel Estropia
662aaa1e75
force true lightweight migration
2017-11-10 02:48:37 +09:00
John Rommel Estropia
dd4e47d7f9
revert null overloads, remove optional objectIDs as condition
2017-11-09 23:26:53 +09:00
John Estropia
9ea5073bc8
Merge branch 'master' into prototype/Swift_4_0
...
# Conflicts:
# CoreStore.podspec
# Sources/Info.plist
2017-11-09 19:52:29 +09:00
John Estropia
e314db8f56
version bump
2017-11-09 19:45:21 +09:00
John Estropia
48d936d068
Fix regression for ARC bugfix ( fixes #221 )
2017-11-09 19:44:27 +09:00
John Estropia
b2ff8a15ef
add query overloads to == so comparison with nil don't confuse the compiler
2017-11-09 19:27:56 +09:00
John Rommel Estropia
8ce26c213d
more source docs, deprecated some Where clause utilities
2017-11-04 10:37:54 +09:00
John Estropia
f3816b9abf
update for Xcode 9.1
2017-11-01 19:49:42 +09:00
John Estropia
21961780d4
force dynamic typing on DynamicObject.Type to mitigate optimization issues
2017-11-01 19:38:38 +09:00
John Rommel Estropia
305e2b61a0
fix compile errors for Xcode 9.1 beta
2017-11-01 19:37:53 +09:00
John Estropia
0430f66240
force dynamic typing on DynamicObject.Type to mitigate optimization issues
2017-11-01 11:33:41 +09:00
John Rommel Estropia
02d7870d75
fix compile errors for Xcode 9.1 beta
2017-10-29 15:20:58 +09:00
John Rommel Estropia
aca1709e13
WIP: documentation
2017-10-29 15:06:57 +09:00
John Rommel Estropia
b6ee0b014f
WIP: documentations
2017-10-24 00:31:27 +09:00
John Estropia
e37186da73
Merge branch 'prototype/Swift_3_2' into prototype/Swift_4_0
...
# Conflicts:
# CoreStore.podspec
# Sources/Info.plist
2017-10-17 13:42:04 +09:00