2012-03-30 46 views

回答

2

上膠粘應用程序運行class-dump給了我下面的接口,其中包括:

@interface Document : NSObject <NSCoding> 
{ 
    int mWindowColor; 
    int mWindowFlags; 
    struct CGRect mWindowFrame; 
    NSData *mRTFDData; 
    NSDate *mCreationDate; 
    NSDate *mModificationDate; 
} 

這看起來像它可能是你後的類!

+0

哇,好的工作,我也很好奇這些數據的寫入順序,以及mRTFData裏面有什麼? – Xiangdong 2012-03-31 21:09:38

+0

順序應該在該界面中指定。 'mRTFDData'可能是某種序列化的RTF字符串。 – duskwuff 2012-04-01 01:17:17

+0

是的,其實順序是mRTFData,mWindowFlags,mWindowFrame,mWindowColor,然後是mCreationDate和mModificationDate。我仍然需要一些關於RTFData的工作。大聲笑 – Xiangdong 2012-04-01 05:36:26