杰森wang

关注

[IOS]stringWithFormat vs. initWithFormat on NSString

杰森wang

关注

阅读 86

2022-08-04


参考:https://stackoverflow.com/questions/3898974/stringwithformat-vs-initwithformat-on-nsstring

 

简要来说就是initWithFormat创建的string对象需要手动释放

stringWithFormat这个会自动释放

相关推荐

M4Y

HashSet vs. TreeSet vs. LinkedHashSet

M4Y 102 0 0

芷兮离离

注册中心选型:Eureka vs. Nacos vs. ZooKeeper

芷兮离离 54 0 0

Spinach菠菜

Deno vs. Bun vs. Node.js功能比较

Spinach菠菜 59 0 0

Python百事通

浏览器的数据六种存储方法比较 :LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite

Python百事通 8 0 0

一脸伟人痣

Python开发IDE的比较:PyCharm vs. VS Code vs. Jupyter

一脸伟人痣 44 0 0

杏花疏影1

Coursera vs. Udemy

杏花疏影1 12 0 0

和谐幸福的人生

Selenium vs. Playwright

和谐幸福的人生 79 0 0

心如止水_c736

Asterisk vs. FreeSWITCH

心如止水_c736 77 0 0

_LEON_

进程 vs. 线程

_LEON_ 91 0 0

安七月读书

《React vs. Vue vs. Angular:2023年的全面比较》

安七月读书 46 0 0

精彩评论(0)

0 0 举报