4 ms·
You could solve this easily by only activating it after a period of inactivity. Stop typing for a second, and the suggestion box pops up. I think it would save
by grinich 16y ago
You could solve this easily by only activating it after a period of inactivity. Stop typing for a second, and the suggestion box pops up.
I think it would save a lot of typing with the UIViewAutoresizingMasks. Those are always a pain.
- potatolicious 16y agoYou misunderstand what I mean - personally I find it impossible to remember the crazy number of enums that iPhone programming foists upon you, so the popup of options is greatly welcome. The thing I don't like about that is that instead of displaying the name of the enum, it displays a human-friendly name. I love the menu, but I'd rather not move my mouse to select one of the options, nor move my hands to the arrow keys to navigate it. It'd be great for the popup menu to provide the actual programmatic name (along with the awesome visual aid of what the enum actually means) so I can just start typing the first few characters of what I want, hit TAB, and complete it. Similarly, if I want to include an image, the popup with the image previews is awesome, but I'd rather not have to move my mouse to scroll through it and pick it out. Odds are I have some notion of what the name begins with.
- Zev 16y agoYou could solve this easily by only activating it after a period of inactivity. Stop typing for a second, and the suggestion box pops up. Xcode has a preference (well, two) that help out with autocorrection. I heard about it at last WWDC, and can definitely see the tip being mentioned again at the next one (that is, if you're going to WWDC and go to the Xcode presentation). I believe the key I changed/added after the presentation is: <key>XCCodeSenseAutoSuggestion</key> <string>Immediate</string> And possibly: <key>XCCodeSenseAutoSuggestionDelay</key> <real>0.5</real> that may be related. Basically, it lets me hit enter to autocomplete methods/functions/classes/etc right away and only showing whats actually available to the class. If those aren't it -- and someone wants -- I'll skim/rewatch the Xcode presentation from last year and look it up. And built into every Cocoa app: Hit escape while typing and it will show you a list of available completions. In Xcode, this ends up being potential classes and methods available from the framework.