diff --git a/Launch Screen.xib b/Launch Screen.xib index 9e90326f..bfeb7af2 100644 --- a/Launch Screen.xib +++ b/Launch Screen.xib @@ -1,36 +1,51 @@ - + - + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Limelight/ViewControllers/MainFrameViewController.m b/Limelight/ViewControllers/MainFrameViewController.m index 0e9e7f7f..f41c272e 100644 --- a/Limelight/ViewControllers/MainFrameViewController.m +++ b/Limelight/ViewControllers/MainFrameViewController.m @@ -609,6 +609,7 @@ static NSMutableSet* hostList; - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath { UICollectionViewCell* cell = [collectionView dequeueReusableCellWithReuseIdentifier:@"AppCell" forIndexPath:indexPath]; + App* app = _sortedAppList[indexPath.row]; UIAppView* appView = [[UIAppView alloc] initWithApp:app andCallback:self]; [appView updateAppImage]; @@ -621,6 +622,17 @@ static NSMutableSet* hostList; [cell.subviews.firstObject removeFromSuperview]; // Remove a view that was previously added [cell addSubview:appView]; + + + UIBezierPath *shadowPath = [UIBezierPath bezierPathWithRect:cell.bounds]; + cell.layer.masksToBounds = NO; + cell.layer.shadowColor = [UIColor blackColor].CGColor; + cell.layer.shadowOffset = CGSizeMake(1.0f, 5.0f); + cell.layer.shadowOpacity = 0.5f; + cell.layer.shadowPath = shadowPath.CGPath; + + cell.layer.borderColor = [[UIColor colorWithRed:0 green:0 blue:0 alpha:0.3f] CGColor]; + cell.layer.borderWidth = 1; return cell; } diff --git a/iPad.storyboard b/iPad.storyboard index 00c2f243..9dc847e5 100644 --- a/iPad.storyboard +++ b/iPad.storyboard @@ -1,7 +1,8 @@ - + - + + @@ -16,6 +17,8 @@ + + @@ -25,13 +28,15 @@ - + + + @@ -42,14 +47,15 @@ + @@ -77,6 +83,7 @@