-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Decrease minium iOS version Create ContextMenuHapticFeedbackStyle enumeration to mirror iOS UIImpactFeedbackGenerator.FeedbackStyle * Rename ContextMenuHapticFeedbackStyle and put the enum inside an extension to match the common style * Rename ContextMenuHapticFeedbackStyle to HapticFeedbackStyle * Update the Example project - Install newest Pod version - Specify platform in the Podfile - Unset development team
- Loading branch information
Showing
12 changed files
with
332 additions
and
309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
Pod::Spec.new do |spec| | ||
spec.name = 'ContextMenu' | ||
spec.version = '0.5.0' | ||
spec.version = '0.5.1' | ||
spec.license = { :type => 'MIT' } | ||
spec.homepage = 'https://github.com/GitHawkApp/ContextMenu' | ||
spec.authors = { 'Ryan Nystrom' => '[email protected]' } | ||
spec.summary = 'Context menu inspired by Things 3.' | ||
spec.source = { :git => 'https://github.com/GitHawkApp/ContextMenu.git', :tag => spec.version.to_s } | ||
spec.source_files = 'ContextMenu/*.swift' | ||
spec.platform = :ios, '10.0' | ||
spec.platform = :ios, '9.0' | ||
spec.swift_version = '4.2' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// ContextMenu+HapticFeedbackStyle.swift | ||
// ContextMenu | ||
// | ||
// Created by Abdurahim Jauzee on 31/12/2018. | ||
// | ||
|
||
import Foundation | ||
|
||
public extension ContextMenu { | ||
|
||
/// Haptic Feedback types. | ||
public enum HapticFeedbackStyle: Int { | ||
case light, medium, heavy | ||
} | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
platform :ios, '9.0' | ||
|
||
target 'Example' do | ||
use_frameworks! | ||
pod 'ContextMenu', :path => '../ContextMenu.podspec' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.