Commit Graph

41 Commits

Author SHA1 Message Date
Jawwad Ahmad
abb46c382c Ensure the stars for all pointers belong to the variable rather than the type. Refs #614 2012-06-04 22:47:30 -04:00
Jawwad Ahmad
eaa5484b01 Placing opening braces on a new line for methods to match Apple convention. Refs #614
Used uncrustify's "nl_fdef_brace = add" option to detect issues.
2012-06-04 00:36:19 -04:00
Blake Watters
016f13dad0 Convert all tabs to four spaces. refs #743 2012-05-17 18:10:59 -04:00
Blake Watters
fcb973056b Cleanup trailing whitespace. refs #743 2012-05-17 18:00:16 -04:00
Blake Watters
457a6126cf Refresh copyright notices for all source files 2012-04-04 09:08:54 -04:00
Blake Watters
3d0f0ab39e Introduced the RKTableController component for iOS.
RKTableController provides a flexible, integrated system for driving iOS table views using
the RestKit object mapping engine. Local domain objects can be mapped into table cells within a
collection or presented for editing as part of a form. There are three flavors of table controllers
available:

* Static Tables: RKTableController can be used to render simple static tables that are composed of RKTableItems
presented in RKTableSections. Table items can quickly be built and added to a table without a backing model
or can have content object mapped into them for presentation.
* Network Tables: RKTableController can also render a table with the results of a network load. The typical use
case here is to have RestKit retrieve a JSON/XML payload from your remote system and then render the content into
a table.
* Core Data Tables: RKFetchedResultsTableController can efficiently drive a table view using objects pulled from a
Core Data managed object context. Typical use-cases here are for the presentation of large collections that are
pulled from a remote system, offering offline access, or speeding up a UI by using Core Data as a fast local cache.

RKTableController supports a number of bells and whistles including integrated searching/filtering and pull to refresh.
2012-02-10 16:30:54 -05:00
Christopher Swasey
b3c5ba62d2 Replace the XMLParser with one based on Insert-Witty-Name/XMLReader 2012-01-24 12:01:47 -05:00
Blake Watters
5a92a661a8 Fix spelling errors for Cacheing -> Caching 2012-01-20 10:21:56 -05:00
Blake Watters
479864902b Fixed all build warnings on OS X Framework target 2011-12-08 23:23:20 -05:00
Blake Watters
8ca1a5bd99 Remove relative import paths from Parsers 2011-12-02 09:27:23 -05:00
Blake Watters
5b718890ac Checking in work in progress on the library reorganization 2011-12-02 09:26:35 -05:00
Blake Watters
19738ff61f Update outdated comments in the XML parser header 2011-09-26 20:05:22 -04:00
Parker
a58eb6dcf2 Added Apache License to files in Support/Parsers directory 2011-09-07 11:58:16 -04:00
Blake Watters
32461e916f Added support for parsing XML containing CDATA content. fixes #327 2011-09-03 14:30:07 -04:00
Blake Watters
3832ec7b9f Added new unit tests for XML support and merged fixes from @Edubits pull request #262 and changes from @cellcortex #314. Attributes and nesting should behave better. closes #262, #314 2011-08-27 18:44:46 -04:00
Robin Eggenkamp
30826a0b8f Fixed XML parser
The XML parser did put attributes in a strange place in the hierarchy,
which caused them to be overwritten when multiple elements exists with
the same attribute.
2011-08-27 18:44:46 -04:00
Evan Cordell
f73888e4a3 Added NextiveJSON as a JSON parser. 2011-07-28 17:53:19 -04:00
rehos
d46dcef8fe RKJSONParserSBJSON serializes itself instead of the object 2011-07-27 21:29:37 +03:00
Rémy SAISSY
69460fdc4f YAJLGenOptionsIncludeNone -> YAJLGenOptionsIncludeUnsupportedTypes thus enabling NSURL properties to be serialized as string. 2011-06-30 09:40:41 +02:00
Victor Kryukov
00ee7e93c3 Code cleanup: **error may be null as per coding standards in 'Creating and Returning NSError Objects' (found with Analyzer) 2011-06-20 10:49:39 -04:00
Blake Watters
3bf4b7bc0f Implemented nested mapping for structures similar to the BuildBot JSON structure. fixes #112 2011-06-17 15:36:28 -04:00
Jeremy Ellison
130135013c fix xml parser from overwriting dupe keys. Add a spec for this case. 2011-06-16 17:55:06 -04:00
Blake Watters
3dd7361116 Pushing code up for Jeremy 2011-06-16 17:11:13 -04:00
Blake Watters
2493828414 Make imports of RKParser relative so they resolve correctly outside of the library project 2011-06-13 08:33:34 -04:00
Blake Watters
f3c0995d5e Implementation of Object Mapping 2.0 design:
* Removed RestKit from inheritance hierarchy
  * Mappings are implemented as concrete classes
  * Mapper is much more flexible & powerful
  * Much more robust error handling
  * Serialization is reimplemented as an object mapping operation
  * Added ability to serialize to JSON natively
  * Reworked Core Data integration
  * Simplified the codebase substantially
2011-06-11 19:26:56 -04:00
Jeremy Ellison
40b7363004 Stop leaking memory in the XML parser (call xmlFree() after xmlNodeGetContent()). 2011-05-27 13:00:23 -04:00
Blake Watters
9af6a59c79 Initial implementation of documentation generation using the Appledoc parser. refs #48
* Cleaned up various mismatches in method signatures that were preventing documentation generation
* Removed naked ampersands from comments as they cause XML parser failures during docset generation via appledoc
2011-04-14 22:55:58 -04:00
Jeremy Ellison
322599e14a Updates from development of Go Try It On v2.0:
* Updates YAJL Parser not to raise an exception and crash when it encounters invalid JSON. The other parsers need to be aligned with this behavior and the delegate methods updated. See Pivotal Story: https://www.pivotaltracker.com/story/show/11925617
* Added requestDidCancel: delegate invocation for tracking cancellation of requests.
* Ensure that the request queue timer is cleared during indeterminate deferral of request loads.
2011-04-05 10:02:34 -04:00
Blake Watters
a298bc4dcf Fix build problems 2011-03-27 22:53:08 -04:00
Blake Watters
227f35a20d Merge branch '0.9' into xml-parser
Conflicts:
	Examples/RKTwitter/Classes/RKTwitterViewController.m
	README.md
	RestKit.xcodeproj/project.pbxproj
2011-03-27 22:29:19 -04:00
Blake Watters
6ae94fb0bf Cleaned up target name and dependencies for XML support 2011-03-27 22:03:32 -04:00
Jeremy Ellison
6a4b3d78b3 Merge branch 'unit-testing' into xml-parser
Conflicts:
	RestKit.xcodeproj/project.pbxproj
2011-03-23 10:34:02 -04:00
Jeff Arena
e938a4d277 add support for jsonkit parser 2011-03-16 20:21:36 -07:00
Jeremy Ellison
4bb021e0c7 add attribute parsing to RKXMLParser 2011-03-15 10:21:26 -04:00
Jeremy Ellison
a49977c906 make RKXMLParser support RKParser protocol 2011-03-01 12:44:10 -05:00
Jeremy Ellison
bf25a17678 add RKXMLParser 2011-03-01 12:42:59 -05:00
Jeremy Ellison
6a5ee2af7e Revert "Remove per-file copyrights"
This reverts commit 91e7c6bb5e.
2011-01-12 15:27:19 -05:00
Jeremy Ellison
91e7c6bb5e Remove per-file copyrights 2011-01-12 15:05:22 -05:00
Jeremy Ellison
340e587704 Refactor JSONRepresentation to stringFromObject: on RKParser. Fixes https://github.com/twotoasters/RestKit/issues/#issue/6 2011-01-03 12:40:20 -05:00
Jeff Arena
89f26fbe7f fix use of released object in debug message by relocating the release call 2010-10-19 10:28:34 -04:00
Blake Watters
bd93d43f94 Finished split into more logical components. Library now copies Headers to Build/RestKit and you can selectively link against the components your app needs. libRestKit.a contains everything from the core library. 2010-10-01 13:02:24 -04:00