I'm reading a book that shows how to design an application by Erica Sadun. I'm following what the author says but it seems that at some point I can't reproduce a step correctly.
The author drag&dropped a view controller and assigned the custom class "Hello_WorldViewController" to it. Later on she says to use the assistant editor, and that the code for this custom class will appear when the view controller is clicked in the Interface Builder. When I do this, I get "No Assistant Results".
She said that Xcode built it automatically but I had to manually create the class, which may work but I guess there's a cleaner way to do this. I searched around but couldn't find anything...
Any help? Thanks a lot! I've been confused with this since the beginning...
I'm reading a book that shows how to design an application by Erica Sadun. I'm following what the author says but it seems that at some point I can't reproduce a step correctly.
The author drag&dropped a view controller and assigned the custom class "Hello_WorldViewController" to it. Later on she says to use the assistant editor, and that the code for this custom class will appear when the view controller is clicked in the Interface Builder. When I do this, I get "No Assistant Results".
She said that Xcode built it automatically but I had to manually create the class, which may work but I guess there's a cleaner way to do this. I searched around but couldn't find anything...
Any help? Thanks a lot! I've been confused with this since the beginning...
Which book are you reading? She has a new version of her iOS cookbook series, "iOS 5 Developer's Cookbook." It's updated to cover Xcode 4.2, and is really, really good.
I'm guessing that you're using an older edition that is based on Xcode 3.x. Apple turned Xcode completely on it's head with Xcode 4, and anything written for Xcode 3 will not be very useful.
Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.
Which book are you reading? She has a new version of her iOS cookbook series, "iOS 5 Developer's Cookbook." It's updated to cover Xcode 4.2, and is really, really good.
I'm guessing that you're using an older edition that is based on Xcode 3.x. Apple turned Xcode completely on it's head with Xcode 4, and anything written for Xcode 3 will not be very useful.
First of all, thank you very much for your reply. I'm sorry for the delay in my reply, I thought nobody had wanted to help me.
Actually, I have the latest version. She says to add the custom class in the right bar and later on to access the code using the Assistant. I read it a few times to make sure I hadn't missed a step.
Could you explain me briefly how to create the code automatically for a custom class?
First of all, thank you very much for your reply. I'm sorry for the delay in my reply, I thought nobody had wanted to help me.
Actually, I have the latest version. She says to add the custom class in the right bar and later on to access the code using the Assistant. I read it a few times to make sure I hadn't missed a step.
Could you explain me briefly how to create the code automatically for a custom class?
I'm not quite clear on what you're trying to do.
What version of Erica's book are you using (exact title) and what version of Xcode are you using?
I have the iOS 5 developer's cookbook, and the first edition of Erica's book? If you have the iOS 5 cookbook, give me specific page numbers and recipes, and maybe I can help. If not, post whole passages of the instructions, and what you can't figure out.
Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.
What version of Erica's book are you using (exact title) and what version of Xcode are you using?
I have the iOS 5 developer's cookbook, and the first edition of Erica's book? If you have the iOS 5 cookbook, give me specific page numbers and recipes, and maybe I can help. If not, post whole passages of the instructions, and what you can't figure out.
I have the "The iOS 5 Developer's Cookbook: Core Concepts and Essential Recipes for iOS Programmers (3rd Edition)" and I use Xcode 4.2.1.
I decided to start from scratch and I still have a problem right at the beginning. On page 210, in the last chapter, she updates the top row's view controllers' class to Hello_WordViewController. Then on the first paragraph of page 211 she implies that the view view controller already had the custom class Hello_WorldViewController. It's not true in my case, the default class for the initial view controller is ViewController.