[Biococoa-dev] initWithSymbol
Koen van der Drift
kvddrift at earthlink.net
Sat Mar 12 07:17:39 EST 2005
On Mar 12, 2005, at 6:52 AM, Alexander Griekspoor wrote:
> The problem is that you haven't told the compiler which class it
> should lookup the method in... (for instance: [(id)theObject
> initWithChar: 'a'] will give you the problem, [(BCSymbol *)theObject
> initWithChar: 'a'] will not).
So would it be safe to have it return BCSymbol instead of id? Or is
there anotherSolution, maybe use initWithSymbolChar?
- Koen.
More information about the Biococoa-dev
mailing list