Mac Cocoa |
Author |
Message |
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Wed Apr 08, 2009 4:00 pm Post subject: Delegation & Notifications |
|
|
Jeff LaMarche - Differences in Delegation
"Today, I want to talk about another, slightly more subtle difference, which
is that Cocoa and Cocoa Touch implement delegates in completely different
ways." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Tue May 26, 2009 12:58 am Post subject: |
|
|
adc - Keyboard Notification User Info Keys
"UIKeyboardBoundsUserInfoKey - The key for an NSValue object containing
a CGRect that identifies the bounds rectangle of the keyboard. This value is
sufficient for obtaining the size of the keyboard. If you want to get the origin
of the keyboard on the screen (before or after animation) use the values ob-
tained from the user info dictionary through the UIKeyboardCenterBeginUs-
erInfoKey or UIKeyboardCenterEndUserInfoKey constants." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Wed Sep 30, 2009 5:54 pm Post subject: |
|
|
so - iPhone cocoa use of NSRunLoop
"You could use the delegate pattern on your ParkingSpots class, and call the
delegate when it finishes initialising." |
|
Back to top |
|
|
|