Updated documentation

This commit is contained in:
Joe Blau 2015-02-02 06:43:36 -08:00
parent 2fb05f1940
commit 0c6153171c
3 changed files with 12 additions and 11 deletions

View File

@ -1,5 +1,11 @@
# COSTouchVisualizer CHANGELOG
## 1.0.4
- Made iPad-compat
- Fixed status bar style hidden by overlay window
- Make options read from delegate
## 1.0.2
- Fixed bug in morph animation to make app compataible with iOS6

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "COSTouchVisualizer"
s.version = "1.0.3"
s.version = "1.0.4"
s.summary = "Visualize iOS finger touches, gestures and holds on external displays"
s.description = <<-DESC
Touch Screen Visualizer visualizes your touches, gestures, and holds on

View File

@ -33,8 +33,7 @@ To run the example project; clone the repo, and run `pod update` from the Exampl
...
// Add this method to your AppDelegate method
- (COSTouchVisualizerWindow *)window
{
- (COSTouchVisualizerWindow *)window {
static COSTouchVisualizerWindow *visWindow = nil;
if (!visWindow) visWindow = [[COSTouchVisualizerWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
return visWindow;
@ -47,8 +46,7 @@ To run the example project; clone the repo, and run `pod update` from the Exampl
...
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Setup window
self.window = [[COSTouchVisualizerWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.window.backgroundColor = [UIColor whiteColor];
@ -80,8 +78,7 @@ fingertip even if there's no any mirrored screens (when returning YES). If this
only show fingertip when connected to a mirrored screen.
```objective-c
- (COSTouchVisualizerWindow *)window
{
- (COSTouchVisualizerWindow *)window {
if (!_customWindow) {
_customWindow = [[COSTouchVisualizerWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
@ -92,15 +89,13 @@ only show fingertip when connected to a mirrored screen.
return _customWindow;
}
- (BOOL)touchVisualizerWindowShouldAlwaysShowFingertip:(COSTouchVisualizerWindow *)window
{
- (BOOL)touchVisualizerWindowShouldAlwaysShowFingertip:(COSTouchVisualizerWindow *)window {
return YES; // Return YES to make the fingertip always display even if there's no any mirrored screen.
// Return NO or don't implement this method if you want to keep the fingertip display only when
// the device is connected to a mirrored screen.
}
- (BOOL)touchVisualizerWindowShouldShowFingertip:(COSTouchVisualizerWindow *)window
{
- (BOOL)touchVisualizerWindowShouldShowFingertip:(COSTouchVisualizerWindow *)window {
return YES; // Return YES or don't implement this method to make this window show fingertip when necessary.
// Return NO to make this window not to show fingertip.
}