
Jonathan Lehr
President
AboutObjects
Please check out the new examples we just posted:
http://www.aboutobjects.com/tutorials.htmlFrom the official press release:
Reston, VA - About Objects today released a new set of iPhone 3.0 developer examples as free, downloadable Xcode projects. The example projects form a progressive series designed to take developers from the rudiments of iPhone programming through the development of sophisticated iPhone productivity apps.
The examples released today focus on showing developers how to create iPhone apps without using Interface Builder, since many developers have found Interface Builder confusing initially. About Objects plans to release a set of corresponding iPhone 3.0 examples later this summer that show how to accomplish the same things using Interface Builder, allowing developers to compare the projects side-by-side to get a better understanding of the role that Interface Builder plays.
Developers are free to use the examples for their own learning, and can even use the example code in their own projects if they so choose. Among the example projects included in the initial (1.0) release are the following:
* First App demonstrates the basic steps to configuring an iPhone app's user interface programatically, without requiring an Interface Builder (.nib) file.
* Editable Detail View demonstrates the use of controls such as text fields and buttons, including how to connect controls to the code that implements their behavior.
* Animating a View introduces developers to the fundamentals of using Core Animation to animate view transformations.
* Simple TableView demonstrates how to configure a table view programatically to present a list of values.
* TableView with Navigation builds on the Simple TableView app to show how to use a navigation controller to manage navigating from a list to a detail view by tapping on a table row.
* Editable TableView demonstrates how to add, remove, and reorder rows in a list view, and how to edit model object property values in a detail view.
* TableView File Persistence shows how to create and populate a list of model objects from a property list (plist) file, and how to persist changes to the list.
- Jonathan

Giovambattista Fazioli
CTO
Saidmade Srl
Hi,
I download the firstApp and it's very interesting.
One question. In this sample there are only WiggleView files without a WiggleViewController.
If I understand the controller is necessary only if I have to use Interface Builder.
It's right?
GF

Jonathan Lehr
President
AboutObjects
No, using Interface Builder doesn't change the way classes are used at all -- it just changes where instances are configured (i.e. in Interface Builder rather than in your code).
The only reason we avoided using a view controller in the first example was to keep the code as simple as possible.
- Jonathan

Moshi Sumo
None
hi;
i'm testing your TableView File Persistence (which is a great tutorial).
but i'm loosing myself in trying to put a new table before the authors : i'd like a country table before we go to the authors.
for example : there's 2 countries : russia and usa, if i click on russia only tolstoy appears...then the details for tolstoy
did i make myself clear?
any help will greatly appreciated
regards

Jonathan Lehr
President
AboutObjects
Hi Moshi,
Thanks, I'm glad you liked the tutorial!
I'd be happy to try to help with the changes you mentioned. Are you just having difficulty figuring out where to start, or have you run into specific problems with your implementation?
-Jonathan

Moshi Sumo
None
hi jonathan,
thanks for your quick answer.
as you can imagine i'm not an expert ;-)
so, when i look at the code i understand the way you wrote it. almost...
for what i want to do, i think it's a story about "children" as i've seen in other tutorials as "drilldownapp"
but i can't figure how to implement it in your tutorial, or maybe there's another way to do it
regards

Jonathan Lehr
President
AboutObjects
Unfortunately, it would require a fairly lengthy article to explain it all. The best place to start would probably be Apple's documentation; in particular, you might want to carefully read their Table View Programming Guide for iPhone OS.
Other than that, it might be helpful to start with the simplest examples on our tutorials page and gradually work your way through them. iPhone programming has shown itself to be fairly difficult for even experienced developers to learn on their own -- which of course is why we offer iPhone training!
-Jonathan

Greg Walters
Self
Jonathan,
Thanks so much for sharing your examples with all of us.
I have a question about the TableView File Persistence example. When you slide to the DetailController, I see that the table cells scroll up when ever the keyboard will cover them. However, I cannot see how you are doing this! In the research I've done, I've seen may techniques for handling the keyboard to keep fields visible and see nothing in this example. How is it being done?
Thanks.
Greg Walters

Jonathan Lehr
President
AboutObjects
Hi Greg,
Thanks for your question. I wish I could take credit for that, but actually that's built-in UITableView behavior.
-Jonathan

VIKI NARA
JTC
Hi
I am a newbie to iphone programming. Your tutorials really helped me a lot.I am developing a small app for learning purpose.I used your Editable Tableview tutorial as a reference. I want to save the user entered textField data to plist. I know how to save data in textField to plist but am not able to save the data that is in UITableviewcell. Please help me with this. Also i recommend writing a tutorial on saving data to plist so that it will be helpful for newbies like me.
Thanks in Advance
Viki

Jonathan Lehr
President
AboutObjects
Hi Viki,
Thanks for your question. Working with editable UITableViewCells is covered in the final tutorial in the series, TableView with File-Based Persistence. Please review that carefully and then let me know if you have any questions. The more specific the question is, the better I'll be able to answer it.
-Jonathan
Edited one time. Last edit by Jonathan Lehr on Mar 24, 2010 at 3:43:11 PM (about 15 weeks ago).

VIKI NARA
JTC
Thanks
Viki
Edited 2 times. Last edit by VIKI NARA on Mar 29, 2010 at 1:38:28 PM (about 15 weeks ago).

VIKI NARA
JTC
..
Edited one time. Last edit by VIKI NARA on Mar 29, 2010 at 1:38:45 PM (about 15 weeks ago).

VIKI NARA
JTC
[img]
Edited one time. Last edit by VIKI NARA on Mar 26, 2010 at 9:24:17 AM (about 15 weeks ago).

VIKI NARA
JTC
Hi
Edited one time. Last edit by VIKI NARA on Mar 29, 2010 at 1:39:41 PM (about 15 weeks ago).

Jonathan Lehr
President
AboutObjects
Hi Viki,
You said you're having a problem, but so far you haven't said what the problem is. If you give me a specific question, I'll try my best to help.
However, it sounds to me as though you're trying to write an application by modifying example code without understanding how it works. That's usually a recipe for disaster. It's nearly impossible to write an iPhone app without having a reasonable understanding of Objective-C and the Foundation and UIKit frameworks.
- Jonathan

VIKI NARA
JTC
Viki
Edited one time. Last edit by VIKI NARA on Mar 29, 2010 at 12:00:53 PM (about 15 weeks ago).

Jonathan Lehr
President
AboutObjects
Viki,
Why did you repost what you wrote on the 26th?
- Jonathan

VIKI NARA
JTC
sorry by mistake....Now I am able to display rows but i am unable to delete and add new rows.
Otherdriver *tableViewController = [[Otherdriver alloc]
initWithStyle:UITableViewStylePlain];
[self setListController:tableViewController];
In this step it says that otherdriver may not respond to setListController. similarly,
here also
UINavigationController *navController = [[UINavigationController alloc]
initWithRootViewController:tableViewController];
[self setNavigationController:navController];
otherdriver may not respond to setNavigationController.
I am not sure how to modify these lines if my viewController is not a rootViewController(mainView).
please help with some ideas. Awaiting your reply.
thanks
viki
Edited one time. Last edit by VIKI NARA on Mar 29, 2010 at 12:03:26 PM (about 15 weeks ago).

Jonathan Lehr
President
AboutObjects
Hi Viki,
This forum is a place for people to post specific questions, and we do our best to respond to those. However, it's not a place to get training, mentoring, or development services for free.
You can't learn iPhone development by posting to forums -- the technology is far too complex for that. And it's really not reasonable to expect knowledgeable iPhone developers to donate that much of their time.
-Jonathan

VIKI NARA
JTC
Hi Jonathan
Thanks for ur time and help. I learnt a lot from ur tutorials. Maybe i am not able to explain my doubt to u properly. Anyways thank u so much for ur efforts in trying to solve my problem. Looking forward more tutorials and articles from you for newbies like me.
Thanks
Viki.

Bil Repenning
Software Engineer
Intercall
Hi!
These are fantastic! I am kind of in the same boat as Greg Walters though, I'm afraid. I understand that you are saying the ability to switch between cells is built into UITableView but that does not seem to be the default behavior with Custom cells. It's the auto scrolling -as each new cell is selected -that is giving me trouble. Is it possible for you to do a tutorial explaining the scrolling as well? I have a custom cell project similar to yours and I can not figure out how you are getting this "built in" functionality to work ;). Possibly tags? Not sure what I'm missing.
Thanks again for the great examples!
Edited one time. Last edit by Bil Repenning on Mar 30, 2010 at 5:48:40 AM (about 15 weeks ago).

Sel Va
INA
Hi Jonathan
thanks for the tutorials. very much helpful for beginners. In the file based persistence tutorial, when i tried to implement it in my application it adds the data in the rows but doesn't seem to delete it. i declared the [_listController save] in the applicationwillTerminate in the appDelegate and i have used -
(void)applicationWillTerminateNotification:(NSNotification *)notification {
[_listController save];
} in my viewcontroller. Still it doesnt save the deletion of rows. Bit confused.
Any help would be greatly appreciated.