mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 23:03:27 +01:00
Fetches App ID count directly from Apple, and adds AppIDsViewController to view all App IDs for the logged-in account.
31 lines
745 B
Swift
31 lines
745 B
Swift
//
|
|
// AppIDComponents.swift
|
|
// AltStore
|
|
//
|
|
// Created by Riley Testut on 2/10/20.
|
|
// Copyright © 2020 Riley Testut. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
class AppIDCollectionViewCell: UICollectionViewCell
|
|
{
|
|
@IBOutlet var bannerView: AppBannerView!
|
|
|
|
override func awakeFromNib()
|
|
{
|
|
super.awakeFromNib()
|
|
|
|
self.contentView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
|
|
self.contentView.preservesSuperviewLayoutMargins = true
|
|
|
|
self.bannerView.buttonLabel.text = NSLocalizedString("Expires in", comment: "")
|
|
self.bannerView.buttonLabel.isHidden = false
|
|
}
|
|
}
|
|
|
|
class AppIDsCollectionReusableView: UICollectionReusableView
|
|
{
|
|
@IBOutlet var textLabel: UILabel!
|
|
}
|