I receive this warning when building my app:
warning: Semantic Issue: Local declaration of ‘datePicker’ hides instance variable
What does this mean and how do I fix it?
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 probably have a method with parameter named
datePicker. This method is located in a class which has a field with the same name.You need to change a name of one of these variables to get rid of this warning.