2012-10-18 42 views

回答

2

不,沒有。

你可以看到some documentation here (and in some other places) in Apple doc關於這些字符串來命名你的資源,但是沒有Cocoa常量。

可以肯定的是,我嘗試grep SDK目錄中的字符串(/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library),這些字符串只能在框架二進制文件中找到,而不是在SDK的任何頭文件中。

+0

+1 greping。 :) – hpique

0

MONResourceSuffix.h

extern NSString * const MONResourceSuffix_at2x; 
extern NSString * const MONResourceSuffix_tilde_ipad; 
extern NSString * const MONResourceSuffix_hyphen_568h; 

MONResourceSuffix.m

NSString * const MONResourceSuffix_at2x = @"@2x"; 
NSString * const MONResourceSuffix_tilde_ipad = @"~ipad"; 
NSString * const MONResourceSuffix_hyphen_568h = @"-568h"; 

現在有:)