Is there a way to only build certain classes? I am testing code in one part of the application and I don’t want to have to change it all across the program if it is not going to work correctly.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You have multiple possibilities:
If you choose to create a dedicated target, you can easily switch between this new target (to compile only the selected classes) and the main target (to compile the whole app) and vice-versa, at any time.
(if you only need to compile one class for the day until you finish your refactoring but won’t need this later, it’s probably not worth creating a target; But creating a target could be useful if you intend to test this class on its own in multiple occasions during your development phases)