会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
fuzheng1998
博客园
首页
新随笔
联系
订阅
管理
2020年10月1日
Swift里的function type
摘要: Swift语言里有各种type ,对于function来讲本身也是一种type。 一个type由三个因素决定 参数数量 参数类型 返回值 当function type相同时,就可以像Int, Double视为同类进行操作了,譬如赋值,作为另一个函数的参数传递,作为返回值返回。
阅读全文
posted @ 2020-10-01 17:11 fuzheng1998
阅读(148)
评论(0)
推荐(0)
2020年9月13日
Swift 的 Struct 和 Class
摘要: 官方建议 Use structures by default. Use classes when you need Objective-C interoperability. Use classes when you need to control the identity of the data
阅读全文
posted @ 2020-09-13 16:23 fuzheng1998
阅读(86)
评论(0)
推荐(0)
2020年9月3日
React里的props
摘要: 函数组件与 class 组件
阅读全文
posted @ 2020-09-03 19:23 fuzheng1998
阅读(126)
评论(0)
推荐(0)
2020年8月29日
React 的入门代码
摘要: React 的入门代码
阅读全文
posted @ 2020-08-29 09:04 fuzheng1998
阅读(185)
评论(0)
推荐(0)
2020年8月28日
void 类型的指针
摘要: void *data表示该指针指向的 data 的数据类型并不确定
阅读全文
posted @ 2020-08-28 12:12 fuzheng1998
阅读(76)
评论(0)
推荐(0)
公告