views:

39

answers:

1

In a Cocoa app I added a UISlider. If I run the program without adding any code then I can drag the slider left and right. However, if I assign an IBOutlet to it, once I touch the slider, the application exits. Why is that?

A: 

Alright, I solved the problem. If I make the application a Window-based application, then I don't have any problems. If I make the application a View-based application, then the problem occurs. Why is that?

Phenom
I just created a view-based (iPhone) app; added a UISlider and connected it to an IBOutlet in my controller sub-class. Build, run and… no-crash. If you have a minimal Xcode project delete the <build> folder and zip everything and send it to me: <geowar1 @ mac.com> (no spaces). If I can reproduce the crash I'll figure out why and post a response here.
geowar