Can xcode have files shared between projects and edited independently? -


when building ios projects xcode, realize can nightmare share code between projects. let's use following example: let's i'm building several casino apps, lets assume i've built "card" class , "card shuffling" class. these classes can used video poker apps, blackjack apps, etc. i've found if i've built these classes within blackjack project, reuse classes inside video poker app. when building video poker project, copy , paste "card" , "card shuffling" classes blackjack project video poker project.

everything going until need tweak classes. let's i'm creating deuces wild video poker , need additional logic in card class display "wild 2's graphics" cards. , go blackjack app project. when view "card" class inside of blackjack app, "wild 2's graphics" logic has been written inside class. there way unlink these files can edit them without them affecting each other?

when add file 1 project another, sure check "copy items destination group's folder". create new copy of file specific project.

it sounds didn't , 2 projects sharing single copy of file.

to fix have, manually copy file original project other project. in other project, update reference file points new local copy.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -