开发者

Questions About The Foundation And NS Library

开发者 https://www.devze.com 2022-12-13 10:13 出处:网络
I\'m a Objective-C learner and I don\'t have a Mac, then I need to use my Linux with GNUStep, but if I develop my own program on it, the end-user will need to have GNUStep(like .Net) installed and the

I'm a Objective-C learner and I don't have a Mac, then I need to use my Linux with GNUStep, but if I develop my own program on it, the end-user will need to have GNUStep(like .Net) installed and then I started thinking how can I solve this, then I had an idea: "Create this from scratch!", but now to do this I need to know: What are the most important things i开发者_运维百科n NS and Foundation headers? Thanks.


notnoop makes an excellent point: Foundation is an extremely complex and well-tested framework; somewhere along the lines of 10 or 15 years in the making (someone will have to hit me with the precise date of inception).

Perhaps the single most important part of the Foundation framework is NSObject. The (sort of) single root class that all objects inherit from is one of the greatest strengths of *Step.

Implementing your own Obj-C root class should be an interesting exercise.

EDIT: I would be remiss if I did not mention a few of the other important features: Implementation-abstracted collection classes (NSArray, NSDictionary, NSSet), strings (NSString), utility classes (NSProcessInfo, NSUserDefaults), serialization tools (NSCoder), ...

It's a comprehensive framework, to say the least.


get started with Programming in Objective-C 2.0 written by Stephen G. Kochan

thats how i started it...

0

精彩评论

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