mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-23 16:20:53 +01:00
26 lines
471 B
Swift
26 lines
471 B
Swift
//
|
|
// Bundle-Extensions.swift
|
|
// NetNewsWire-iOS
|
|
//
|
|
// Created by Maurice Parker on 4/26/19.
|
|
// Copyright © 2019 Ranchero Software. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
extension Bundle {
|
|
|
|
var appName: String {
|
|
return infoDictionary?["CFBundleName"] as! String
|
|
}
|
|
|
|
var versionNumber: String {
|
|
return infoDictionary?["CFBundleShortVersionString"] as! String
|
|
}
|
|
|
|
var buildNumber: String {
|
|
return infoDictionary?["CFBundleVersion"] as! String
|
|
}
|
|
|
|
}
|