This website requires JavaScript.
Explore
Help
Register
Sign In
kylefang
/
RestKit
Watch
1
Star
0
Fork
0
You've already forked RestKit
mirror of
https://github.com/zhigang1992/RestKit.git
synced
2026-04-05 22:40:21 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
378aaac12b3eecdc4d724010876d5ebebf22b20d
RestKit
/
Code
/
Three20
History
Jeremy Ellison
378aaac12b
Topic and post creating, editing, and deleting
2011-01-11 12:32:18 -05:00
..
RKRequestFilterableTTModel.h
added caching for filteredObject on the filterable model class to prevent expensive filtering operations every time we grab the objects from the model; added code to prevent an automatic load in offline mode when we have no cached objects, as our use of an error condition to signal a request failed in offline mode triggers a three20 error overlay that we likely do not want in what should be considered a normal operating mode (e.g. app offline with no objects for a view is not an error)
2010-12-09 11:47:20 -08:00
RKRequestFilterableTTModel.m
added caching for filteredObject on the filterable model class to prevent expensive filtering operations every time we grab the objects from the model; added code to prevent an automatic load in offline mode when we have no cached objects, as our use of an error condition to signal a request failed in offline mode triggers a three20 error overlay that we likely do not want in what should be considered a normal operating mode (e.g. app offline with no objects for a view is not an error)
2010-12-09 11:47:20 -08:00
RKRequestTTModel.h
removed duplicate delegates on RKObjectLoader; inverted control for communicating request completion from RKResponse to RKRequest; added state tracking to RKRequest for loaded and loading states; changed queue processing logic to check request states before firing new requests; removed retains of RKObjectLoader from RKRequestTTModel since our queue is handling retains for all asynchronous RKRequest flavors; added separate state tracking to RKRequestTTModel since there are subtle differences between the meaning of loaded/loading in Three20 versus our RKRequest states; removed delegate forwarding code from RKObjectLoader since it is no longer an RKRequestDelegate (which was quite ugly to begin with); removed unnecessary error contructor for RKResponse that was only being used to fire delegate callbacks when an RKRequest failed to fire in offline mode; added TODOs to deep-dive into synchronous request handling
2010-12-02 13:22:38 -08:00
RKRequestTTModel.m
Topic and post creating, editing, and deleting
2011-01-11 12:32:18 -05:00
Three20.h
fix for mapper bug that was assuming a 1:1 mapping between object classes and elements; removed method from dictionary category that made the 1:1 mapping assumption that caused the mapper bug; collapsed the RKRequestModel and RKRequestTTModel classes into RKRequestTTModel; made changes to the Three20 integration to perform all cache loading and network loading in response to Three20 load calls; used isOutdated TTModel method to enforce refreshRate on RKRequestTTModel
2010-11-30 15:08:05 -08:00