Faking a dynamic schema in Core Data?
        Posted  
        
            by Gouldsc
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Gouldsc
        
        
        
        Published on 2010-03-16T03:16:29Z
        Indexed on 
            2010/03/16
            5:36 UTC
        
        
        Read the original article
        Hit count: 455
        
From reading the Apple Docs on Core Data, I've learned that you should not use Core Data when you need a dynamic schema. If I wanted to provide the user the ability to create their own properties, in a core data model would it work if I created some "dummy" attributes like "custom decimal 1", "custom decimal 2", "custom text 1", "custom text 2" etc that the user could name and use for their own purposes?
Obviously this won't work for relationships, but for simple properties it seems like a reasonable workaround. Will creating a bunch of dummy attributes on my entities that go unused by most users noticeably decrease performance for them? Have any of you tried something like this? Thanks!
© Stack Overflow or respective owner