Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adamwulf/ios-uitouch-bluedots
Simple code to add blue dots for every UITouch in an app - Helpful for recording app demos that show touch locations during use.
https://github.com/adamwulf/ios-uitouch-bluedots
Last synced: 3 days ago
JSON representation
Simple code to add blue dots for every UITouch in an app - Helpful for recording app demos that show touch locations during use.
- Host: GitHub
- URL: https://github.com/adamwulf/ios-uitouch-bluedots
- Owner: adamwulf
- Created: 2014-12-23T21:47:25.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-23T23:15:29.000Z (almost 10 years ago)
- Last Synced: 2024-05-01T12:30:00.495Z (7 months ago)
- Language: Objective-C
- Homepage: http://getlooseleaf.com/opensource/
- Size: 125 KB
- Stars: 51
- Watchers: 6
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
iOS UITouch Blue Dots
===This repro provides simple code to add blue dots on the screen
for every UITouch. This makes it easy to record touch locations
for app demo videos.Getting Started
===To add blue dots to your project, just create a MMTouchDotView and add it to
the UIWindow when your application launches. That's it!```
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// create the blue dot view
MMTouchDotView* blueDots = [[MMTouchDotView alloc] initWithFrame:self.window.bounds];
// optionally set the dot color, defaults to blue
// blueDots.dotColor = [UIColor redColor];
// optionally set the dot width, defaults to 20
// blueDots.dotWidth = 40;
// add the view to the window to make sure it's always visible
[self.window addSubview:blueDots];
// Override point for customization after application launch.
return YES;
}
```