• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: code-completion in 1.5 buggy? (2)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: code-completion in 1.5 buggy? (2)
      • From: Izidor Jerebic <email@hidden>
References: 
 >code-completion in 1.5 buggy? (From: Izidor Jerebic <email@hidden>)
 >Re: code-completion in 1.5 buggy? (2) (From: Izidor Jerebic <email@hidden>)

  • Prev by Date: Re: NSBorderlessWindowMask and Grey Radio Buttons
  • Next by Date: Re: Displaying string variables in debugger...
  • Previous by thread: Re: code-completion in 1.5 buggy? (2)
  • Next by thread: Re: code-completion in 1.5 buggy? (2)
  • Index(es):
    • Date
    • Thread