Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个框架,我想在其中包含一个NSManagedObjectModel抽象实体,这些实体被设计为在应用程序中进行子类化。应用程序是否可以NSManagedObjectModel在框架中子类化实体?
NSManagedObjectModel
当然,您可以从框架中继承类。子类化没有理由不工作。
如果您想NSManagedObjectModel从应用程序中的框架扩展它可能会变得棘手,但它也可以工作。当您遇到更具体的障碍时,您应该尝试一下并提出一个新问题。