Skip to content

Latest commit

 

History

History

objective-c

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Objective C

.(点)与->(箭头)用法区别

.(点语法)是访问类的属性,本质是调用set、get方法。

targetString

浮点型取整

  • ceil 向上取整
  • floor 向下取整
  • round 四舍五入
  • (int)强转 截尾取整
  • trunc 截尾取整

JSON to Objective-C model