Quote:
Originally Posted by Hamood
I just try to learn objective c I watch video training (LYNDA) it was helpful.
|
Is this the one by Simon Allardice? I worked through that once...I don't have it now, but I might still remember bits.
Quote:
Originally Posted by Hamood
I wrote small program (I add text view and one bottom to change the color of text) build is succeed
|
Are there any warnings (about missing methods)?
Quote:
Originally Posted by Hamood
when I run on it simulator it is not working I checked code and interface builder it seems ok.
|
I believe you make the connections in IB, and don't manually write the target-action code for the button...?
The error message indicates that the button is wired up correctly (the method is being called). However, are you sure the method is there in WhatDayViewController.m? Even if it's a blank method, make sure that you have the method declaration
- (IBAction)displayDay{
// ...Some code
}
in that file. Even if you have a blank method, just make sure it's in there. You can implement it when you resolve the crash.
Quote:
Originally Posted by Hamood
Another question how to make X-code 3.2 projects work on Xcode 4.2.
Thanks for your help
|
I'm assuming you mean to change the SDK, not actually use Xcode 4 (which is under NDA)?
Make sure you actually have the 4.2 SDK installed. You should no longer have 3.2. If it doesn't automatically convert, go to Project > Edit Project Settings. In the Build tab, search for Base SDK. Change that to iOS 4.2.
Glad to be of service.