Commit Graph

25 Commits

Author SHA1 Message Date
Robbie Hanson
c19cef115f Refactoring YapDatabaseView code: Now the core underlying architecture is split into its own abstract base class. This will allow other view-based classes to be created easier. 2016-06-16 17:53:24 -07:00
Robbie Hanson
1449cfb80d Bug fix for issue #256 2015-12-30 10:36:23 -08:00
Robbie Hanson
acc282b9ca Fixing Xcode-desktop project 2015-07-02 16:36:59 -07:00
Robbie Hanson
f56b485f64 Fixing recent unit tests to work with new YapDatabaseView grouping/sorting/filtering block signature. 2015-06-28 15:25:19 -07:00
Robbie Hanson
d6b1cb79ac Merge branch 'master' into 2.7 2015-06-28 14:06:38 -07:00
Robbie Hanson
82426acd8a Adding unit tests for issue #186 2015-06-26 16:50:33 -07:00
Robbie Hanson
f3c977d3d6 Adding "YapDatabaseReadTransaction *transaction" to parameter list for YapDatabaseView & YapDatabaseFilteredView blocks.
This allows for more flexibility when implementing your grouping/sorting/filtering blocks. That is, you can now use other objects (in the database), or even other extensions to assist you in the implementation logic.
2015-06-09 15:07:14 -07:00
Robbie Hanson
bb2e4e6132 Removing a bunch of deprecated methods. 2015-05-13 18:01:59 -07:00
Robbie Hanson
dabe7e6a46 Fixing implementation for nonPersistent views, and adding corresponding unit tests. 2015-01-14 11:36:59 -08:00
Nico Prananta
3e0feff462 unit test skipInitialPopulationView for YDBView and YDBFilteredView 2015-01-09 11:27:10 +09:00
Robbie Hanson
db28cc46be Simplifying the API for creating Views. Instead of passing a block & blockType, there is a new wrapper class that automatically sets the blockType for you. This also helps when using YDBViews in Swift. Addresses issue #91. 2014-09-14 17:32:11 -07:00
Robbie Hanson
628e3b2e6c API change: renamed method: unregisterExtension: -> unregisterExtensionWithName: 2014-06-30 16:14:07 -07:00
Robbie Hanson
4c99d5d049 Performance improvement for non-persistent (in-memory only) extensions. Also fixing bugs having to do with rollback of transactions, and associated block changes. Plus minor bug fixes for improved thread safety concerning property accessors in YapDatabaseView. 2014-06-30 15:07:47 -07:00
Robbie Hanson
ec93fb55eb Renaming a few methods: numberOfKeysInGroup -> numberOfItemsInGroup, numberOfKeysInAllGroups -> numberOfItemsInAllGroups. This name change matches the API in YapDatabaseViewMappings (also UICollectionView). The previous methods have been marked as deprecated. 2014-05-15 17:59:10 -07:00
Robbie Hanson
1663a5bdef Upgrading project to use XCTest 2014-03-11 18:02:14 -07:00
Robbie Hanson
4c1397475a Bug fix: YapDatabaseFilteredView was not properly updated when its parentView changed groupingBlock or filteringBlock 2014-03-07 18:14:21 -08:00
Robbie Hanson
179aa0b328 Minor improvement to new unit test. Issue #52 2014-02-25 09:29:36 -08:00
Robbie Hanson
978a756bc5 Adding unit test for issue #52 2014-02-25 09:15:27 -08:00
Robbie Hanson
1f233c06c0 Bug fix: Changing the filterBlock of a YapDatabaseFilteredView wasn't properly notifying extensions dependent upon it. 2014-02-18 18:54:09 -08:00
Robbie Hanson
0df1ff4d4d Changing YapDatabaseView from using an "int version" to a "NSString *versionTag". This allows for increased flexibility, and makes it easier to include information such as the current localization or configuration info.
Also converting YapDatabaseFilteredView to use the same terminology.
2014-02-09 16:00:12 -08:00
Robbie Hanson
56200bce7f Adding unit tests for automatic unregistration of extension dependencies 2014-02-07 15:14:20 -08:00
Robbie Hanson
8fdea2dab0 Renaming all YapCollectionsDatabaseX classes to YapDatabaseX 2013-11-29 22:04:32 -08:00
Robbie Hanson
4572a3e593 MAJOR CHANGE : Dropping key/value datastore. The collection/key/value datastore will remain and become the new standard. 2013-11-29 20:19:29 -08:00
Robbie Hanson
6bec3414fa Adding ability to change filteringBlock on-the-fly, and get a corresponding diff to smoothly animate changes 2013-11-28 12:04:50 -08:00
Robbie Hanson
2848f711dd Working on YapDatabaseFilteredView 2013-11-21 20:01:29 -08:00