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
(Some info)
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
`-[SBFolderView layoutIconLists:(id)lists animationType:(int)type forceRelayout:(BOOL)force]`
Root class used in SBFolders (SBRootFolder, SBRootFolderWithDock, SBFloatyFolder, et al.)
 
<syntaxhighlight lang="objc">
void -[SBFolderView layoutIconLists:(id)lists animationType:(int)type forceRelayout:(BOOL)force]
</syntaxhighlight>


This method iterates through SBIconListViews within the SBFolderView and calls `layoutIconsIfNeeded:animationType:options:` on each instance.  
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.
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.