Skip to content

Instantly share code, notes, and snippets.

@bfernandesbfs
Created September 20, 2016 12:45
Show Gist options
  • Select an option

  • Save bfernandesbfs/baee35dd2bd33337e84838d23ea5800c to your computer and use it in GitHub Desktop.

Select an option

Save bfernandesbfs/baee35dd2bd33337e84838d23ea5800c to your computer and use it in GitHub Desktop.

Revisions

  1. bfernandesbfs created this gist Sep 20, 2016.
    6 changes: 6 additions & 0 deletions Keyboardable.swift
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    public protocol Keyboardable {
    var layoutConstraintsForKeyboard: [NSLayoutConstraint] { get }
    var addValueForKeyboard: CGFloat { get }
    func addKeyboardObservers()
    func removeKeyboardObservers()
    }