NetNewsWire/Frameworks/Account/Extensions/Article+Account.swift

21 lines
331 B
Swift
Raw Normal View History

2017-09-17 12:08:50 -07:00
//
2017-09-17 12:34:10 -07:00
// Article+Account.swift
2017-09-17 12:08:50 -07:00
// Account
//
// Created by Brent Simmons on 9/17/17.
// Copyright © 2017 Ranchero Software, LLC. All rights reserved.
//
import Foundation
import Data
2017-09-17 12:34:10 -07:00
public extension Article {
2017-09-17 12:08:50 -07:00
var account: Account? {
get {
return AccountManager.sharedInstance.existingAccountWithID(accountID)
2017-09-17 12:08:50 -07:00
}
}
}
2017-09-17 12:34:10 -07:00