Fix iOS build target
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
// SOFTWARE.
|
||||
|
||||
@import Foundation;
|
||||
@import CoreGraphics;
|
||||
|
||||
typedef enum {
|
||||
RSFeedTypeNone,
|
||||
|
||||
@@ -48,5 +48,7 @@ extern NSString *OPMLXMLURLKey; //xmlUrl
|
||||
- (id)attributeForKey:(NSString *)key;
|
||||
|
||||
- (NSString *)recursiveDescription;
|
||||
#ifdef TARGET_MAC
|
||||
- (NSXMLDocument *)exportXML;
|
||||
#endif
|
||||
@end
|
||||
|
||||
@@ -135,6 +135,8 @@ NSString *OPMLXMLURLKey = @"xmlUrl";
|
||||
return mStr;
|
||||
}
|
||||
|
||||
#ifdef TARGET_MAC
|
||||
|
||||
/// Can be used to export directly to @c .opml file.
|
||||
- (NSXMLDocument *)exportXML {
|
||||
NSXMLElement *head = [NSXMLElement elementWithName:@"head"];
|
||||
@@ -172,4 +174,6 @@ NSString *OPMLXMLURLKey = @"xmlUrl";
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user