Re: No completion in modifying class header?
Re: No completion in modifying class header?
- Subject: Re: No completion in modifying class header?
- From: Matt Neuburg <email@hidden>
- Date: Tue, 22 Nov 2011 17:38:36 -0800
On Tue, 22 Nov 2011 11:11:49 -0800, Laurent Daudelin <email@hidden> said:
>Quick question:
>
>When I'm modifying the header of an existing class, like adding a new property, why isn't the text editor offering completion on those keywords like "property", "nonatomic", "assign" and the others? As soon as I finish typing them correctly, they turn into that magenta color but if I try to press Escape after typing a few characters, a popup says "No completions". It works fine in the implementation file (.m) but seems to be non-working for the header. Anybody else?
I just tried @pro [escape] and got @property; then I tried non [escape] and got nonatomic. I would suggest that there is something wrong with your code higher up in the file (like you're not importing UIKit or there's some other syntax error like a misplaced semicolon); I find that when completion goes wonky it is nearly always due to something like that. m.
--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 4!
http://www.apeth.net/matt/default.html#iosbook _______________________________________________
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