Freshman's simple notes

1 view
Skip to first unread message

classfish

unread,
Dec 12, 2011, 11:29:02 PM12/12/11
to iOS development
I have just learned to develop iPhone app for some days. At the
beginning, I used an old mac mini and an iPhone 3GS for study. But
after two weeks, I got a new macbook. It's a fortunate thing but also
an unfortunate thing. Why I said it unfortunate is just because that I
haven't been familiar with the mac system and the iOS development IDE.
So I have to restart my study task on the new mac. Then I ran into a
problem with my simple slider program using the Xcode 4.2. I thought
out this problem for a long time. I just ignored the automatically
generated code "self.window = [[[UIWindow alloc] initWithFrame:
[[UIScreen mainScreen] bounds]] autorelease]". It generated a new
layer over the window and let me could not click the slider on the
window.
I think if I did not add the slider, label and button to the window
directly, and just add them to another view, that automatically
generated code would work well. I need to try more times to know the
whole code's meaning.

Just write this words to encourage myself!

Reply all
Reply to author
Forward
0 new messages