https://github.com/krzyzanowskim/touchimageview
iOS UIImageView with convenient touch delegate
https://github.com/krzyzanowskim/touchimageview
Last synced: 7 months ago
JSON representation
iOS UIImageView with convenient touch delegate
- Host: GitHub
- URL: https://github.com/krzyzanowskim/touchimageview
- Owner: krzyzanowskim
- License: other
- Created: 2011-08-10T10:00:36.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-02-04T19:58:13.000Z (over 13 years ago)
- Last Synced: 2024-04-14T07:11:18.922Z (over 1 year ago)
- Language: Objective-C
- Homepage: http://www.hakore.com
- Size: 89.8 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License.txt
Awesome Lists containing this project
README
TouchImageView
==============How to use it?
--------------Create UIImageView with InterfaceBuilder and set Class to "TouchImageView"
Set *delegate* from created image to you delegate object. Delegate object should implement protocol
Every time image is touched (clicked) this method is called on delegate object:
- (void) didTouchImageView:(TouchImageView *) imageView;
Bonus
-----Switch property editMode to TouchImageDrawMode or TouchImageEraseMode and you can draw on image with you finger.
Credits
-------Created by [Marcin Krzyżanowski](http://www.hakore.com).
(c) 2011 by Marcin Krzyżanowski.
See License.txt for license.