Re: code completion fails on big chunks of API
Re: code completion fails on big chunks of API
- Subject: Re: code completion fails on big chunks of API
- From: Matt Neuburg <email@hidden>
- Date: Thu, 23 Sep 2010 14:04:15 -0700
- Thread-topic: code completion fails on big chunks of API
On Mon, 20 Sep 2010 09:02:01 -0700, Matt Neuburg <email@hidden> said:
>Why are whole sections of the API apparently immune to code completion? A
>clear example is gesture recognizers; type UITap and ask for completion, I
>get nothing. This is particularly maddening because the symbol names in this
>area are so long. :) Seems like a clear bug... UIGestureRecognizer is also
>not in my Class Browser, and option-dbl-clicking it brings up no header. Yet
>there is no problem building, so it's not like I'm failing to import/link
>correctly (it's part of UIKit anyhow). This is a clean 3.2.4 Xcode install.
>m.
Okay, I think I see the problem. It's that the header file for a new class
imports Foundation, not UIKit. So I'd say that's a bug.
Actually another way of looking at it is that code completion ignores the
pch file. The pch file is importing UIKit, so build and run works, but code
completion does not see that, so it doesn't. So you could say *that's* the
bug.
m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.apeth.net/matt/default.html#applescriptthings
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden