mirror of
https://github.com/dscyrescotti/Memola.git
synced 2026-07-13 08:12:54 +02:00
feat: add about view
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// Bundle++.swift
|
||||
// Memola
|
||||
//
|
||||
// Created by Dscyre Scotti on 7/17/24.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
extension Bundle {
|
||||
var appBuild: String { getInfo("CFBundleVersion") }
|
||||
var appVersion: String { getInfo("CFBundleShortVersionString") }
|
||||
var copyright: String { getInfo("NSHumanReadableCopyright") }
|
||||
|
||||
fileprivate func getInfo(_ key: String) -> String { infoDictionary?[key] as! String }
|
||||
}
|
||||
Reference in New Issue
Block a user