SBFolderView: Difference between revisions

From iPhone Development Wiki
(Some info)
 
No edit summary
Line 1: Line 1:
`-[SBFolderView layoutIconLists:(id)lists animationType:(int)type forceRelayout:(BOOL)force]`
<syntaxhighlight lang="objc" line='line'>
-[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.

Revision as of 13:13, 5 June 2020

-[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.