Skip to content

Commit

Permalink
Merge pull request #1 from alloy/master
Browse files Browse the repository at this point in the history
Add CocoaPods podspec for a future version.
  • Loading branch information
myell0w committed Nov 11, 2011
2 parents 4aa2a64 + ba29b8e commit 1bc7a26
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
19 changes: 19 additions & 0 deletions MTZoomWindow.podspec
@@ -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
4 changes: 2 additions & 2 deletions Readme.mdown
Expand Up @@ -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:^{
Expand All @@ -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 1bc7a26

Please sign in to comment.