当前位置:网站首页>IPhone: save Boolean into core data - iphone: save Boolean into core data

IPhone: save Boolean into core data - iphone: save Boolean into core data

2022-06-12 21:54:00 Rich in starch

problem :

I have set up one of my core data attributes as a Boolean. I set one of my core data attributes to Boolean values .Now, I need to set it, but XCode keeps telling me that it may not respond to setUseGPS. Now? , I need to set it up , but XCode Keep telling me it may not respond setUseGPS.

[ride setUseGPS: useGPS.on];

What is the method for setting a boolean in core data? What is the method of setting Boolean values in the core data ?All my other attributes are set this way, and they work great. All my other properties are set this way , And they work well .So, not sure why a boolean does not work to be set this way? that , Not sure why Booleans cannot be set in this way ?


Solution :

Reference resources : https://stackoom.com/en/question/CKID
原网站

版权声明
本文为[Rich in starch]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202281203534172.html