No ... i create UIButton *button brefore my forloop and i set the button properties in that forloop...
But i think the problem lies within my nib file... I've been playing around with it and I'm gonna try to explain what does what and i'm sorry if it's confusing..
1.
My nib has is a UIScrollVIew within I have a Libray item of type UIScrollView which is declared as an IBOutlet of my .h
My File's Owner view is inked to the ViewController.
If i unlink my outlet, the program runs without crashing, but i dont see my buttons
If i link the outlet to either the ViewController or the library item it crashes
2. My nib is a UIView within I have a library item of type UIScrollView with is declared as an IBOulter in my .h
My File's Owner view is linked th the UIview of the ViewController
If I unlink my outlet the app runs without crashing, but still no buttons
If i link my outlet to the UIScrollView item the app crashes.
Also don't know if it makes a difference but this is my interface declaration on my .h
@interface AlbumViewController : UIViewController {
....
IBOutlet UIScrollView *scrollView;
}
I was wondering if this helps to know what the problem is! Is my nib improperly setup? Should I not be using the UIOutlet and just try to set up my buttons on the viewController? Sorry if i'm confusing...
Thanks again for all the help...
Last edited by simply07; 12-09-2009 at 03:47 PM.
|