App closes immediately in SDK simulator
I recently started playing with iPhone SDK.
Been studying "Beginning iPhone 3 Development Exploring the iPhone SDK" by Dave Mark and Jeff LaMarche.
I'm up to chapter 4 and stuck now.
Whenever I Build and Run, the app opens then closes itself immediately on the simulator. All I see is a black background for few seconds.
Can someone please tell me why?
If anyone has read the same book, everything was fine up to the slider part (page 81), so I'm guessing I did something wrong between there and page 87?
Thank you so much!