NetNewsWire/Mac/AppImages.swift

36 lines
746 B
Swift
Raw Normal View History

//
// AppImages.swift
2018-08-29 07:18:24 +02: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 21:32:33 +01:00
static let star = NSImage.Name("star")
static let timelineStar = NSImage.Name("timelineStar")
}
struct AppImages {
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 13:49:50 +02:00
static var accountLocal: RSImage! = {
let image = RSImage(named: "accountLocal")
image?.isTemplate = true
return image
}()
}