43 Commits

Author SHA1 Message Date
Kyle Fang
33a292d0c2 Fix delegate 2014-05-23 23:15:47 +08:00
NicholasTD07
873882cd68 Release 0.1.0. 0.1.0 2014-03-10 21:42:08 +08:00
NicholasTD07
e80ee41bac Added requirement for ARC in Podspec file. 2014-03-10 21:35:03 +08:00
NicholasTD07
2a746ce6c8 Reordered lines in Podspec file. 2014-03-10 21:34:42 +08:00
NicholasTD07
d813c39df4 Added documentation for performFetch method. 2014-03-10 17:32:39 +08:00
NicholasTD07
23834f86e3 Deleted last test.
Because Sut’s performFetch method can not be called in the getter of Sut’s fetchedResultsController.
This will cause these two methods calling each other resulting in a infinite loop.
2014-03-10 17:29:10 +08:00
NicholasTD07
435657138c Last commit was wrong. Oops. 2014-03-09 21:07:07 +08:00
NicholasTD07
3c724def8a Minor change. 2014-03-09 21:00:17 +08:00
NicholasTD07
627ef15228 Test Sut’s performFetch method is called after creating new FRC. 2014-03-09 20:57:47 +08:00
NicholasTD07
dd8b02f3ee Code to pass the test. 2014-03-09 20:55:19 +08:00
NicholasTD07
02018e247c Test Sut logs error which occurs during FRC is fetching. 2014-03-09 13:19:51 +08:00
NicholasTD07
25acd6650a Renamed test to testSutWillLogFailureIfFRCsFetchFailed. 2014-03-09 13:14:48 +08:00
NicholasTD07
db4e2d521a Code to pass the test. 2014-03-09 13:12:49 +08:00
NicholasTD07
f80bc3a7be Test if Frc’s fetch fails then sut’s log is called. 2014-03-09 12:53:17 +08:00
NicholasTD07
b14fe736d7 Code and fake object to pass the test. 2014-03-09 11:52:55 +08:00
NicholasTD07
22194e7973 Test if tableView’s method reloadData is called when Sut’s performFetch is called. 2014-03-09 11:48:48 +08:00
NicholasTD07
949ec1e18d Added code and fake objects to pass the test. 2014-03-09 11:46:06 +08:00
NicholasTD07
b31ab92b8e Added Prefix header. 2014-03-09 11:43:44 +08:00
NicholasTD07
e6ddb0c380 Test Frc’s performFetch is called when SUT’s performFetch is called.
When Sut’s fetchedResultsController is not nil, and its performFetch is called,
its fetchedResultsController’s performFetch method should be called.
2014-03-09 11:32:20 +08:00
NicholasTD07
ba5ae2aea0 Deleted testExample method in NTDCoreDataTableViewControllerTests. 2014-03-09 11:21:50 +08:00
NicholasTD07
daba97e8c2 Release 0.0.3. 0.0.3 2014-03-08 16:47:52 +08:00
NicholasTD07
36fc86f000 Added License, ReadMe, and Podspec files. 2014-03-08 16:46:50 +08:00
NicholasTD07
cadd36eee1 [FIX] Set fetchedResultsController to nil in viewWillDisappear: method.
Otherwise it will cause crash sometimes.
2014-03-08 16:45:24 +08:00
NicholasTD07
e45f91b7c0 Added Tests folder in. 2014-03-08 16:42:44 +08:00
NicholasTD07
38a00a34aa Added Xcode project and its Project Settings. 2014-03-08 16:42:05 +08:00
NicholasTD07
0db3cd903a Merge branch 'master' of https://github.com/NicholasTD07/NTDCoreDataTableViewController
Because I first wrote a wrong version commit message, and then I pushed it to the remote. I fell so stupid.
2014-03-03 12:04:24 +08:00
NicholasTD07
4e1c23e54f Release 0.0.2. 2014-03-03 11:57:08 +08:00
NicholasTD07
118497b3ca Release 0.0.1. 0.0.2 2014-03-03 11:55:05 +08:00
NicholasTD07
992b9917e8 Deleted unnecessary comment. 2014-03-03 11:53:36 +08:00
NicholasTD07
371abbbe74 Changed description in podspec. 0.0.1 2014-03-03 11:35:00 +08:00
NicholasTD07
1344ae8fb7 Added podspec file. 2014-03-03 11:31:39 +08:00
NicholasTD07
ac93d7b535 Added import for CoreData to pass CocoaPods' validation. 2014-03-03 11:30:45 +08:00
NicholasTD07
f0ec382fd2 Moved class files into NTDCoreDataTableViewController folder. 2014-03-03 11:19:16 +08:00
NicholasTD07
48be5fbaaf Minor change.
Deleted an empty line in the top comment in both .h and .m files.
2014-03-03 11:17:33 +08:00
NicholasTD07
5f48bd109a Merge branch 'master' of github.com:NicholasTD07/NTDCoreDataTableViewController 2014-03-03 11:03:13 +08:00
Nicholas T
eeb990242e Initial commit 2014-03-02 19:00:19 -08:00
NicholasTD07
851084e014 Using dot notation for NSIndexPath properties. 2014-03-03 10:51:32 +08:00
NicholasTD07
583daec223 Removed the potentially wrong assert for indexPath.section. 2014-03-03 10:51:30 +08:00
NicholasTD07
903fd5029b Corrected NTDCoreDataTableViewController to confirm NSFetchedResultsControllerDelegate Protocol. 2014-03-03 10:51:30 +08:00
NicholasTD07
3cc0d9f97e Minor change in NTDCoreDataTableViewController.h. 2014-03-03 10:51:28 +08:00
NicholasTD07
db801fec54 Extracted more into NTDCoreDataTableViewController. 2014-03-03 10:51:28 +08:00
NicholasTD07
404476b6bb Extracted a new class: NTDCoreDataTableViewController.
Refactored some common things of a UITableViewController which is based on CoreData into this class.
2014-03-03 10:51:25 +08:00
NicholasTD07
c22c1bf94c Extracted a new class: NTDCoreDataTableViewController.
Refactored some common things of a UITableViewController which is based on CoreData into this class.
2014-03-03 10:51:25 +08:00