diff --git a/NPO Live.xcodeproj/project.pbxproj b/NPO Live.xcodeproj/project.pbxproj index 466a613..b16677b 100755 --- a/NPO Live.xcodeproj/project.pbxproj +++ b/NPO Live.xcodeproj/project.pbxproj @@ -15,7 +15,7 @@ 511C0F571C06388D00B15BDA /* SmallChannelCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 511C0F541C06388D00B15BDA /* SmallChannelCell.swift */; }; 511C0F5A1C06389D00B15BDA /* TVCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 511C0F581C06389D00B15BDA /* TVCollectionViewController.swift */; }; 511C0F5B1C06389D00B15BDA /* PlayerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 511C0F591C06389D00B15BDA /* PlayerViewController.swift */; }; - 93026D061FB258E000BC01F8 /* ChannelStreamController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93026D051FB258E000BC01F8 /* ChannelStreamController.swift */; }; + 932C01991FB34EDD0028D251 /* VersionUtility.swift in Sources */ = {isa = PBXBuildFile; fileRef = 932C01981FB34EDD0028D251 /* VersionUtility.swift */; }; 93AF11B91F18BA05005043DB /* Pods_NPO_Live.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DAF4D1674025305B1531E95D /* Pods_NPO_Live.framework */; }; /* End PBXBuildFile section */ @@ -31,7 +31,7 @@ 511C0F591C06389D00B15BDA /* PlayerViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PlayerViewController.swift; sourceTree = ""; }; 5123DB861C008A1A00F86B26 /* NPO Live.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "NPO Live.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 5123DB921C008A1A00F86B26 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 93026D051FB258E000BC01F8 /* ChannelStreamController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChannelStreamController.swift; sourceTree = ""; }; + 932C01981FB34EDD0028D251 /* VersionUtility.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VersionUtility.swift; sourceTree = ""; }; 98E26ADFA6C6F60733EC205D /* Pods-NPO Live.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NPO Live.debug.xcconfig"; path = "Pods/Target Support Files/Pods-NPO Live/Pods-NPO Live.debug.xcconfig"; sourceTree = ""; }; DAF4D1674025305B1531E95D /* Pods_NPO_Live.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_NPO_Live.framework; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ @@ -48,80 +48,80 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 49F08DDD1C00ED2E00AF0C36 /* Supporting Files */ = { + 5123DB7D1C008A1A00F86B26 = { isa = PBXGroup; children = ( - 511C0F4E1C06387700B15BDA /* AppDelegate.swift */, - 511C0F4F1C06387700B15BDA /* Assets.xcassets */, - 511C0F521C06388D00B15BDA /* Main.storyboard */, - 5123DB921C008A1A00F86B26 /* Info.plist */, + 5123DB881C008A1A00F86B26 /* NPO Live */, + 5123DB871C008A1A00F86B26 /* Products */, + 7B0DBED132F02AE30031C0B2 /* Pods */, + 947374420EE0AC472B9668D5 /* Frameworks */, ); - name = "Supporting Files"; sourceTree = ""; }; - 511C0F4A1C06384C00B15BDA /* Model */ = { + 5123DB871C008A1A00F86B26 /* Products */ = { isa = PBXGroup; children = ( - 511C0F471C06384900B15BDA /* ChannelProvider.swift */, + 5123DB861C008A1A00F86B26 /* NPO Live.app */, ); - name = Model; + name = Products; sourceTree = ""; }; - 511C0F4B1C06385500B15BDA /* View */ = { + 5123DB881C008A1A00F86B26 /* NPO Live */ = { isa = PBXGroup; children = ( - 511C0F531C06388D00B15BDA /* BigChannelCell.swift */, - 511C0F541C06388D00B15BDA /* SmallChannelCell.swift */, + 932FC16A1FB4454E00FDACBF /* Control */, + 932FC1681FB4453500FDACBF /* Model */, + 932FC1691FB4453F00FDACBF /* View */, + 932FC16B1FB4458600FDACBF /* Supporting Files */, ); - name = View; + path = "NPO Live"; sourceTree = ""; }; - 511C0F4C1C06385900B15BDA /* Control */ = { + 7B0DBED132F02AE30031C0B2 /* Pods */ = { isa = PBXGroup; children = ( - 93026D051FB258E000BC01F8 /* ChannelStreamController.swift */, - 511C0F581C06389D00B15BDA /* TVCollectionViewController.swift */, - 511C0F591C06389D00B15BDA /* PlayerViewController.swift */, + 98E26ADFA6C6F60733EC205D /* Pods-NPO Live.debug.xcconfig */, + 4D473A8CFCE3B5A086B71258 /* Pods-NPO Live.release.xcconfig */, ); - name = Control; + name = Pods; sourceTree = ""; }; - 5123DB7D1C008A1A00F86B26 = { + 932FC1681FB4453500FDACBF /* Model */ = { isa = PBXGroup; children = ( - 5123DB881C008A1A00F86B26 /* NPO Live */, - 5123DB871C008A1A00F86B26 /* Products */, - 7B0DBED132F02AE30031C0B2 /* Pods */, - 947374420EE0AC472B9668D5 /* Frameworks */, + 511C0F471C06384900B15BDA /* ChannelProvider.swift */, ); + path = Model; sourceTree = ""; }; - 5123DB871C008A1A00F86B26 /* Products */ = { + 932FC1691FB4453F00FDACBF /* View */ = { isa = PBXGroup; children = ( - 5123DB861C008A1A00F86B26 /* NPO Live.app */, + 511C0F531C06388D00B15BDA /* BigChannelCell.swift */, + 511C0F541C06388D00B15BDA /* SmallChannelCell.swift */, ); - name = Products; + path = View; sourceTree = ""; }; - 5123DB881C008A1A00F86B26 /* NPO Live */ = { + 932FC16A1FB4454E00FDACBF /* Control */ = { isa = PBXGroup; children = ( - 511C0F4A1C06384C00B15BDA /* Model */, - 511C0F4B1C06385500B15BDA /* View */, - 511C0F4C1C06385900B15BDA /* Control */, - 49F08DDD1C00ED2E00AF0C36 /* Supporting Files */, + 511C0F581C06389D00B15BDA /* TVCollectionViewController.swift */, + 511C0F591C06389D00B15BDA /* PlayerViewController.swift */, + 932C01981FB34EDD0028D251 /* VersionUtility.swift */, ); - path = "NPO Live"; + path = Control; sourceTree = ""; }; - 7B0DBED132F02AE30031C0B2 /* Pods */ = { + 932FC16B1FB4458600FDACBF /* Supporting Files */ = { isa = PBXGroup; children = ( - 98E26ADFA6C6F60733EC205D /* Pods-NPO Live.debug.xcconfig */, - 4D473A8CFCE3B5A086B71258 /* Pods-NPO Live.release.xcconfig */, + 511C0F4E1C06387700B15BDA /* AppDelegate.swift */, + 511C0F4F1C06387700B15BDA /* Assets.xcassets */, + 511C0F521C06388D00B15BDA /* Main.storyboard */, + 5123DB921C008A1A00F86B26 /* Info.plist */, ); - name = Pods; + path = "Supporting Files"; sourceTree = ""; }; 947374420EE0AC472B9668D5 /* Frameworks */ = { @@ -257,10 +257,10 @@ files = ( 511C0F5A1C06389D00B15BDA /* TVCollectionViewController.swift in Sources */, 511C0F501C06387700B15BDA /* AppDelegate.swift in Sources */, - 93026D061FB258E000BC01F8 /* ChannelStreamController.swift in Sources */, 511C0F571C06388D00B15BDA /* SmallChannelCell.swift in Sources */, 511C0F5B1C06389D00B15BDA /* PlayerViewController.swift in Sources */, 511C0F491C06384900B15BDA /* ChannelProvider.swift in Sources */, + 932C01991FB34EDD0028D251 /* VersionUtility.swift in Sources */, 511C0F561C06388D00B15BDA /* BigChannelCell.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -379,7 +379,7 @@ "$(inherited)", "\"$(PROJECT_DIR)/NPO Live\"", ); - INFOPLIST_FILE = "NPO Live/Info.plist"; + INFOPLIST_FILE = "NPO Live/Supporting Files/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "bdh.NPO-Live"; @@ -400,7 +400,7 @@ "$(inherited)", "\"$(PROJECT_DIR)/NPO Live\"", ); - INFOPLIST_FILE = "NPO Live/Info.plist"; + INFOPLIST_FILE = "NPO Live/Supporting Files/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "bdh.NPO-Live"; diff --git a/NPO Live/AppDelegate.swift b/NPO Live/AppDelegate.swift deleted file mode 100755 index 1e05c8b..0000000 --- a/NPO Live/AppDelegate.swift +++ /dev/null @@ -1,58 +0,0 @@ -// -// AppDelegate.swift -// NPO Live -// -// Created by Maurice van Breukelen on 21-11-15. -// Copyright © 2015 Maurice van Breukelen. All rights reserved. -// - -import UIKit - -//let gitHubURL = "https://api.github.com/repos/Mauricevb/NPO-Live-Apple-TV-4/releases" - -@UIApplicationMain -class AppDelegate: UIResponder, UIApplicationDelegate { - - var window: UIWindow? - - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { -// checkForNewVersions() - return true - } - -// func checkForNewVersions() { -// guard let currentVersion = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String else { return } -// -// let URL = Foundation.URL(string: gitHubURL) -// let request = NSMutableURLRequest(url: URL!) -// request.httpMethod = "GET" -// request.addValue("application/vnd.github.v3+json", forHTTPHeaderField: "Accept") -// -// -// let task = URLSession.shared.dataTask(with: request, completionHandler: { (data, _, error) in -// if error == nil { -// guard let data = data else { return } -// do { -// guard let json = try JSONSerialization.jsonObject(with: data, options: .allowFragments) as? [AnyObject] else { return } -// guard let lastVersion = json[0] as? NSDictionary, lastVersion["tag_name"] != nil else { return } -// let version = lastVersion["tag_name"] as! String -// -// if version > currentVersion { -// let alert = UIAlertController(title: "Update available", message: "Version \(version) is available. Your version is \(currentVersion)", preferredStyle: UIAlertControllerStyle.alert) -// alert.addAction(UIAlertAction(title: "Ok", style: .default, handler: nil)) -// -// DispatchQueue.main.async { -// if let vc = self.window?.rootViewController { -// vc.present(alert, animated: true, completion: nil) -// } -// } -// } -// } catch { -// print(error) -// } -// } -// }) -// -// task.resume() -// } -} diff --git a/NPO Live/ChannelStreamController.swift b/NPO Live/ChannelStreamController.swift deleted file mode 100644 index 14849d8..0000000 --- a/NPO Live/ChannelStreamController.swift +++ /dev/null @@ -1,19 +0,0 @@ -// -// ChannelStreamController.swift -// NPO Live -// -// Created by Bart den Hollander on 07/11/2017. -// Copyright © 2017 Maurice van Breukelen. All rights reserved. -// - -import Foundation - -/// -class ChannelStreamController { - - init() {} - - func fetchStreams() { - - } -} diff --git a/NPO Live/PlayerViewController.swift b/NPO Live/Control/PlayerViewController.swift similarity index 100% rename from NPO Live/PlayerViewController.swift rename to NPO Live/Control/PlayerViewController.swift diff --git a/NPO Live/TVCollectionViewController.swift b/NPO Live/Control/TVCollectionViewController.swift similarity index 100% rename from NPO Live/TVCollectionViewController.swift rename to NPO Live/Control/TVCollectionViewController.swift diff --git a/NPO Live/Control/VersionUtility.swift b/NPO Live/Control/VersionUtility.swift new file mode 100644 index 0000000..adbd5ba --- /dev/null +++ b/NPO Live/Control/VersionUtility.swift @@ -0,0 +1,65 @@ +// +// AppVersionController.swift +// NPO Live +// +// Created by Bart den Hollander on 08/11/2017. +// Copyright © 2017 Bart den Hollander. All rights reserved. +// + +import Foundation +import NPOStream + +enum VersionControllerResult { + case newVersion(String) + case noNewVersion +} + +struct Release: Codable { + var tag_name: String + var name: String +} + +class VersionUtility { + + static let gitHubLatestReleaseURLString = "https://api.github.com/repos/hollanderbart/NPO-Live/releases/latest" + + func checkForNewVersion(_ currentVersion: String, onCompletion: @escaping (VersionControllerResult) -> Void) { + guard let gitHubLatestReleaseURL = URL(string: VersionUtility.gitHubLatestReleaseURLString) else { return } + + getVersionTagFromLatestRelease(gitHubLatestReleaseURL) { (result) in + switch result { + case .success(let version): + if version > currentVersion { + onCompletion(.newVersion(version)) + } else { + onCompletion(.noNewVersion) + } + case .error(let error): + print(error) + } + } + } + + private func getVersionTagFromLatestRelease(_ url: URL, onCompletion: @escaping (Result) -> Void) { + let decoder = JSONDecoder() + let request = NSMutableURLRequest(url: url) + request.httpMethod = "GET" + request.addValue("application/vnd.github.v3+json", forHTTPHeaderField: "Accept") + + let task = URLSession.shared.dataTask(with: request as URLRequest) { (data, _, error) in + if let responseData = data { + do { + let response = try decoder.decode(Release.self, from: responseData) + onCompletion(.success(response.tag_name)) + } catch { + onCompletion(.error(error)) + } + } else { + if let error = error { + onCompletion(.error(error)) + } + } + } + task.resume() + } +} diff --git a/NPO Live/ChannelProvider.swift b/NPO Live/Model/ChannelProvider.swift similarity index 100% rename from NPO Live/ChannelProvider.swift rename to NPO Live/Model/ChannelProvider.swift diff --git a/NPO Live/Supporting Files/AppDelegate.swift b/NPO Live/Supporting Files/AppDelegate.swift new file mode 100755 index 0000000..68af6a4 --- /dev/null +++ b/NPO Live/Supporting Files/AppDelegate.swift @@ -0,0 +1,39 @@ +// +// AppDelegate.swift +// NPO Live +// +// Created by Maurice van Breukelen on 21-11-15. +// Copyright © 2015 Maurice van Breukelen. All rights reserved. +// + +import UIKit + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + let versionUtility = VersionUtility() + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + + if let currentVersion = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String { + versionUtility.checkForNewVersion(currentVersion) { result in + switch result { + case .newVersion(let newVersion): + let alert = UIAlertController(title: "Update available", message: "Version \(newVersion) is available. Your version is \(currentVersion).", preferredStyle: UIAlertControllerStyle.alert) + alert.addAction(UIAlertAction(title: "Ok", style: .default, handler: nil)) + + DispatchQueue.main.async { + if let rootViewController = self.window?.rootViewController { + rootViewController.present(alert, animated: true, completion: nil) + } + } + case .noNewVersion: + break + } + + } + } + return true + } +} diff --git a/NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/Contents.json diff --git a/NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/bg.jpg b/NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/bg.jpg similarity index 100% rename from NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/bg.jpg rename to NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/bg.jpg diff --git a/NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Contents.json diff --git a/NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Contents.json diff --git a/NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/Contents.json diff --git a/NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/npo.png b/NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/npo.png similarity index 100% rename from NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/npo.png rename to NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/npo.png diff --git a/NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Contents.json diff --git a/NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json diff --git a/NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/orange.png b/NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/orange.png similarity index 100% rename from NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/orange.png rename to NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/orange.png diff --git a/NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Contents.json diff --git a/NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/Contents.json diff --git a/NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/bg.png b/NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/bg.png similarity index 100% rename from NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/bg.png rename to NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/bg.png diff --git a/NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Contents.json diff --git a/NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Contents.json diff --git a/NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/Contents.json diff --git a/NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/npo.png b/NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/npo.png similarity index 100% rename from NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/npo.png rename to NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/npo.png diff --git a/NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Contents.json diff --git a/NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json diff --git a/NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/orange.png b/NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/orange.png similarity index 100% rename from NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/orange.png rename to NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/orange.png diff --git a/NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Contents.json diff --git a/NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Contents.json diff --git a/NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/Contents.json diff --git a/NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json diff --git a/NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/TopShelfImage.jpg b/NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/TopShelfImage.jpg similarity index 100% rename from NPO Live/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/TopShelfImage.jpg rename to NPO Live/Supporting Files/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/TopShelfImage.jpg diff --git a/NPO Live/Assets.xcassets/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/Contents.json diff --git a/NPO Live/Assets.xcassets/LaunchImage.launchimage/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/LaunchImage.launchimage/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/LaunchImage.launchimage/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/LaunchImage.launchimage/Contents.json diff --git a/NPO Live/Assets.xcassets/LaunchImage.launchimage/fanart.png b/NPO Live/Supporting Files/Assets.xcassets/LaunchImage.launchimage/fanart.png similarity index 100% rename from NPO Live/Assets.xcassets/LaunchImage.launchimage/fanart.png rename to NPO Live/Supporting Files/Assets.xcassets/LaunchImage.launchimage/fanart.png diff --git a/NPO Live/Assets.xcassets/NPO 1.imageset/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/NPO 1.imageset/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/NPO 1.imageset/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/NPO 1.imageset/Contents.json diff --git a/NPO Live/Assets.xcassets/NPO 1.imageset/NPO_1.png b/NPO Live/Supporting Files/Assets.xcassets/NPO 1.imageset/NPO_1.png similarity index 100% rename from NPO Live/Assets.xcassets/NPO 1.imageset/NPO_1.png rename to NPO Live/Supporting Files/Assets.xcassets/NPO 1.imageset/NPO_1.png diff --git a/NPO Live/Assets.xcassets/NPO 101.imageset/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/NPO 101.imageset/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/NPO 101.imageset/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/NPO 101.imageset/Contents.json diff --git a/NPO Live/Assets.xcassets/NPO 101.imageset/npo_101.png b/NPO Live/Supporting Files/Assets.xcassets/NPO 101.imageset/npo_101.png similarity index 100% rename from NPO Live/Assets.xcassets/NPO 101.imageset/npo_101.png rename to NPO Live/Supporting Files/Assets.xcassets/NPO 101.imageset/npo_101.png diff --git a/NPO Live/Assets.xcassets/NPO 2.imageset/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/NPO 2.imageset/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/NPO 2.imageset/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/NPO 2.imageset/Contents.json diff --git a/NPO Live/Assets.xcassets/NPO 2.imageset/NPO_2.png b/NPO Live/Supporting Files/Assets.xcassets/NPO 2.imageset/NPO_2.png similarity index 100% rename from NPO Live/Assets.xcassets/NPO 2.imageset/NPO_2.png rename to NPO Live/Supporting Files/Assets.xcassets/NPO 2.imageset/NPO_2.png diff --git a/NPO Live/Assets.xcassets/NPO 3.imageset/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/NPO 3.imageset/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/NPO 3.imageset/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/NPO 3.imageset/Contents.json diff --git a/NPO Live/Assets.xcassets/NPO 3.imageset/NPO_3.png b/NPO Live/Supporting Files/Assets.xcassets/NPO 3.imageset/NPO_3.png similarity index 100% rename from NPO Live/Assets.xcassets/NPO 3.imageset/NPO_3.png rename to NPO Live/Supporting Files/Assets.xcassets/NPO 3.imageset/NPO_3.png diff --git a/NPO Live/Assets.xcassets/NPO 3FM.imageset/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/NPO 3FM.imageset/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/NPO 3FM.imageset/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/NPO 3FM.imageset/Contents.json diff --git a/NPO Live/Assets.xcassets/NPO 3FM.imageset/npo_3fm.png b/NPO Live/Supporting Files/Assets.xcassets/NPO 3FM.imageset/npo_3fm.png similarity index 100% rename from NPO Live/Assets.xcassets/NPO 3FM.imageset/npo_3fm.png rename to NPO Live/Supporting Files/Assets.xcassets/NPO 3FM.imageset/npo_3fm.png diff --git a/NPO Live/Assets.xcassets/NPO Cultura.imageset/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/NPO Cultura.imageset/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/NPO Cultura.imageset/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/NPO Cultura.imageset/Contents.json diff --git a/NPO Live/Assets.xcassets/NPO Cultura.imageset/npo_cultura.png b/NPO Live/Supporting Files/Assets.xcassets/NPO Cultura.imageset/npo_cultura.png similarity index 100% rename from NPO Live/Assets.xcassets/NPO Cultura.imageset/npo_cultura.png rename to NPO Live/Supporting Files/Assets.xcassets/NPO Cultura.imageset/npo_cultura.png diff --git a/NPO Live/Assets.xcassets/NPO FunX.imageset/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/NPO FunX.imageset/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/NPO FunX.imageset/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/NPO FunX.imageset/Contents.json diff --git a/NPO Live/Assets.xcassets/NPO FunX.imageset/npo_funx.png b/NPO Live/Supporting Files/Assets.xcassets/NPO FunX.imageset/npo_funx.png similarity index 100% rename from NPO Live/Assets.xcassets/NPO FunX.imageset/npo_funx.png rename to NPO Live/Supporting Files/Assets.xcassets/NPO FunX.imageset/npo_funx.png diff --git a/NPO Live/Assets.xcassets/NPO Nieuws.imageset/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/NPO Nieuws.imageset/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/NPO Nieuws.imageset/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/NPO Nieuws.imageset/Contents.json diff --git a/NPO Live/Assets.xcassets/NPO Nieuws.imageset/npo_nieuws.png b/NPO Live/Supporting Files/Assets.xcassets/NPO Nieuws.imageset/npo_nieuws.png similarity index 100% rename from NPO Live/Assets.xcassets/NPO Nieuws.imageset/npo_nieuws.png rename to NPO Live/Supporting Files/Assets.xcassets/NPO Nieuws.imageset/npo_nieuws.png diff --git a/NPO Live/Assets.xcassets/NPO Placeholder.imageset/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/NPO Placeholder.imageset/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/NPO Placeholder.imageset/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/NPO Placeholder.imageset/Contents.json diff --git a/NPO Live/Assets.xcassets/NPO Placeholder.imageset/npo_placeholder.png b/NPO Live/Supporting Files/Assets.xcassets/NPO Placeholder.imageset/npo_placeholder.png similarity index 100% rename from NPO Live/Assets.xcassets/NPO Placeholder.imageset/npo_placeholder.png rename to NPO Live/Supporting Files/Assets.xcassets/NPO Placeholder.imageset/npo_placeholder.png diff --git a/NPO Live/Assets.xcassets/NPO Politiek.imageset/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/NPO Politiek.imageset/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/NPO Politiek.imageset/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/NPO Politiek.imageset/Contents.json diff --git a/NPO Live/Assets.xcassets/NPO Politiek.imageset/npo_politiek.png b/NPO Live/Supporting Files/Assets.xcassets/NPO Politiek.imageset/npo_politiek.png similarity index 100% rename from NPO Live/Assets.xcassets/NPO Politiek.imageset/npo_politiek.png rename to NPO Live/Supporting Files/Assets.xcassets/NPO Politiek.imageset/npo_politiek.png diff --git a/NPO Live/Assets.xcassets/NPO Radio 1.imageset/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/NPO Radio 1.imageset/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/NPO Radio 1.imageset/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/NPO Radio 1.imageset/Contents.json diff --git a/NPO Live/Assets.xcassets/NPO Radio 1.imageset/npo_radio1.png b/NPO Live/Supporting Files/Assets.xcassets/NPO Radio 1.imageset/npo_radio1.png similarity index 100% rename from NPO Live/Assets.xcassets/NPO Radio 1.imageset/npo_radio1.png rename to NPO Live/Supporting Files/Assets.xcassets/NPO Radio 1.imageset/npo_radio1.png diff --git a/NPO Live/Assets.xcassets/NPO Radio 2.imageset/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/NPO Radio 2.imageset/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/NPO Radio 2.imageset/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/NPO Radio 2.imageset/Contents.json diff --git a/NPO Live/Assets.xcassets/NPO Radio 2.imageset/npo_radio2.png b/NPO Live/Supporting Files/Assets.xcassets/NPO Radio 2.imageset/npo_radio2.png similarity index 100% rename from NPO Live/Assets.xcassets/NPO Radio 2.imageset/npo_radio2.png rename to NPO Live/Supporting Files/Assets.xcassets/NPO Radio 2.imageset/npo_radio2.png diff --git a/NPO Live/Assets.xcassets/NPO Radio 4.imageset/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/NPO Radio 4.imageset/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/NPO Radio 4.imageset/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/NPO Radio 4.imageset/Contents.json diff --git a/NPO Live/Assets.xcassets/NPO Radio 4.imageset/npo_radio4.png b/NPO Live/Supporting Files/Assets.xcassets/NPO Radio 4.imageset/npo_radio4.png similarity index 100% rename from NPO Live/Assets.xcassets/NPO Radio 4.imageset/npo_radio4.png rename to NPO Live/Supporting Files/Assets.xcassets/NPO Radio 4.imageset/npo_radio4.png diff --git a/NPO Live/Assets.xcassets/NPO Radio 5.imageset/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/NPO Radio 5.imageset/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/NPO Radio 5.imageset/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/NPO Radio 5.imageset/Contents.json diff --git a/NPO Live/Assets.xcassets/NPO Radio 5.imageset/npo_radio5.png b/NPO Live/Supporting Files/Assets.xcassets/NPO Radio 5.imageset/npo_radio5.png similarity index 100% rename from NPO Live/Assets.xcassets/NPO Radio 5.imageset/npo_radio5.png rename to NPO Live/Supporting Files/Assets.xcassets/NPO Radio 5.imageset/npo_radio5.png diff --git a/NPO Live/Assets.xcassets/NPO Radio 6.imageset/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/NPO Radio 6.imageset/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/NPO Radio 6.imageset/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/NPO Radio 6.imageset/Contents.json diff --git a/NPO Live/Assets.xcassets/NPO Radio 6.imageset/npo_radio6.png b/NPO Live/Supporting Files/Assets.xcassets/NPO Radio 6.imageset/npo_radio6.png similarity index 100% rename from NPO Live/Assets.xcassets/NPO Radio 6.imageset/npo_radio6.png rename to NPO Live/Supporting Files/Assets.xcassets/NPO Radio 6.imageset/npo_radio6.png diff --git a/NPO Live/Assets.xcassets/NPO Zapp.imageset/Contents.json b/NPO Live/Supporting Files/Assets.xcassets/NPO Zapp.imageset/Contents.json similarity index 100% rename from NPO Live/Assets.xcassets/NPO Zapp.imageset/Contents.json rename to NPO Live/Supporting Files/Assets.xcassets/NPO Zapp.imageset/Contents.json diff --git a/NPO Live/Assets.xcassets/NPO Zapp.imageset/npo_zapp.png b/NPO Live/Supporting Files/Assets.xcassets/NPO Zapp.imageset/npo_zapp.png similarity index 100% rename from NPO Live/Assets.xcassets/NPO Zapp.imageset/npo_zapp.png rename to NPO Live/Supporting Files/Assets.xcassets/NPO Zapp.imageset/npo_zapp.png diff --git a/NPO Live/Info.plist b/NPO Live/Supporting Files/Info.plist similarity index 97% rename from NPO Live/Info.plist rename to NPO Live/Supporting Files/Info.plist index 9a4c8f2..bc65f3d 100755 --- a/NPO Live/Info.plist +++ b/NPO Live/Supporting Files/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.1 + 1.1.0 CFBundleSignature ???? CFBundleVersion diff --git a/NPO Live/Main.storyboard b/NPO Live/Supporting Files/Main.storyboard similarity index 100% rename from NPO Live/Main.storyboard rename to NPO Live/Supporting Files/Main.storyboard diff --git a/NPO Live/BigChannelCell.swift b/NPO Live/View/BigChannelCell.swift similarity index 100% rename from NPO Live/BigChannelCell.swift rename to NPO Live/View/BigChannelCell.swift diff --git a/NPO Live/SmallChannelCell.swift b/NPO Live/View/SmallChannelCell.swift similarity index 96% rename from NPO Live/SmallChannelCell.swift rename to NPO Live/View/SmallChannelCell.swift index c03d4b2..8400f17 100755 --- a/NPO Live/SmallChannelCell.swift +++ b/NPO Live/View/SmallChannelCell.swift @@ -31,7 +31,7 @@ class SmallChannelCell: UICollectionViewCell { let channel = channel, let image = UIImage(named: channel.title) else { return } logoView.image = image - logoView.center = contentView.center + logoView.contentMode = .scaleAspectFill logoView.adjustsImageWhenAncestorFocused = true logoView.layer.cornerRadius = 10 logoView.layer.masksToBounds = true diff --git a/README.md b/README.md index 7e14a1e..ac109bc 100755 --- a/README.md +++ b/README.md @@ -25,14 +25,10 @@ The following channels are available to watch. ![Top Shelf](images/top_shelf.png) ![Playing](images/playing.png) -## Changelog -* v1.0.1: Build fixed -* v1.0.0: Initial release - ## Next releases -- Check for updates automatically +- ~~Check for updates automatically~~ - Active show information per channel -- Support for light / dark theme +- ~~Support for light / dark theme~~ - While watching a channel, go directly to the next or previous channel - Subtitle support - Automatic refresh token after one hour of watching a show (known issue)