开发者

iphone Core Data - What type of proprty for a float?

开发者 https://www.devze.com 2023-01-20 17:20 出处:网络
what type should my property be to work properly with core data float variables. For example in 开发者_JAVA百科order to get my class to work with int32 in core data i had to create NSNumber in my cla

what type should my property be to work properly with core data float variables.

For example in 开发者_JAVA百科order to get my class to work with int32 in core data i had to create NSNumber in my class. how about the float variables in core data?


That would be an NSNumber as well.


NSNumber should do nicely.

0

精彩评论

暂无评论...
验证码 换一张
取 消