2010年11月25日

摘要: 学习书目:Learn Objective-C on the Mac obj中创建新对象有两种方式:[classname new]和[[classname alloc] init]。两种方法等价,Cocoa惯例是使用alloc和init。 1.分配对象: allocation是一个新对象诞生过程... 阅读全文

posted @ 2010-11-25 01:20 margincc 阅读(4595) 评论(0) 推荐(0) 编辑


Copyright © 2024 margincc
Powered by .NET 8.0 on Kubernetes