Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 12-09-2009, 03:04 PM   #7 (permalink)
simply07
Registered Member
 
Join Date: Jun 2009
Location: Montreal, QC
Posts: 16
simply07 is on a distinguished road
Default

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.
simply07 is offline   Reply With Quote
 

» Advertisements
» Online Users: 829
23 members and 806 guests
ADY, Agenor, baja_yu, cgokey, dansparrow, Duncan C, fkmtc, ilmman, imac74, iram901, kosicki123, latoncefrank, maggyparker, muchless, mwyld, nestochi, Promo Dispenser, raidu, SillyHoney, stanny, ubaid, xltke, _MAK88_
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,387
Threads: 94,003
Posts: 402,461
Top Poster: BrianSlick (7,978)
Welcome to our newest member, latoncefrank
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:43 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.