Is there any way to set a breakpoint in XCode so it breaks every time a variable is changed, and show’s me where it’s happened?
For example an int.
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.
Yes there is a way its call key-Value observing. You can read about it here: Introduction to Key-Value Observing Programming Guide