我正在尝试使用 Linea Pro 5 SDK 和 Delphi XE5 开发 iPhone 应用程序。我正在将lineaSDK.h
文件翻译成 Delphi,但我不知道如何从 SDK 翻译这一行:
@interface Linea : NSObject
...
/**
Creates and initializes new Linea class instance or returns already initalized one. Use this function, if you want to access the class from different places
@return shared class instance
**/
+(id)sharedDevice` // <--- this is where I am getting stumped.
...
我已阅读有关 (id) 是什么的 Apple 文档,并在 Google 上搜索过提示但无济于事。有任何想法吗?