On Jul 11, 2008, at 9:57 PM, Michael Ash wrote:
The key words here being "ever seen". Unless you have some more stuff
in your code, the compiler has never seen a
-foo:super:underConstruction: method.
Ahhh-hh! That I didn't know, thanks for the explanation.
Markus
--
__
On Fri, Jul 11, 2008 at 11:52 PM, Markus Spoettl
<[EMAIL PROTECTED]> wrote:
> On Jul 11, 2008, at 7:59 PM, Bill Bumgarner wrote:
>>
>> id mGrid;
>>
>> ... you would be indicating to the compiler that mGrid might potentially
>> respond to any method ever seen.
>
> I'm either misunderstand what you'r
On Jul 11, 2008, at 8:52 PM, Markus Spoettl wrote:
The only thing that removes that warning (for me) is an informal
protocol on NSObject that declares the method.
Meant to add this bit of code:
@interface NewRootClass
- (void) bobsYourUncle;
@end
int main (int argc, const char * argv[]) {
On Jul 11, 2008, at 8:52 PM, Markus Spoettl wrote:
On Jul 11, 2008, at 7:59 PM, Bill Bumgarner wrote:
id mGrid;
... you would be indicating to the compiler that mGrid might
potentially respond to any method ever seen.
I'm either misunderstand what you're saying or something is wrong
with
On Jul 11, 2008, at 7:59 PM, Bill Bumgarner wrote:
id mGrid;
... you would be indicating to the compiler that mGrid might
potentially respond to any method ever seen.
I'm either misunderstand what you're saying or something is wrong with
my compiler because this:
id bar;
[bar fo
On Jul 11, 2008, at 7:39 PM, Steve Weller wrote:
Why is this addition needed? I don't see it used in other code. It's
as though the compiler believes that conformance to a protocol
implies that it exclusively provides those methods, which is not the
idea of protocol conformance at all.
Tha
I have a protocol and an object that conforms to that protocol
referenced by an ivar:
@protocol FKPointArraySourcing
-(NSInteger)fooMethod;
@end
@interface FKObject : NSObject {
id mGrid;
}
If I attempt to retain the ivar like this:
[mGrid retain];
then I get a warning that "-retain w