mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-18 20:34:46 +01:00
24 lines
521 B
Swift
24 lines
521 B
Swift
|
//
|
||
|
// AppImages.swift
|
||
|
// Evergreen
|
||
|
//
|
||
|
// Created by Brent Simmons on 2/17/18.
|
||
|
// Copyright © 2018 Ranchero Software. All rights reserved.
|
||
|
//
|
||
|
|
||
|
import AppKit
|
||
|
|
||
|
extension NSImage.Name {
|
||
|
static let star = NSImage.Name(rawValue: "star")
|
||
|
static let unstar = NSImage.Name(rawValue: "unstar")
|
||
|
}
|
||
|
|
||
|
struct AppImages {
|
||
|
|
||
|
static var genericFeedImage: NSImage? = {
|
||
|
let path = "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/BookmarkIcon.icns"
|
||
|
let image = NSImage(contentsOfFile: path)
|
||
|
return image
|
||
|
}()
|
||
|
}
|