diff --git a/Moonlight TV/Base.lproj/Main.storyboard b/Moonlight TV/Base.lproj/Main.storyboard index 72d5e22..c5429a5 100644 --- a/Moonlight TV/Base.lproj/Main.storyboard +++ b/Moonlight TV/Base.lproj/Main.storyboard @@ -1,7 +1,11 @@ - + + + + - + + @@ -9,12 +13,12 @@ - + - + diff --git a/Moonlight TV/ViewController.h b/Moonlight TV/ViewController.h index a401861..a30cfd2 100644 --- a/Moonlight TV/ViewController.h +++ b/Moonlight TV/ViewController.h @@ -7,8 +7,14 @@ // #import +#import "DiscoveryManager.h" +#import "PairManager.h" +#import "StreamConfiguration.h" +#import "UIComputerView.h" +#import "UIAppView.h" +#import "AppAssetManager.h" -@interface ViewController : UIViewController +@interface ViewController : UICollectionViewController @end diff --git a/Moonlight TV/ViewController.m b/Moonlight TV/ViewController.m index d9b3a1b..a9ecd07 100644 --- a/Moonlight TV/ViewController.m +++ b/Moonlight TV/ViewController.m @@ -26,4 +26,96 @@ } +- (void)updateAllHosts:(NSArray *)hosts { + <#code#> +} + +- (void)alreadyPaired { + <#code#> +} + +- (void)pairFailed:(NSString *)message { + <#code#> +} + +- (void)pairSuccessful { + <#code#> +} + +- (void)showPIN:(NSString *)PIN { + <#code#> +} + +- (void)addHostClicked { + <#code#> +} + +- (void)hostClicked:(TemporaryHost *)host view:(UIView *)view { + <#code#> +} + +- (void)hostLongClicked:(TemporaryHost *)host view:(UIView *)view { + <#code#> +} + +- (void)appClicked:(TemporaryApp *)app { + <#code#> +} + +- (void)receivedAssetForApp:(TemporaryApp *)app { + <#code#> +} + +- (nonnull __kindof UICollectionViewCell *)collectionView:(nonnull UICollectionView *)collectionView cellForItemAtIndexPath:(nonnull NSIndexPath *)indexPath { + <#code#> +} + +- (NSInteger)collectionView:(nonnull UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section { + <#code#> +} + +- (void)encodeWithCoder:(nonnull NSCoder *)aCoder { + <#code#> +} + +- (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection { + <#code#> +} + +- (void)preferredContentSizeDidChangeForChildContentContainer:(nonnull id)container { + <#code#> +} + +- (CGSize)sizeForChildContentContainer:(nonnull id)container withParentContainerSize:(CGSize)parentSize { + <#code#> +} + +- (void)systemLayoutFittingSizeDidChangeForChildContentContainer:(nonnull id)container { + <#code#> +} + +- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(nonnull id)coordinator { + <#code#> +} + +- (void)willTransitionToTraitCollection:(nonnull UITraitCollection *)newCollection withTransitionCoordinator:(nonnull id)coordinator { + <#code#> +} + +- (void)didUpdateFocusInContext:(nonnull UIFocusUpdateContext *)context withAnimationCoordinator:(nonnull UIFocusAnimationCoordinator *)coordinator { + <#code#> +} + +- (void)setNeedsFocusUpdate { + <#code#> +} + +- (BOOL)shouldUpdateFocusInContext:(nonnull UIFocusUpdateContext *)context { + <#code#> +} + +- (void)updateFocusIfNeeded { + <#code#> +} + @end