| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
They're bound "as needed" during runtime, not at applaunch, so as users
pop open new windows (for instance) they are bound at that moment. Once
bound, it's smooth sailing, but the user does have to wait for binding
to take place that very first time that object is used/referenced.
- (IBAction)myAction:(id)sender {
[NSThread detachNewThreadSelector:@selector(winONE:) toTarget:self
withObject:nil];
[NSThread detachNewThreadSelector:@selector(winTWO:) toTarget:self
withObject:nil];
}
Notice that I give the 'id' window a head start. Even with the head
start, the 'id' window is drawn **long** after the statically typed
window and it's statically typed textfields are completely drawn to the
screen.
In small doses, it's not very noticeable, but if you overuse id, it does
start to become noticeable to the user.
| References: | |
| >Re: What is the purpose of static typing? (From: Philip George <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.