- Multiple fixes and CI setup

This commit is contained in:
Magesh K
2025-02-08 04:45:22 +05:30
parent e608211f32
commit bf766c1b84
61 changed files with 1631 additions and 1154 deletions

View File

@@ -0,0 +1,24 @@
//
// BaseEntity.swift
// AltStore
//
// Created by Magesh K on 28/01/25.
// Copyright © 2025 SideStore. All rights reserved.
//
import CoreData
public class BaseEntity: NSManagedObject, Fetchable
{
@nonobjc class func fetchRequest<T>() -> NSFetchRequest<T>
{
fatalError("method not implemented, subclass needs to provide an implementation")
}
internal override init(entity: NSEntityDescription, insertInto context: NSManagedObjectContext?)
{
super.init(entity: entity, insertInto: context)
// print("\(BaseEntity.self):\(type(of: self)): Inserting: \(entity.name ?? "nil") into context: \(String(describing: context))")
}
}