Latest 1.5.0
Homepage https://github.com/mkoehnke/LongPressRecordButton
License MIT
Platforms ios 9.0, requires ARC

Twitter: @mkoehnke
Version
License
Platform

Simple and easy-to-use record button for iOS, that enforces a long press (and shows a tooltip when short-pressed) similar to the Instagram app. Take a look at the sample project for further information.

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate the LongPressRecordButton into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
use_frameworks!

pod 'LongPressRecordButton'

Then, run the following command:

$ pod install

Manually

Copy the LongPressRecordButton.swift file to your Swift project, add it to a target and you’re good to go.

Usage

The easiest way to get started is to add the LongPressRecordButton as a custom view in your Storyboard. The appearance can be easily customized using the Attributes Inspector in the Xcode Utilities area.

Author

Mathias Köhnke @mkoehnke

License

LongPressRecordButton is available under the MIT license. See the LICENSE file for more info.

Recent Changes

The release notes can be found here.

Latest podspec

{
    "name": "LongPressRecordButton",
    "version": "1.5.0",
    "summary": "Simple and easy-to-use record button for iOS, that enforces a long press, similar to Instagram",
    "description": "Simple and easy-to-use record button for iOS, that enforces a long press (and shows a tooltip when short-pressed) nsimilar to the Instagram app.",
    "homepage": "https://github.com/mkoehnke/LongPressRecordButton",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": "Mathias Ku00f6hnke",
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/mkoehnke/LongPressRecordButton.git",
        "tag": "1.5.0"
    },
    "source_files": [
        "LongPressRecordButton",
        "LongPressRecordButton/**/*.{swift}"
    ],
    "exclude_files": "Classes/Exclude",
    "requires_arc": true
}

Pin It on Pinterest

Share This