Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updating the header.

  • Loading branch information...
commit 76128388fe7165ba33ecb448d8b456a77d459a72 1 parent b86e9ac
@spoletto authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 SPUserResizableView/SPUserResizableView.h
View
10 SPUserResizableView/SPUserResizableView.h
@@ -29,13 +29,13 @@ typedef struct SPUserResizableViewAnchorPoint {
// Used to determine which components of the bounds we'll be modifying, based upon where the user's touch started.
SPUserResizableViewAnchorPoint anchorPoint;
- NSObject <SPUserResizableViewDelegate> *delegate;
+ id <SPUserResizableViewDelegate> delegate;
}
-@property (nonatomic, assign) NSObject <SPUserResizableViewDelegate> *delegate;
+@property (nonatomic, assign) id <SPUserResizableViewDelegate> delegate;
-// Will be retained and added as a subview.
-@property (nonatomic, retain) UIView *contentView;
+// Will be retained as a subview.
+@property (nonatomic, assign) UIView *contentView;
// Default is 48.0 for each.
@property (nonatomic) CGFloat minWidth;
@@ -55,7 +55,7 @@ typedef struct SPUserResizableViewAnchorPoint {
// Called when the resizable view receives touchesBegan: and activates the editing handles.
- (void)userResizableViewDidBeginEditing:(SPUserResizableView *)userResizableView;
-// Called when the resizable view receives touchesEnded:
+// Called when the resizable view receives touchesEnded: or touchesCancelled:
- (void)userResizableViewDidEndEditing:(SPUserResizableView *)userResizableView;
@end
Please sign in to comment.
Something went wrong with that request. Please try again.