Re: code-completion in 1.5 buggy? (2)
Re: code-completion in 1.5 buggy? (2)
- Subject: Re: code-completion in 1.5 buggy? (2)
- From: Scott Thompson <email@hidden>
- Date: Thu, 19 Aug 2004 10:30:22 -0500
On Aug 19, 2004, at 7:33 AM, Izidor Jerebic wrote:
Well, I have got an interesting example. In the following code, in the
first line (if) everything works for "item", but in the second line
(else) the completion does not work for "item" (e.g. deleting last 'e'
from valueForAttribute and asking for the completion). This code
compiles just fine. Suggestions?
if( ![item hasAttribute:@"test"] ) i++ ;
else i += [[item valueForAttribute:@"test"] intValue] ;
izidor
Not that it's a good general solution, but try the following just to
see what happens:
In front of "item" put a typecast operator that explicitly identifies
the type of "item"
So if item is declared as "MyWhizzyType *item", try changing your line
to:
else i += [[(MyWhizzyType *)item valueForAttribut<cursor here>
and see if the code completion works better. If it does, that may help
you formulate a bug report.
Scott
--
Macintosh Software Engineering Contractor for Hire
Resume available at <http://homepage.mac.com/easco/RSTResume.html>
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.