On May 13, 2014, at 6:31 PM, Ben Golding <b...@object-craft.com.au> wrote:
> 
> 
> In an app I'm working on, I'd like to use a very basic text input field just 
> like the one used by Xcode's Navigate>"Jump in File" (aka, cmd-L) but I don't 
> know what it's called so I can't look it up.  Could someone let me know what 
> it's called?

You’re going to have to be more specific. What aspect of Jump to Line are you 
looking to replicate?

If it’s just the bits that convert keypresses to glyphs on the screen, that’s 
just an NSTextField.

If it’s the fact that it floats above the main editor window, you can just 
create a borderless NSWindow and put your NSTextField in it.

If it’s the autocompletion and resulting grow/shrink behavior, that is 
completely custom.

--Kyle Sluder

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to