#import "TGModernGalleryModel.h" @implementation TGModernGalleryModel - (void)_transitionCompleted { } - (void)_replaceItems:(NSArray *)items focusingOnItem:(id)item { TGDispatchOnMainThread(^ { _items = items; _focusItem = item; if (_itemsUpdated) _itemsUpdated(item); }); } - (void)_focusOnItem:(id)item { TGDispatchOnMainThread(^ { _focusItem = item; if (_focusOnItem) _focusOnItem(item); }); } - (bool)_shouldAutorotate { return true; } - (UIView *)createInterfaceView { return nil; } - (UIView *)createDefaultHeaderView { return nil; } - (UIView *)createDefaultFooterView { return nil; } - (UIView *)createDefaultLeftAccessoryView { return nil; } - (UIView *)createDefaultRightAccessoryView { return nil; } @end