FavoritesViewController
public final class FavoritesViewController : UIViewController, FavoritesViewManager
extension FavoritesViewController: ControllerConfiguration
extension FavoritesViewController: SegueHandler
extension FavoritesViewController: FavoriteEditorDelegate
extension FavoritesViewController: UICollectionViewDataSource
extension FavoritesViewController: UICollectionViewDelegate
extension FavoritesViewController: UICollectionViewDelegateFlowLayout
Manages the view of Favorite items. Users can choose a Favorite by tapping it in order to apply the Favorite settings. The user may long-touch on a Favorite to move it around. Double-tapping on it will open the editor.
-
Undocumented
Declaration
Swift
@IBOutlet public var doubleTapGestureRecognizer: UITapGestureRecognizer!
-
Declaration
Swift
public var swipeLeft: UISwipeGestureRecognizer
-
Declaration
Swift
public var swipeRight: UISwipeGestureRecognizer
-
Undocumented
Declaration
Swift
public override func viewDidLoad()
-
Undocumented
Declaration
Swift
public override func viewWillAppear(_ animated: Bool)
-
Declaration
Swift
public func establishConnections(_ router: ComponentContainer)
-
Undocumented
See moreDeclaration
Swift
public enum SegueIdentifier : String
-
Undocumented
Declaration
Swift
public override func prepare(for segue: UIStoryboardSegue, sender: Any?)
-
Undocumented
Declaration
Swift
func showEditor(config: FavoriteEditor.Config)
-
Declaration
Swift
public func dismissed(_ indexPath: IndexPath, reason: FavoriteEditorDismissedReason)
-
Undocumented
Declaration
Swift
public func numberOfSections(in collectionView: UICollectionView) -> Int
-
Undocumented
Declaration
Swift
public func collectionView( _ collectionView: UICollectionView, numberOfItemsInSection section: Int ) -> Int
-
Undocumented
Declaration
Swift
public func collectionView( _ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath ) -> UICollectionViewCell
-
Undocumented
Declaration
Swift
public func collectionView( _ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath )
-
Undocumented
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, canMoveItemAt indexPath: IndexPath) -> Bool
-
Undocumented
Declaration
Swift
public func collectionView( _ collectionView: UICollectionView, moveItemAt sourceIndexPath: IndexPath, to destinationIndexPath: IndexPath )
-
Undocumented
Declaration
Swift
public func collectionView( _ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath ) -> CGSize