Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Ideon/SmudgeKit
A drop in replacement for UIWindow to draw touch points for app previews and promotional videos.
https://github.com/Ideon/SmudgeKit
Last synced: 3 months ago
JSON representation
A drop in replacement for UIWindow to draw touch points for app previews and promotional videos.
- Host: GitHub
- URL: https://github.com/Ideon/SmudgeKit
- Owner: Ideon
- License: mit
- Created: 2014-09-29T12:35:38.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-29T07:06:41.000Z (almost 10 years ago)
- Last Synced: 2024-10-06T23:01:26.722Z (5 months ago)
- Language: Objective-C
- Size: 406 KB
- Stars: 687
- Watchers: 19
- Forks: 16
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SmudgeKit
SmudgeKit provides a drop in replacement for UIWindow to draw visual representations of all touch events to the screen. Ideal for for creating App Previews or other screencasts where it is crucial to show touch gestures. Not intended for production use.
Originally built to preview The Converted, [check the The Converted website for an example](http://ideon.co/theconverted?utm_source=github&utm_medium=readme&utm_campaign=smudgeKit).
## Usage
### Objective-C
Add SmudgeKit to your Podfile.
`pod 'SmudgeKit'`
Or add SmudgyWindow.h and SmudgyWindow.m to your project.
Then implement the getter method of the window property in your Application Delegate:
```objectivec
#import "SmudgyWindow.h"// …
- (UIWindow *)window {
if (!_window) {
_window = [[SmudgyWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
}
return _window;
}```
You can change the appearance by editing the SmudgeLayer implementation in SmudgyWindow.m
### Swift
A swift framework with more features is in the works but not ready due to an apparent bug in the swift compiler.
## Contact
[Hans Petter Eikemo](https://github.com/hpeikemo)
[@hpeikemo](https://twitter.com/hpeikemo)
[Ideon](http://ideon.co/theconverted?utm_source=github&utm_medium=readme&utm_campaign=smudgeKit)## License
SmudgeKit is available under the MIT license. See the LICENSE file for details.