Thursday, May 26, 2011

iPhone oData Client, Part 2

In Part 1 of this series we set up an XCode project to use the Objective-C oData client and pulled some rows into a grid. In Part 2 we will move our service query into a background thread to keep our UI responsive. In addition, we will add some visual feedback and “pull to refresh” functionality.


You can view the screencast here (or right-click and download) (61MB).



Anonymous said...

Great post!

mark baer said...

JD, I am trying to convert my project to IOS 5 and getting rid of memory management...I had to clean the Odata classes up from releasing/retaining memory but I still get this message when I try to build.

//Line that is offending...
[attributeDict getObjects:(id*)&objects andKeys:(id*)&keys];

//build error message: Sending '__strong id*' to parameter of type '__unsafe_unretained id*' changes retain/release properties of pointer...

This is in the ODataXMLParser.m file. Do you know how to get around this?


Mark Baer
Burbank, Ca

Post a Comment