2017-07-12 22:25:10 +02:00
|
|
|
|
//
|
|
|
|
|
// AccountInfo.swift
|
|
|
|
|
// Database
|
|
|
|
|
//
|
|
|
|
|
// Created by Brent Simmons on 7/3/17.
|
|
|
|
|
// Copyright © 2017 Ranchero Software. All rights reserved.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
|
import RSCore
|
|
|
|
|
import RSDatabase
|
|
|
|
|
|
|
|
|
|
// AccountInfo is a plist-compatible dictionary that’s stored as a binary plist in the database.
|
|
|
|
|
|
2017-08-21 07:43:46 +02:00
|
|
|
|
//func accountInfoWithRow(_ row: FMResultSet) -> AccountInfo? {
|
|
|
|
|
//
|
|
|
|
|
// guard let rawAccountInfo = row.data(forColumn: DatabaseKey.accountInfo) else {
|
|
|
|
|
// return nil
|
|
|
|
|
// }
|
|
|
|
|
// return propertyList(withData: rawAccountInfo) as? AccountInfo
|
|
|
|
|
//}
|
|
|
|
|
|