Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 808 Bytes

README.md

File metadata and controls

36 lines (26 loc) · 808 Bytes

KFURLBar

KFURLBar is a NSView subview that mimics Safari's url bar with a progress background.

Alt Example Screenshots

#Installation Add

pod 'KFURLBar'

to your podfile and run

pod install

#Usage

Drop a NSView in Interface Builder and change it's class to KFUrlBar. Set the delegate and you are ready.

You can customise the validation of an URL by implementing

- (void)urlBar:(KFURLBar *)urlBar isValidRequestStringValue:(NSString *)requestString

A detailed example is included. Checkout the master branch and run the Xcode project.

#License This code is distributed under the terms and conditions of the MIT license.

#Author Rico Becker
@ricobeck
https://twitter.com/ricobeck