| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
It should be an error, but I don't even get a warning when I forget to return self in an initializer. For example:
- (id)init
{
[super init];
/* Initialize member variables. */
/* Oops, I forgot to return self! */
}
| References: | |
| >How do I get the compiler to warn me if I forget to return self? (From: Issac Trotts <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.