This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// DetailViewModel.swift | |
// GitStar | |
// | |
// Created by EbubekirSezer on 21.10.2022. | |
// | |
import Foundation | |
final class DetaiViewModel: ObservableObject { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// RealmHelper.swift | |
// GitStar | |
// | |
// Created by EbubekirSezer on 22.10.2022. | |
// | |
import Foundation | |
class RealmHelper { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// RealmCascadeDeletion.swift | |
// GitStar | |
// | |
// Created by EbubekirSezer on 21.10.2022. | |
// | |
import Foundation | |
import RealmSwift | |
import Realm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// RealmManagerExtension.swift | |
// GitStar | |
// | |
// Created by EbubekirSezer on 21.10.2022. | |
// | |
import Foundation | |
import RealmSwift |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// GitStarApp.swift | |
// GitStar | |
// | |
// Created by EbubekirSezer on 11.10.2022. | |
// | |
import SwiftUI | |
@main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// RealmManager.swift | |
// GitStar | |
// | |
// Created by EbubekirSezer on 21.10.2022. | |
// | |
import Foundation | |
import Realm | |
import RealmSwift |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// RealmFileType.swift | |
// GitStar | |
// | |
// Created by EbubekirSezer on 21.10.2022. | |
// | |
import Foundation | |
enum RealmFileType: String, CaseIterable { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// RealmExtension.swift | |
// GitStar | |
// | |
// Created by EbubekirSezer on 21.10.2022. | |
// | |
import Foundation | |
import Realm | |
import RealmSwift |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// BaseModel.swift | |
// GitStar | |
// | |
// Created by EbubekirSezer on 21.10.2022. | |
// | |
import Foundation | |
import RealmSwift |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
extension Collection { | |
func arrayValue<T>() -> [T] where Self.Element == T { | |
guard self.count > 0 else { return [] } | |
var list: [T] = [] | |
list.append(contentsOf: self) |
NewerOlder