Skip to content

Instantly share code, notes, and snippets.

Vilém Kurz VilemKurz

Block or report user

Report or block VilemKurz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
justin / UIImageView+ImageFrame.h
Created Feb 18, 2013
Category to get the frame of an image that's inside a UIImageView. Since I use aspect fit on some stuff, I sometimes need to account for the top and bottom borders.
View UIImageView+ImageFrame.h
#import <UIKit/UIKit.h>
@interface UIImageView (SGExtensions)
- (CGRect)sg_imageFrame;
You can’t perform that action at this time.