Skip to content

Commit 57afea0

Browse files
committed
Merge branch 'release/0.1.0'
2 parents 1c51c7b + c42e3e7 commit 57afea0

File tree

14 files changed

+653
-0
lines changed

14 files changed

+653
-0
lines changed

.gitignore

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
2+
# Created by https://www.gitignore.io/api/swift,macos
3+
4+
### Swift ###
5+
# Xcode
6+
#
7+
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
8+
9+
## Build generated
10+
build/
11+
DerivedData/
12+
13+
## Various settings
14+
*.pbxuser
15+
!default.pbxuser
16+
*.mode1v3
17+
!default.mode1v3
18+
*.mode2v3
19+
!default.mode2v3
20+
*.perspectivev3
21+
!default.perspectivev3
22+
xcuserdata/
23+
24+
## Other
25+
*.moved-aside
26+
*.xcuserstate
27+
28+
## Obj-C/Swift specific
29+
*.hmap
30+
*.ipa
31+
*.dSYM.zip
32+
*.dSYM
33+
34+
## Playgrounds
35+
timeline.xctimeline
36+
playground.xcworkspace
37+
38+
# Swift Package Manager
39+
#
40+
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
41+
# Packages/
42+
.build/
43+
44+
# CocoaPods
45+
#
46+
# We recommend against adding the Pods directory to your .gitignore. However
47+
# you should judge for yourself, the pros and cons are mentioned at:
48+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
49+
#
50+
Pods/
51+
52+
# Carthage
53+
#
54+
# Add this line if you want to avoid checking in source code from Carthage dependencies.
55+
# Carthage/Checkouts
56+
57+
Carthage/Build
58+
59+
# fastlane
60+
#
61+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
62+
# screenshots whenever they are needed.
63+
# For more information about the recommended setup visit:
64+
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
65+
66+
fastlane/report.xml
67+
fastlane/Preview.html
68+
fastlane/screenshots
69+
fastlane/test_output
70+
71+
72+
### macOS ###
73+
*.DS_Store
74+
.AppleDouble
75+
.LSOverride
76+
77+
# Icon must end with two \r
78+
Icon
79+
80+
81+
# Thumbnails
82+
._*
83+
# Files that might appear in the root of a volume
84+
.DocumentRevisions-V100
85+
.fseventsd
86+
.Spotlight-V100
87+
.TemporaryItems
88+
.Trashes
89+
.VolumeIcon.icns
90+
.com.apple.timemachine.donotpresent
91+
# Directories potentially created on remote AFP share
92+
.AppleDB
93+
.AppleDesktop
94+
Network Trash Folder
95+
Temporary Items
96+
.apdisk

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Change Log
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
5+
6+
## [Unreleased]
7+
**no changes**
8+
9+
## [0.1.0]
10+
### Added
11+
- Created bare-bones structure
12+
- Implemented VisibleTouchWindow
13+
14+
[Unreleased]: https://github.com/TrebleFM/VisibleTouchViewSwift/compare/0.1.0...HEAD
15+
[0.1.0]: https://github.com/TrebleFM/VisibleTouchViewSwift/compare/0.0.1...0.1.0

LICENSE

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright (c) 2016 Benjamin Chrobot <[email protected]> and Treble Media, Inc.
2+
3+
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:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
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.

Podfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Uncomment the next line to define a global platform for your project
2+
# platform :ios, '9.0'
3+
4+
target 'VisibleTouchViewSwift' do
5+
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
6+
use_frameworks!
7+
8+
# Pods for VisibleTouchViewSwift
9+
10+
target 'VisibleTouchViewSwiftTests' do
11+
inherit! :search_paths
12+
# Pods for testing
13+
end
14+
15+
end

Podfile.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
PODFILE CHECKSUM: 1b025ba5d40ab7a6b415429a7727de875114df3e
2+
3+
COCOAPODS: 1.1.1

README.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# VisibleTouchViewSwift
2+
3+
[![Version](http://img.shields.io/cocoapods/v/VisibleTouchViewSwift.svg)](http://cocoapods.org/?q=VisibleTouchViewSwift)
4+
[![GitHub release](https://img.shields.io/github/release/TrebleFM/VisibleTouchViewSwift.svg)](https://github.com/TrebleFM/VisibleTouchViewSwift/releases)
5+
![Swift 3.0](https://img.shields.io/badge/Swift-3.0-green.svg)
6+
![platforms](https://img.shields.io/badge/platforms-iOS%20-lightgrey.svg)
7+
8+
> 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).
9+
10+
## Usage
11+
12+
Set `VisibleTouchVWindow` as your Root View Controller
13+
14+
```swift
15+
@UIApplicationMain
16+
class AppDelegate: UIResponder, UIApplicationDelegate {
17+
var window: UIWindow?
18+
var controller = Controller()
19+
20+
override init() {
21+
super.init()
22+
self.window = VisibleTouchVWindow(frame: UIScreen.mainScreen().bounds)
23+
}
24+
25+
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
26+
window!.rootViewController = Controller()
27+
window!.makeKeyAndVisible()
28+
return true
29+
}
30+
}
31+
```
32+
33+
## Installation
34+
35+
VisibleTouchViewSwift is available through [CocoaPods](http://cocoapods.org/). To install it, simply add the following line to your Podfile:
36+
37+
```
38+
pod 'VisibleTouchViewSwift'
39+
```
40+
41+
42+
## Release History
43+
44+
See `CHANGELOG.md`
45+
46+
## Author
47+
48+
Benjamin Chrobot (@bchrobot), [email protected]
49+
50+
## License
51+
52+
VisibleTouchViewSwift is available under the MIT license. See `LICENSE` for more info.

VisibleTouchViewSwift.podspec

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
Pod::Spec.new do |s|
2+
3+
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
4+
5+
s.name = "VisibleTouchViewSwift"
6+
s.version = "0.1.0"
7+
s.summary = "Show finger touches on the screen"
8+
9+
s.description = "Show finger touches on the screen using either a UIView or UIWindow. Useful for app preview videos, live product demos, and more."
10+
11+
s.homepage = "https://github.com/TrebleFM/VisibleTouchViewSwift"
12+
13+
14+
# ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
15+
16+
s.license = { :type => "MIT", :file => "LICENSE" }
17+
18+
19+
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
20+
21+
s.author = { "Benjamin Chrobot" => "[email protected]" }
22+
23+
24+
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
25+
26+
s.platform = :ios, "9.0"
27+
28+
29+
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
30+
31+
s.source = { :git => "https://github.com/TrebleFM/VisibleTouchViewSwift.git", :tag => "#{s.version}" }
32+
33+
34+
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
35+
36+
s.source_files = "VisibleTouchViewSwift", "VisibleTouchViewSwift/**/*.{h,m,swift}"
37+
38+
39+
# ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
40+
41+
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '3' }
42+
43+
end

0 commit comments

Comments
 (0)