Re: Type of text field used by Xcode's "Jump to Line"?
Re: Type of text field used by Xcode's "Jump to Line"?
- Subject: Re: Type of text field used by Xcode's "Jump to Line"?
- From: Kyle Sluder <email@hidden>
- Date: Tue, 13 May 2014 18:52:00 -0700
On May 13, 2014, at 6:31 PM, Ben Golding <email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden