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

wireshark - USB mapping with python -

c++ - nodejs socket.io closes connection before upgrading to websocket -

Deploying Qt Application on Android is really slow? -