Add build number to the release note lookup

This commit is contained in:
Maurice Parker
2022-11-13 19:05:03 -06:00
parent e1d9455ffc
commit 35e57f4d98
3 changed files with 10 additions and 6 deletions

View File

@@ -1,25 +0,0 @@
//
// 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
}
}