Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add FEX_isVisible UIView extension

  • Loading branch information...
commit 917c44c56612d15e6c65880e4a45afb9e7a5e06a 1 parent 740acf5
Pete Hodgson authored
Showing with 12 additions and 1 deletion.
  1. +1 −1  lib/Shelley
  2. +11 −0 src/UIView+Frank.m
2  lib/Shelley
@@ -1 +1 @@
-Subproject commit b16b31846227611c377e9db55742e9f402a47bae
+Subproject commit 4bc9e3078d6fa31b6d679939afa0b2564bd67403
11 src/UIView+Frank.m
View
@@ -35,4 +35,15 @@ - (void) FEX_flash{
[originalBackgroundColor release];
}
+- (BOOL) FEX_isVisible{
+ if( [self isHidden] )
+ return false;
+
+ if( [self superview] ){
+ return [[self superview] FEX_isVisible];
+ }else{
+ return true;
+ }
+}
+
@end
Please sign in to comment.
Something went wrong with that request. Please try again.