mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-11 08:56:54 +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
|
||
|
}
|
||
|
|
||
|
}
|