NetNewsWire/Mac/AppAssets.swift

42 lines
891 B
Swift
Raw Normal View History

//
// AppAssets.swift
2018-08-28 22:18:24 -07:00
// NetNewsWire
//
// Created by Brent Simmons on 2/17/18.
// Copyright © 2018 Ranchero Software. All rights reserved.
//
import AppKit
import RSCore
extension NSImage.Name {
2018-12-09 12:32:33 -08:00
static let star = NSImage.Name("star")
static let timelineStar = NSImage.Name("timelineStar")
}
struct AppAssets {
static var genericFeedImage: RSImage? = {
let path = "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/BookmarkIcon.icns"
let image = RSImage(contentsOfFile: path)
return image
}()
static var timelineStar: RSImage! = {
return RSImage(named: .timelineStar)
}()
2019-05-01 06:49:50 -05:00
static var accountLocal: RSImage! = {
2019-05-01 12:37:13 -05:00
return RSImage(named: "accountLocal")
2019-05-01 06:49:50 -05:00
}()
2019-05-01 10:28:13 -05:00
static var accountFeedbin: RSImage! = {
2019-05-01 12:37:13 -05:00
return RSImage(named: "accountFeedbin")
2019-05-01 10:28:13 -05:00
}()
static var faviconTemplateImage: RSImage = {
return RSImage(named: "faviconTemplateImage")!
}()
}