Permalink
Browse files

Add CocoaPods podspec for a future version and fix bug in README exam…

…ple.

The next version does not neccsarilly have to be 0.9.1, but its the
smallest increment, so it will always be a sane version number.
  • Loading branch information...
1 parent 4aa2a64 commit ba29b8ed0342b445bce196bb6d7966c3d045ab3b @alloy alloy committed Nov 10, 2011
Showing with 21 additions and 2 deletions.
  1. +19 −0 MTZoomWindow.podspec
  2. +2 −2 Readme.mdown
View
@@ -0,0 +1,19 @@
+Pod::Spec.new do |s|
+ s.name = 'MTZoomWindow'
+ s.version = '0.5.1'
+ s.platform = :ios
+ s.summary = 'A UIWindow that can be used to zoom in a specific UIView and displays it fullscreen.'
+ s.homepage = 'https://github.com/myell0w/MTZoomWindow'
+ s.author = { 'Matthias Tretter' => 'myell0w@me.com' }
+ s.source = { :git => 'https://github.com/myell0w/MTZoomWindow.git', :tag => '0.5' }
+
+ s.description = 'This class provides a simple way to zoom a specific UIView and display it ' \
+ 'fullscreen, upon a defined action of the user (uses UIGestureRecognizer to ' \
+ 'detect actions). If the user performs the action on the specified UIView the ' \
+ 'view gets zoomed in animated and is displayed fullscreen, with a black ' \
+ 'background. If the user performs the same gesture again, the UIView gets ' \
+ 'zoomed back out and everything is like it was before.'
+
+ s.requires_arc = true
+ s.source_files = '*.{h,m}'
+end
View
@@ -13,7 +13,7 @@ You can use MTZoomWindow like this:
// specify size of the UIView when it is zoomed in
viewToZoom.zoomedSize = CGSizeMake(300,460);
viewToZoom.zoomedAutoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
- viewToZoom.wrapInScrollViewWhenZoomed = YES;
+ viewToZoom.wrapInScrollviewWhenZoomed = YES;
// find this awesome shortcut for UITapGestureRecognizer in @zwaldowski's BlocksKit
[viewToZoom whenTapped:^{
@@ -34,4 +34,4 @@ Screenshots
MTZoomWindow used on a MKMapView
-![MTZoomWindow](https://img.skitch.com/20110308-n2qxh5t2jhtpinig29dyacrhr5.png "MTZoomWindow")
+![MTZoomWindow](https://img.skitch.com/20110308-n2qxh5t2jhtpinig29dyacrhr5.png "MTZoomWindow")

0 comments on commit ba29b8e

Please sign in to comment.