Created
February 15, 2010 09:41
-
-
Save karlforshaw/304516 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(void)emptySlideNavigator | |
{ | |
console.log('starting: ' + [[_slideNavigatorView subviews] count]); | |
// Remove all the previous buttons | |
if([[_slideNavigatorView subviews] count] > 0) { | |
for (var i=0; i<[[_slideNavigatorView subviews] count]; i++) { | |
console.log('removing:' + [_slideNavigatorView subviews][i] + 'at index:' + i ); | |
//[[_slideNavigatorView subviews][i] removeFromSuperview]; | |
} | |
console.log('ending at iteration:' + i + ' with' + [[_slideNavigatorView subviews] count]); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment