-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
653 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,96 @@ | ||
|
||
# Created by https://www.gitignore.io/api/swift,macos | ||
|
||
### Swift ### | ||
# Xcode | ||
# | ||
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore | ||
|
||
## Build generated | ||
build/ | ||
DerivedData/ | ||
|
||
## Various settings | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
xcuserdata/ | ||
|
||
## Other | ||
*.moved-aside | ||
*.xcuserstate | ||
|
||
## Obj-C/Swift specific | ||
*.hmap | ||
*.ipa | ||
*.dSYM.zip | ||
*.dSYM | ||
|
||
## Playgrounds | ||
timeline.xctimeline | ||
playground.xcworkspace | ||
|
||
# Swift Package Manager | ||
# | ||
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. | ||
# Packages/ | ||
.build/ | ||
|
||
# CocoaPods | ||
# | ||
# We recommend against adding the Pods directory to your .gitignore. However | ||
# you should judge for yourself, the pros and cons are mentioned at: | ||
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control | ||
# | ||
Pods/ | ||
|
||
# Carthage | ||
# | ||
# Add this line if you want to avoid checking in source code from Carthage dependencies. | ||
# Carthage/Checkouts | ||
|
||
Carthage/Build | ||
|
||
# fastlane | ||
# | ||
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the | ||
# screenshots whenever they are needed. | ||
# For more information about the recommended setup visit: | ||
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md | ||
|
||
fastlane/report.xml | ||
fastlane/Preview.html | ||
fastlane/screenshots | ||
fastlane/test_output | ||
|
||
|
||
### macOS ### | ||
*.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
|
||
# Icon must end with two \r | ||
Icon | ||
|
||
|
||
# Thumbnails | ||
._* | ||
# Files that might appear in the root of a volume | ||
.DocumentRevisions-V100 | ||
.fseventsd | ||
.Spotlight-V100 | ||
.TemporaryItems | ||
.Trashes | ||
.VolumeIcon.icns | ||
.com.apple.timemachine.donotpresent | ||
# Directories potentially created on remote AFP share | ||
.AppleDB | ||
.AppleDesktop | ||
Network Trash Folder | ||
Temporary Items | ||
.apdisk |
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,15 @@ | ||
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). | ||
|
||
## [Unreleased] | ||
**no changes** | ||
|
||
## [0.1.0] | ||
### Added | ||
- Created bare-bones structure | ||
- Implemented VisibleTouchWindow | ||
|
||
[Unreleased]: https://github.com/TrebleFM/VisibleTouchViewSwift/compare/0.1.0...HEAD | ||
[0.1.0]: https://github.com/TrebleFM/VisibleTouchViewSwift/compare/0.0.1...0.1.0 |
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,7 @@ | ||
Copyright (c) 2016 Benjamin Chrobot <[email protected]> and Treble Media, Inc. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
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,15 @@ | ||
# Uncomment the next line to define a global platform for your project | ||
# platform :ios, '9.0' | ||
|
||
target 'VisibleTouchViewSwift' do | ||
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks | ||
use_frameworks! | ||
|
||
# Pods for VisibleTouchViewSwift | ||
|
||
target 'VisibleTouchViewSwiftTests' do | ||
inherit! :search_paths | ||
# Pods for testing | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
PODFILE CHECKSUM: 1b025ba5d40ab7a6b415429a7727de875114df3e | ||
|
||
COCOAPODS: 1.1.1 |
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,52 @@ | ||
# VisibleTouchViewSwift | ||
|
||
[![Version](http://img.shields.io/cocoapods/v/VisibleTouchViewSwift.svg)](http://cocoapods.org/?q=VisibleTouchViewSwift) | ||
[![GitHub release](https://img.shields.io/github/release/TrebleFM/VisibleTouchViewSwift.svg)](https://github.com/TrebleFM/VisibleTouchViewSwift/releases) | ||
![Swift 3.0](https://img.shields.io/badge/Swift-3.0-green.svg) | ||
![platforms](https://img.shields.io/badge/platforms-iOS%20-lightgrey.svg) | ||
|
||
> Show finger touches on the screen using either a UIView or UIWindow. Useful for app preview videos, live product demos, and more. Based on [EUMTouchPointView](https://github.com/eumlab/EUMTouchPointView). | ||
## Usage | ||
|
||
Set `VisibleTouchVWindow` as your Root View Controller | ||
|
||
```swift | ||
@UIApplicationMain | ||
class AppDelegate: UIResponder, UIApplicationDelegate { | ||
var window: UIWindow? | ||
var controller = Controller() | ||
|
||
override init() { | ||
super.init() | ||
self.window = VisibleTouchVWindow(frame: UIScreen.mainScreen().bounds) | ||
} | ||
|
||
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { | ||
window!.rootViewController = Controller() | ||
window!.makeKeyAndVisible() | ||
return true | ||
} | ||
} | ||
``` | ||
|
||
## Installation | ||
|
||
VisibleTouchViewSwift is available through [CocoaPods](http://cocoapods.org/). To install it, simply add the following line to your Podfile: | ||
|
||
``` | ||
pod 'VisibleTouchViewSwift' | ||
``` | ||
|
||
|
||
## Release History | ||
|
||
See `CHANGELOG.md` | ||
|
||
## Author | ||
|
||
Benjamin Chrobot (@bchrobot), [email protected] | ||
|
||
## License | ||
|
||
VisibleTouchViewSwift is available under the MIT license. See `LICENSE` for more info. |
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,43 @@ | ||
Pod::Spec.new do |s| | ||
|
||
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # | ||
|
||
s.name = "VisibleTouchViewSwift" | ||
s.version = "0.1.0" | ||
s.summary = "Show finger touches on the screen" | ||
|
||
s.description = "Show finger touches on the screen using either a UIView or UIWindow. Useful for app preview videos, live product demos, and more." | ||
|
||
s.homepage = "https://github.com/TrebleFM/VisibleTouchViewSwift" | ||
|
||
|
||
# ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # | ||
|
||
s.license = { :type => "MIT", :file => "LICENSE" } | ||
|
||
|
||
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # | ||
|
||
s.author = { "Benjamin Chrobot" => "[email protected]" } | ||
|
||
|
||
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― # | ||
|
||
s.platform = :ios, "9.0" | ||
|
||
|
||
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # | ||
|
||
s.source = { :git => "https://github.com/TrebleFM/VisibleTouchViewSwift.git", :tag => "#{s.version}" } | ||
|
||
|
||
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # | ||
|
||
s.source_files = "VisibleTouchViewSwift", "VisibleTouchViewSwift/**/*.{h,m,swift}" | ||
|
||
|
||
# ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # | ||
|
||
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '3' } | ||
|
||
end |
Oops, something went wrong.