Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198
SBFolderView: Difference between revisions - iPhone Development Wiki

SBFolderView: Difference between revisions

From iPhone Development Wiki
No edit summary
mNo edit summary
 
Line 1: Line 1:
Root class used in SBFolders (SBRootFolder, SBRootFolderWithDock, SBFloatyFolder, et al.)
Root class used in SBFolders (SBRootFolder, SBRootFolderWithDock, SBFloatyFolder, et al.)


<syntaxhighlight lang="objc" line='line'>
<syntaxhighlight lang="objc">
void -[SBFolderView layoutIconLists:(id)lists animationType:(int)type forceRelayout:(BOOL)force]
void -[SBFolderView layoutIconLists:(id)lists animationType:(int)type forceRelayout:(BOOL)force]
</syntaxhighlight>
</syntaxhighlight>
Line 8: Line 8:


If `forceRelayout` is True, then `setIconsNeedLayout` will be called on the list beforehand, forcing it to re-layout regardless of the existing state.
If `forceRelayout` is True, then `setIconsNeedLayout` will be called on the list beforehand, forcing it to re-layout regardless of the existing state.
{{occlass|library=SpringBoardHome.framework|navbox=on}}

Latest revision as of 07:44, 4 September 2023

Root class used in SBFolders (SBRootFolder, SBRootFolderWithDock, SBFloatyFolder, et al.)

void -[SBFolderView layoutIconLists:(id)lists animationType:(int)type forceRelayout:(BOOL)force]

This method iterates through SBIconListViews within the SBFolderView and calls `layoutIconsIfNeeded:animationType:options:` on each instance.

If `forceRelayout` is True, then `setIconsNeedLayout` will be called on the list beforehand, forcing it to re-layout regardless of the existing state.