The Wayback Machine - https://web.archive.org/web/20201016214743/https://github.com/lukakerr/OpenQuickly
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

OpenQuickly

Swift 5 Platform Github

A custom 'open quickly' window that imitates macOS' Spotlight, written in Swift.

Installation

CocoaPods

pod 'OpenQuickly', :git => 'https://github.com/lukakerr/OpenQuickly.git'

Usage

A demo can be found at OpenQuickly Demo. Everything outlined below can be found in the OpenQuickly Demo ViewController.

Most of the functionality is provided already, but some options can be implemented to control the look and feel of the OpenQuickly dialog.

Options

Options include:

  • Font used
  • Radius of window
  • Width and height of window
  • Max number of matches shown
  • Height of each matches row
  • Placeholder text
  • Whether to persist the window position
  • Padding (i.e. edge insets)
  • Material (i.e. theme/window appearance)

If there are any options you think are missing, please raise an issue.

Delegate

You must set your OpenQuicklyOptions instance's delegate to a class that conforms to OpenQuicklyDelegate.

This allows you to get when an item was selected, return an array of matches when a value is typed into the search field, and provide your own custom view to be used as the view for each row in the matches list.

Screenshots


About

A custom 'open quickly' window that imitates macOS' Spotlight

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.