Spoiled by Java IDEs
Spoiled by Java IDEs
- Subject: Spoiled by Java IDEs
- From: James Boutcher <email@hidden>
- Date: Thu, 17 Jul 2008 21:25:34 -0500
So, I'm an experienced Java developer, trying to jump into the world
of Cocoa/Objc development... I'm really looking forward to being able
to whip up Cocoa apps... XCode, however, seems archaic compared to the
tools in the Java community (IntelliJ IDEA, Eclipse, ...) - but I'm
wondering if it's just ignorance on my part, of the tool, or the
language.
1) When defining a new method in a header file, it would really be
nice if I could click on the method name or something and say
"Generate skeleton implementation in .m file"
2) If I create a class which inherits from some other class (which I
guess is every class, eh), I'd love to be able to pick something from
a menu like "Override Methods of Superclass"... I'm a newbie, so how
in the heck am I supposed to know that my custom NSView subclass has a
method called "(void)displayRectIgnoringOpacity:(NSRect)rect" that I
can override?
3) Like #2, if I declare that my class is going to implement a
specific protocol, it would be nice to have some type of stub
generation for everything that protocol defines.
4) Maybe I don't get the shortcut keys or whatever, but when I call a
method which takes many named arguments (say, NSImage's
"drawInRect:drawingRect:fromRect:operation:fraction:" method), the
auto-completion is annoying to me as you start working through each
argument. For instance, when I type "[myImage drawInRect:]" and hit
tab, it appropriately highlights the complete first argument
(NSRect)rect, so I just type the name of my rect, and it's good.
Problem is, I can't seem to find a way to then proceed to the next
argument. If I hit tab, it just inserts a tab between the arguments. I
then have to cursor over after "fromRect:", and then highlight the
next argument's placeholder, then start typing... It's pretty
annoying, but this one I'm sure must be a case of user ignorance.
5) In interface builder, why isn't the IB smart enough to auto-
complete/suggest valid keypaths for me when I'm binding a component's
value to some keypath (through the bindings inspector)? This would
make things so much easier to just tell me what's available... The
list always has one item in the dropdown, "self"... Properties of my
object I'm binding it to are not in the list, and if I try to hit
escape to do auto-completion, well, the window closes :-)
--- Jim Boutcher
_______________________________________________
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