Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
KFURLBar is a NSView subview that mimics Safari's url bar with a progress background.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Images
KFURLBar.xcodeproj
KFURLBar added static library target. fixed crash on nil address string.
.gitignore Remove default URL validation
KFURLBar.podspec
LICENSE
README.md

README.md

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

Something went wrong with that request. Please try again.