NSString -> char* ?
NSString -> char* ?
- Subject: NSString -> char* ?
- From: Pei Xiang <email@hidden>
- Date: Mon, 25 Aug 2003 09:26:23 -0700 (PDT)
hi, i'm a newbie in Object-C.
i'm using a library written in standard C. one
function of the lib accepts "char *" string as
parameter. but in Object-C, string manipulations are
handled by NSString class. so, to use this libray, i
think i have to find a way to convert from NSString
into "char *". i checked online docs about NSString,
but only find it possible to do the other way around
(char* -> NSString).
has anybody experience in converting NSString to
char*? or is there any better way to solve my problem?
thanks a lot!
Pei
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.