ios - How can I properly move the generated NSManagedObject subclasses into the project? -


i generated nsmanagedobject subclasses , xcode adds them in weird position:

enter image description here

the files in red frame (not hand-drawn) generated nsmanagedobject subclasses. can see, not in target "math toolbox", files in green frame.

therefore, nsmanagedobject subclasses not being compiled when build app.

so try drag them target, , result looks horrible:

enter image description here

there 2 sets of these files!

i thought files outside target can deleted. deleted files in target turned red , has become inaccessible!

this mess!

how can move files target , leave no files outside target?

this 1 has harassed me!

simple steps follow. create subclass way did, create 1 in red box.

when create, ensure put them in new proper folder -->

enter image description here

next, delete in red box, remove reference -->

enter image description here

next, add back, before that, create new group, or select group want them -->

enter image description here

enter image description here

and select files -->

enter image description here

the final output -->

enter image description here


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -