請問一下有什麼好方法可以把一個從plist的NSString叫用
[NSString propertyList]的字串再轉成plist或NSDictionary呢?
例如:
NSString *temp = @"<plist version=\"1.0\">\n\
<dict>\n\
<key>CFBundleVersion</key>\n\
<string>1</string>\n\
<key>LSMinimumSystemVersion</key>\n\
<string>${MACOSX_DEPLOYMENT_TARGET}</string>\n\
<key>NSHumanReadableCopyright</key>\n\
<string>Copyright 2013 Foxconn. All rights reserved.</string>\n\
<key>NSMainNibFile</key>\n\
<string>TestExecutiveMainWindow</string>\n\
<key>NSPrincipalClass</key>\n\
<string>NSApplication</string>\n\
</dict>\n\
</plist>";
NSString* temp2 = [temp propertyList]
之後再把temp2轉回成plist或NSDictionary呢?