Re: Newbie questions about XCode
Re: Newbie questions about XCode
- Subject: Re: Newbie questions about XCode
- From: Jack Nutting <email@hidden>
- Date: Wed, 3 Feb 2010 14:29:34 +0100
On Wed, Feb 3, 2010 at 2:00 PM, Johan Lund <email@hidden> wrote:
> This only works when building. It does get rid of the annoying "save all" dialog which is good. But the problems with unsaved header files and switching to interface builder remains.
You think *that's* bad? In the good old days (up until, what, a year
or two ago?) Xcode and IB weren't in sync in the way they are today;
Not only did you have to save the header, you had to drag it over to
IB!
I'm actually pretty comfortable with the way it is now; The GUI shows
you pretty clearly when a file has unsaved changes, and I reflexively
hit cmd-s all the time anyway. It's almost like blinking.
> I disagree. To reduce usability complexity by not implementing time saving features is the wrong approach completely. Instead, complex applications should should adopt a layered approach where necessary functionality is present at first but advanced users can progressively tap into more functionality at their own will.
> This was just an example, other such features I use a lot is duplicate line, move line, delete line, auto indent line. All these features, once learned, are saving me hundreds of keystrokes every day and reduce "mental friction".
Note that Xcode lets you use most of the Emacs keyboard shortcuts.
Each of those things you mention can probably be done with a few key
sequences, but I'm not an Emacs guy, so I don't know what they are.
> That sounds like a great motto. But we're not quite there yet are we...
> Ok, I'm new at this but for example; I find myself copying method signatures right and left!
> When adding and outlet to a class I find myself adding a property declaration and then synthesizing it. This could all be done for me.
It could be, and it would certainly be an interesting option to have,
but like you say, we're not there yet. In the meantime, have you seen
the user scripts menu, between Window and Help? There you can define
scripts that will do interesting things for you. A few examples
exist, such as the ones in the Code submenu: you select an ivar, then
use one of those items to put the accessor definitions or declarations
onto the pasteboard, ready for pasting into your code. That's not
quite the same as you're asking, but I bet you could make a script of
your own (using one of the existing ones as a starting point) that
would help remove some of the pain.
--
// jack
// http://www.nuthole.com
_______________________________________________
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