Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 92 lines (65 sloc) 1.948 kb
e3087743 »
2009-09-10 Added categories and fixed bug in connection
1 //
0f86e122 »
2010-08-30 Improved selections with custom SSCollectionViewItems in SSCollection…
2 // UIView+SSToolkitAdditions.h
f3d43b66 »
2010-08-19 The Great Rename
3 // SSToolkit
e3087743 »
2009-09-10 Added categories and fixed bug in connection
4 //
1cdef2ae »
2010-08-02 Cleaned up categories
5 // Created by Sam Soffes on 2/15/10.
e8c3ce32 »
2011-03-27 Updated comments and renamed SSDrawingMacros to SSDrawingUtilities
6 // Copyright 2010-2011 Sam Soffes. All rights reserved.
e3087743 »
2009-09-10 Added categories and fixed bug in connection
7 //
8
072f882d »
2011-07-08 More documentation. #24 #25
9 /**
10 Provides extensions to `UIView` for various common tasks.
11 */
0f86e122 »
2010-08-30 Improved selections with custom SSCollectionViewItems in SSCollection…
12 @interface UIView (SSToolkitAdditions)
e3087743 »
2009-09-10 Added categories and fixed bug in connection
13
f63bf11e »
2011-07-10 More documentation
14 ///-------------------------
15 /// @name Taking Screenshots
16 ///-------------------------
17
3a1e6cea »
2011-07-10 Documented NSData category. Documented UIView category. Added UIView …
18 /**
19 Takes a screenshot of the underlying `CALayer` of the receiver and returns a `UIImage` object representation.
20
21 @return An image representing the receiver
22 */
1cdef2ae »
2010-08-02 Cleaned up categories
23 - (UIImage *)imageRepresentation;
e3087743 »
2009-09-10 Added categories and fixed bug in connection
24
fc1acd8e »
2011-10-17 Updated documentation coding convention
25
f63bf11e »
2011-07-10 More documentation
26 ///-------------------------
27 /// @name Hiding and Showing
28 ///-------------------------
29
3a1e6cea »
2011-07-10 Documented NSData category. Documented UIView category. Added UIView …
30 /**
31 Sets the `alpha` value of the receiver to `0.0`.
32 */
d4f20c4e »
2010-04-19 Added hide and show to UIView
33 - (void)hide;
3a1e6cea »
2011-07-10 Documented NSData category. Documented UIView category. Added UIView …
34
35 /**
36 Sets the `alpha` value of the receiver to `1.0`.
37 */
d4f20c4e »
2010-04-19 Added hide and show to UIView
38 - (void)show;
39
fc1acd8e »
2011-10-17 Updated documentation coding convention
40
f63bf11e »
2011-07-10 More documentation
41 ///------------------------
42 /// @name Fading In and Out
43 ///------------------------
44
3a1e6cea »
2011-07-10 Documented NSData category. Documented UIView category. Added UIView …
45 /**
46 Fade out the receiver.
47
48 The receiver will fade out in `0.2` seconds.
49 */
e3087743 »
2009-09-10 Added categories and fixed bug in connection
50 - (void)fadeOut;
5e8b24b3 »
2010-04-19 Added fadeOutAndPerfromSelector, etc to UIView+fading
51
3a1e6cea »
2011-07-10 Documented NSData category. Documented UIView category. Added UIView …
52 /**
53 Fade out the receiver and remove from its super view
54
55 The receiver will fade out in `0.2` seconds and be removed from its `superview` when the animation completes.
56 */
57 - (void)fadeOutAndRemoveFromSuperview;
5e8b24b3 »
2010-04-19 Added fadeOutAndPerfromSelector, etc to UIView+fading
58
3a1e6cea »
2011-07-10 Documented NSData category. Documented UIView category. Added UIView …
59 /**
60 Fade in the receiver.
61
62 The receiver will fade in in `0.2` seconds.
63 */
64 - (void)fadeIn;
e3087743 »
2009-09-10 Added categories and fixed bug in connection
65
fc1acd8e »
2011-10-17 Updated documentation coding convention
66
f63bf11e »
2011-07-10 More documentation
67 ///----------------------------------
68 /// @name Managing the View Hierarchy
69 ///----------------------------------
70
3a1e6cea »
2011-07-10 Documented NSData category. Documented UIView category. Added UIView …
71 /**
72 Returns an array of the receiver's superviews.
73
74 The immediate super view is the first object in the array. The outer most super view is the last object in the array.
75
76 @return An array of view objects containing the receiver
77 */
0f86e122 »
2010-08-30 Improved selections with custom SSCollectionViewItems in SSCollection…
78 - (NSArray *)superviews;
3a1e6cea »
2011-07-10 Documented NSData category. Documented UIView category. Added UIView …
79
80 /**
81 Returns the first super view of a given class.
82
83 If a super view is not found for the given `superviewClass`, `nil` is returned.
84
85 @param superviewClass A Class to search the `superviews` for
86
87 @return A view object or `nil`
88 */
0f86e122 »
2010-08-30 Improved selections with custom SSCollectionViewItems in SSCollection…
89 - (id)firstSuperviewOfClass:(Class)superviewClass;
90
e3087743 »
2009-09-10 Added categories and fixed bug in connection
91 @end
Something went wrong with that request. Please try again.