objective c - Convert CFStringRef to NSString -
I'm trying to get some information from the main bundle:
- ( Zero) AppDiffinish Launching: (NSNation *) An Information {CF String Reef Bundle Veer = CFBundleget ValuenfoSatica (CFBundlegetMeNbundle (), KCFBundLavarian); NSString * Apes = (__breeze NSString *) bundle; } I can get CFStringRef (in debug I can see the appropriate value associate for variable), but when I put it in NSString in my app version variable "zero" value I try to
I am using ARC.
EDIT: It seems that I have a problem with my project, not every NSString object can be assigned with a simple static assignment, the value of the test variable (zero)
NSString * test = @ "";
cf stringerform boundway = cfbundlegate valffor infosystems (cfbundlegate mannebundle), kcfbundelvarsian ); NSString * Episode = (__breeze NSString *) (Bauveveler); is working on my behalf, it is returning "2"
Comments
Post a Comment