Core Data - Remove entity from model
Asked Answered
E

3

13

I may be utterly stupid, but I can not find out how to remove an entity that I have created. There are only options for adding entities and adding attributes in the .xcdatamodel.

Epps answered 13/9, 2012 at 14:53 Comment(2)
the delete key doesn't work? I use a windows keyboard via KVM and selecting the entity and hitting <DELETE> works for me..Monica
What do you mean, Apple is intuitive!Candlemaker
S
49

Use the Backspace key to delete entities.

Storybook answered 13/9, 2012 at 15:0 Comment(6)
Thanks. So many options for adding entities and whatnot. But for deleting the only option you have is using the backspace key :-PEpps
Yeah, there are a few places where you can only use Backspace in Xcode. An other one is the snippet list.Storybook
<Slap my head> -- I was trying Command-Backspace, and it kept trying to delete the entire xcdatamodel.Multipurpose
save my time to figure out how to delete an entity physically from the model.Postal
Having a bachelor degree and 1 year of developing experience and still i didn't know how to delete an entity 😂 Thank you.Grassofparnassus
Still valid in March 2024Creatine
C
2

just click on that entity and press delete button :P

Croaky answered 2/9, 2013 at 10:36 Comment(0)
D
1

Use the Backspace key to delete entities.Than close and reopen xcode...

But first duplicate and save project. Sometimes it create errors( 50% of the time)

Dexamyl answered 7/7, 2021 at 9:53 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.