John Estropia
fce5d2f301
Flatten file directories ( fixes #159 )
2017-05-10 12:42:20 +09:00
John Estropia
716e069984
version bump
2017-03-28 11:25:24 +09:00
John Estropia
881ee4af0a
remove warnings when calling unsafeBitCast()
2017-03-28 10:54:08 +09:00
Ruslan Skorb
f055c54a66
[ListMonitor] Use dynamicCast() to cast fetchedObjects to [T]? without checking the type.
...
Type checking takes a time. So there is a performance problem when casting a large number of fetched objects to an array of a certain type using the operator `as?`.
2017-03-24 21:30:46 +02:00
Ruslan Skorb
0c483e0e19
[FetchedResultsControllerDelegate] Remove duplicate code.
2017-03-05 12:20:12 +02:00
John Estropia
341ec5e771
reverted unsafeDowncast usage to unsafeBitCast (It worked differently)
2017-03-01 19:56:13 +09:00
John Estropia
3224fcf71d
move type safety goodness
2017-02-21 19:17:06 +09:00
John Rommel Estropia
9ff1c9d545
declare operators as static functions
2017-02-19 20:05:23 +09:00
John Estropia
9d5e04854a
extra extra type safety for attributes (fetching and importing)
2017-02-17 14:13:16 +09:00
John Estropia
d2fd03c1f0
Where clauses are now more strict with the argument types
2017-02-17 10:47:38 +09:00
John Estropia
03973790a8
revert recent swizzling update. sorry about that
2017-02-10 20:33:07 +09:00
John Estropia
698326f89a
version bump
2017-02-07 18:21:54 +09:00
John Estropia
bdf6308d8f
swift 3.1 support
2017-02-07 18:17:40 +09:00
John Estropia
69d96c53d6
WIP: object concurrency debugging utilities
2017-02-02 19:53:47 +09:00
John Estropia
7b961fa249
Display list of model files in bundle when requested modelname is not found
2017-02-01 19:03:59 +09:00
John Estropia
73450d0b29
WIP: minor conveniences to the ImportableUniqueObject protocol
2017-01-20 21:51:00 +09:00
John Estropia
6d83564a1a
Swift 3 master candidate
2017-01-06 16:50:38 +09:00
John Estropia
c0d72799b4
Merge branch 'swift3_develop' into develop
...
# Conflicts:
# .travis.yml
# CoreStore.podspec
# CoreStore.xcodeproj/project.pbxproj
# Sources/Info.plist
2017-01-06 16:03:28 +09:00
John Estropia
06a1919e91
minor fixes
2017-01-06 15:56:47 +09:00
John Rommel Estropia
518bb134f9
merge fix
2016-12-26 14:55:06 +08:00
John Estropia
4d7feca848
Merge pull request #139 from deanWombourne/swift3_develop
...
Add an override to cs_typeName which deals with String explicitly.
2016-12-26 14:53:51 +08:00
John Rommel Estropia
4d63fc744a
Add String overload for cs_typeName ( fixes #138 )
2016-12-26 14:51:23 +08:00
Sam Dean
9480e372f1
Add an override to cs_typeName which deals with String explicitly.
2016-12-23 11:06:09 +00:00
John Rommel Estropia
23df460c35
require transaction logs path from icloud stores
2016-12-10 18:39:53 +09:00
John Rommel Estropia
1c233b7302
don't access iCloud's ubiquitous cache file
2016-12-10 09:43:45 +09:00
John Estropia
f42288802c
Merge branch 'swift3_develop' of github.com:JohnEstropia/CoreStore into swift3_develop
...
# Conflicts:
# Sources/Convenience/NSManagedObject+Convenience.swift
2016-12-08 19:00:38 +09:00
John Estropia
a27556f294
minor Swift 3 cleanup
2016-12-08 18:59:41 +09:00
John Rommel Estropia
e330291e1b
support generics for KVC accessors
2016-12-03 10:13:50 +09:00
John Rommel Estropia
4a282150f0
utilities for safer KVO access in objects
2016-12-03 09:59:17 +09:00
John Rommel Estropia
5d2956d674
Make RecreateStoreOnModelMismatch flag work again ( fixes #126 )
2016-11-26 16:19:12 +09:00
John Estropia
92756fec42
always dispatch completion right after adding a store to the coordinator (allow stores to fully complete their run loop)
2016-11-17 16:27:28 +09:00
John Estropia
2b37daefe0
minor documentation updates
2016-11-17 14:31:06 +09:00
Ruslan Skorb
4a882e6108
ErrorType has been renamed to Error in Swift 3.
2016-11-15 19:16:18 +02:00
John Estropia
b230ed6400
FetchableSource and QueryableSource protocols
2016-11-15 18:00:39 +09:00
John Estropia
33a5c123aa
resurrect utilities for creating NSFetchedResultsController ( fixes #119 )
2016-11-11 17:32:13 +09:00
John Estropia
73637321ce
xcode 8.1 (swift 3.0.1) update
2016-11-11 14:03:37 +09:00
John Estropia
cff2bb1740
version bump
2016-10-27 19:16:17 +09:00
Andrii Chernenko
970957cbc2
Merge branch 'duplicate-import-fix' into import-unique-objects-order
2016-10-23 14:52:34 +02:00
John Rommel Estropia
2f9e5db89f
Added comment ( fixes #106 )
2016-10-16 14:40:25 +09:00
John Estropia
3999654ee7
Revert "Import unique objects in the same order as the array of import sources"
2016-10-14 17:45:31 +09:00
Andrii Chernenko
4c3bec287c
fix duplication when using importUniqueObjects with non-unique import sources
2016-10-12 02:01:23 +02:00
Andrii Chernenko
32a388e0ca
import unique objects in the same order as the array of import sources
2016-10-08 23:14:22 +02:00
John Rommel Estropia
1a6fbad3d4
force dynamic dispatch on generic types
2016-10-09 00:52:18 +09:00
Andrii Chernenko
910b5039fd
fix type method dispatch when importing objects
2016-10-07 15:26:45 +02:00
John Estropia
862ef27374
version bump, cleanup, unit test
2016-09-30 13:28:19 +09:00
Colin Morelli
8be20370d5
Fixes #98 (deadlock when merge happens while main queue is querying)
2016-09-29 14:47:51 -04:00
John Estropia
a9c0feae46
NSFetchRequest.affectedStores bug workaround
2016-09-27 19:02:24 +09:00
John Estropia
2e44f86eb6
Merge branch 'develop' into swift3_develop
...
# Conflicts:
# Cartfile
# Carthage/Checkouts/GCDKit
# CoreStore.podspec
# CoreStore.xcodeproj/project.pbxproj
# CoreStoreDemo/CoreStoreDemo.xcodeproj/project.pbxproj
# CoreStoreTests/BaseTests/BaseTestCase.swift
# CoreStoreTests/FromTests.swift
# CoreStoreTests/GroupByTests.swift
# CoreStoreTests/OrderByTests.swift
# CoreStoreTests/StorageInterfaceTests.swift
# CoreStoreTests/TweakTests.swift
# CoreStoreTests/WhereTests.swift
# README.md
# Sources/Internal/CoreStoreFetchRequest.swift
# Sources/Internal/NSManagedObjectContext+Querying.swift
# Sources/Internal/NSManagedObjectModel+Setup.swift
# Sources/Migrating/DataStack+Migration.swift
# Sources/ObjectiveC/CSSQliteStore.swift
# Sources/ObjectiveC/CSStorageInterface.swift
# Sources/ObjectiveC/CoreStoreBridge.swift
# Sources/Observing/ListMonitor.swift
# Sources/Setup/DataStack.swift
# Sources/Setup/StorageInterfaces/ICloudStore.swift
# Sources/Setup/StorageInterfaces/LegacySQLiteStore.swift
# Sources/Setup/StorageInterfaces/SQLiteStore.swift
# Sources/Setup/StorageInterfaces/StorageInterface.swift
2016-09-27 18:55:37 +09:00
John Estropia
ed8c7b35e8
Reduce leaking (a little) on the workaround for NSFetchRequest.affectedStores ARC bug
2016-09-27 17:31:08 +09:00
John Rommel Estropia
4d2ebe4ea8
workaround #100 (NSFetchRequest.affectedStores ARC bug)
2016-09-27 02:39:28 +09:00