Having gathered your data you need to manage it somehow, which means it needs to live somewhere and also be available for your preferred access. Core data is only newly available for iPhone, so I won’t pretend to be an expert at it.
Before Core Data became available an NSDictionary may have normally been used. There are pros and cons – others might elaborate? If you need to persist your data then Core Data may certainly be your best choice. A really good reason to use Core Data is that is forces you to get your data model together properly.
In practice I think you’ll develop using some starter example that comes close to your own app. There are examples of UITableView-based apps available, which will show how to use either data management method, with editing and without editing. Personally, I think the hardest part is to properly use the UITableViewDataSource and UITableViewDelegate protocols in building your first Phone app, especially if editing is required.
If you do the obvious Google search for “core data iphone example” then you’ll get useful examples, and if you’re in the Apple developers’ program then there’s plenty of help there. There’s not a lot of use of me sharing code snippets. The big picture is what you need to know.
I’m not sure I’ve helped alot here, but be comfortable in choosing to use Core Data – the data modelling is useful in itself.
Once again this is out of band for this group, but the CCR Reference at http://code.google.com/apis/health/ccrg_reference.html in its discussion of each element, indicates which are mandatory. The choice of ObjectID is entirely up to the CCR generator, but that’s in the doc too J
From: gdata-objec...@googlegroups.com
[mailto:gdata-objec...@googlegroups.com] On Behalf Of Ash Kin
Sent: Wednesday, 11 November 2009 7:56 AM
To: gdata-objec...@googlegroups.com
Subject: Re: Extracting CCR File for iphone OS
Hi Greg,
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Google Data APIs Objective-C Client Library Discussion" group.
To post to this group, send email to gdata-objec...@googlegroups.com
To unsubscribe from this group, send email to gdata-objectivec-...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/gdata-objectivec-client?hl=en
-~----------~----~----~----~------~----~------~--~---
--
You received this message because you are subscribed to the Google Groups "Google Data APIs Objective-C Client Library Discussion" group.
To post to this group, send email to gdata-objec...@googlegroups.com.For more options, visit this group at http://groups.google.com/group/gdata-objectivec-client?hl=.
To unsubscribe from this group, send email to gdata-objectivec-...@googlegroups.com.
There are no examples in the library of modifying CCRs. You can look at the sample applications for other services in the library to see how to use the fetchEntryByUpdatingEntry: and deleteEntry: methods, but you'll have to figure out yourself how to modify the CCR XML using the GDataXML APIs.
Ash: The GDATA API that this group deals with, doesn’t know about a CCR. It is “blob” data as far it’s concerned. You’ll need to process that “blob” yourself using whatever you can find to work with the particular “blob” that is the CCR. Once you have your prepared the “blob” then GDATA has facilities for sending, deleting etc after picking the correct data feeds. As said, there are examples of sending, receiving “blobs” amongst the sample apps.
From: Ash Kin [mailto:ashk...@gmail.com]
Sent: Friday, 13 November 2009 1:24 PM
To: gdata-objec...@googlegroups.com
Subject: Re: Extracting CCR File for iphone OS
Thanks Greg,