This repository has been archived by the owner on May 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from morizotter/rename-pod
Rename pod
- Loading branch information
Showing
9 changed files
with
56 additions
and
51 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
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,14 +1,14 @@ | ||
PODS: | ||
- MZRPresentationKit (1.0.3) | ||
- TouchVisualizer (1.1.0) | ||
|
||
DEPENDENCIES: | ||
- MZRPresentationKit (from `../`) | ||
- TouchVisualizer (from `../`) | ||
|
||
EXTERNAL SOURCES: | ||
MZRPresentationKit: | ||
TouchVisualizer: | ||
:path: "../" | ||
|
||
SPEC CHECKSUMS: | ||
MZRPresentationKit: 4bd6bad8bd8ea1c371753294865ee1c8d89cc6a7 | ||
TouchVisualizer: c9087ec9a7207a28e63934c3f423ac98bde97bb9 | ||
|
||
COCOAPODS: 0.36.3 |
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
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 @@ | ||
# MZRPresentationKit | ||
# TouchVisualizer | ||
|
||
[![Version](https://img.shields.io/cocoapods/v/MZRPresentationKit.svg?style=flat)](http://cocoadocs.org/docsets/MZRPresentationKit) | ||
[![License](https://img.shields.io/cocoapods/l/MZRPresentationKit.svg?style=flat)](http://cocoadocs.org/docsets/MZRPresentationKit) | ||
[![Platform](https://img.shields.io/cocoapods/p/MZRPresentationKit.svg?style=flat)](http://cocoadocs.org/docsets/MZRPresentationKit) | ||
[![Version](https://img.shields.io/cocoapods/v/TouchVisualizer.svg?style=flat)](http://cocoadocs.org/docsets/TouchVisualizer) | ||
[![License](https://img.shields.io/cocoapods/l/TouchVisualizer.svg?style=flat)](http://cocoadocs.org/docsets/TouchVisualizer) | ||
[![Platform](https://img.shields.io/cocoapods/p/TouchVisualizer.svg?style=flat)](http://cocoadocs.org/docsets/TouchVisualizer) | ||
|
||
## Let's give a presentation with finger points easily | ||
|
||
![Gif](https://github.com/morizotter/MZRPresentationKit/blob/master/presentation.gif) | ||
![Gif](https://github.com/morizotter/TouchVisualizer/blob/master/presentation.gif) | ||
|
||
When you give a presentation, your finger points are visible on screen. | ||
- Multiple fingers supported. | ||
|
@@ -16,7 +16,7 @@ When you give a presentation, your finger points are visible on screen. | |
## Installation | ||
|
||
> Embedded frameworks require a minimum deployment target of iOS 8.1 | ||
> To use MZRPresentationKit with a project targeting iOS 8.0 or lower, you must include the MZRPresentationKit.swift source file directly in your project. | ||
> To use TouchVisualizer with a project targeting iOS 8.0 or lower, you must include the TouchVisualizer.swift source file directly in your project. | ||
[CocoaPods](http://cocoapods.org) 0.36 adds supports for Swift and embedded frameworks. You can install it with the following command: | ||
|
||
|
@@ -33,27 +33,31 @@ platform :ios, '8.1' | |
use_frameworks! | ||
pod "MZRPresentationKit", '~>1.0.3' | ||
pod "TouchVisualizer", '~>1.0.3' | ||
``` | ||
|
||
## Usage | ||
|
||
`import MZRPresentationKit` and just write the following line in the `application(application:didFinishLaunchingWithOptions:)` in `AppDelegate`. | ||
`import TouchVisualizer` and just write the following line in the `application(application:didFinishLaunchingWithOptions:)` in `AppDelegate`. | ||
|
||
``` | ||
MZRPresentation.start() | ||
TouchVisualizer.start() | ||
``` | ||
|
||
You can change colors and images like this. You can set only color or image. | ||
|
||
``` | ||
MZRPresentation.start(UIColor.redColor(), image: UIImage(named: "YOUR-IMAGE")) | ||
var config = TouchVisualizerConfig() | ||
config.color = UIColor.redColor() | ||
config.image = UIImage(named: "YOUR-IMAGE") | ||
config.showsTimer = true | ||
TouchVisualizer.start(config) | ||
``` | ||
|
||
You can stop presentation from the app like this. | ||
|
||
``` | ||
MZRPresentation.stop() | ||
TouchVisualizer.stop() | ||
``` | ||
|
||
## Requirements | ||
|
@@ -67,5 +71,5 @@ Naoki Morita, [email protected], [page](http://moritanaoki.org) | |
|
||
## License | ||
|
||
MZRPresentationKit is available under the MIT license. See the LICENSE file for more info. | ||
TouchVisualizer is available under the MIT license. See the LICENSE file 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 |
---|---|---|
|
@@ -8,22 +8,22 @@ | |
# | ||
|
||
Pod::Spec.new do |s| | ||
s.name = "MZRPresentationKit" | ||
s.version = "1.0.3" | ||
s.name = "TouchVisualizer" | ||
s.version = "1.1.0" | ||
s.summary = "When you give a presentation, your finger points are visible on screen." | ||
s.description = <<-DESC | ||
# Give a presentation more impressive with finter points. | ||
When you give a presentation, your finger points are visible on screen. | ||
TouchVisualizer is a new version of MZRPresentationKit | ||
- Multiple fingers supported. | ||
- Multiple UIWindows supported. | ||
- You can change colors and images of finger points. | ||
DESC | ||
s.homepage = "https://github.com/morizotter/MZRPresentationKit" | ||
s.homepage = "https://github.com/morizotter/TouchVisualizer" | ||
s.license = 'MIT' | ||
s.author = { "Naoki Morita" => "[email protected]" } | ||
s.source = { :git => "https://github.com/morizotter/MZRPresentationKit.git", :tag => s.version.to_s } | ||
s.source = { :git => "https://github.com/morizotter/TouchVisualizer.git", :tag => s.version.to_s } | ||
s.social_media_url = 'https://twitter.com/morizotter' | ||
|
||
s.platform = :ios, '8.1' | ||
|