Mercurial > public > simoleon
comparison Simoleon/Models/Favorite+CoreDataProperties.swift @ 156:84137052813d
Refactor code
author | Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com> |
---|---|
date | Sat, 28 Aug 2021 11:15:25 +0100 |
parents | b0bce2c8e4a9 |
children |
comparison
equal
deleted
inserted
replaced
155:681f2cbe8c7f | 156:84137052813d |
---|---|
1 // | 1 // |
2 // Favorite+CoreDataProperties.swift | 2 // Favorite+CoreDataProperties.swift |
3 // Simoleon | 3 // Simoleon |
4 // | 4 // |
5 // Created by Dennis Concepción Martín on 19/07/2021. | 5 // Created by Dennis Concepción Martín on 24/8/21. |
6 // | 6 // |
7 // | 7 // |
8 | 8 |
9 import Foundation | 9 import Foundation |
10 import CoreData | 10 import CoreData |
11 | 11 |
12 | 12 |
13 extension Favorite { | 13 extension Favorite { |
14 | 14 |
15 @nonobjc public class func fetchRequest() -> NSFetchRequest<Favorite> { | 15 @nonobjc public class func fetchRequest() -> NSFetchRequest<Favorite> { |
16 return NSFetchRequest<Favorite>(entityName: "Favorite") | 16 return NSFetchRequest<Favorite>(entityName: "Favorite") |
17 } | 17 } |
18 | 18 |
19 @NSManaged public var currencyPair: String | 19 @NSManaged public var currencyPair: String |
20 | 20 |
21 } | 21 } |
22 | 22 |
23 extension Favorite : Identifiable { | 23 extension Favorite : Identifiable { |
24 | 24 |
25 } | 25 } |