Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图解析 AlbumData.xml 并发现奇怪的 GUID 字符串值,如何将其转换为整数值?例如:f7hWRm%xSMiYVfEynRpo7g = 4.29497e+09
提前致谢
你根本不知道。这是一个NSString。
一个建议是将扩展名更改为 .plist 并在 Xcode 中打开。然后您可以查看数据类型。
与此相关的是,iTunes 会在其库更改时发送 NSDistributedNotificationCenter 注释。iPhoto 是否为其 AlbumData.xml 做类似的事情?我不知道我是否应该将其作为一个新问题发布,因为它与这个问题有些相关。