mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-15 01:33:25 +01:00
[AltStore] Adds redesigned BrowseViewController to browse and install apps
This commit is contained in:
28
AltStore/Browse/ScreenshotCollectionViewCell.swift
Normal file
28
AltStore/Browse/ScreenshotCollectionViewCell.swift
Normal file
@@ -0,0 +1,28 @@
|
||||
//
|
||||
// ScreenshotCollectionViewCell.swift
|
||||
// AltStore
|
||||
//
|
||||
// Created by Riley Testut on 7/15/19.
|
||||
// Copyright © 2019 Riley Testut. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
||||
import Roxas
|
||||
|
||||
@objc(ScreenshotCollectionViewCell)
|
||||
class ScreenshotCollectionViewCell: UICollectionViewCell
|
||||
{
|
||||
let imageView: UIImageView
|
||||
|
||||
required init?(coder aDecoder: NSCoder)
|
||||
{
|
||||
self.imageView = UIImageView(image: nil)
|
||||
self.imageView.layer.cornerRadius = 8
|
||||
self.imageView.layer.masksToBounds = true
|
||||
|
||||
super.init(coder: aDecoder)
|
||||
|
||||
self.addSubview(self.imageView, pinningEdgesWith: .zero)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user