Commit 42af7f50 authored by Steven Kabbes's avatar Steven Kabbes

Add Foundation for headers, NSObject requires it

parent b5bacd70
......@@ -27,6 +27,7 @@ build_ios/
# xcode stuff
project.xcworkspace
*.xccheckout
DerivedData
# djinni output directories
djinni-output-temp/
......@@ -2,6 +2,7 @@
// This file generated by Djinni from example.djinni
#import "TXSSortItems.h"
#import <Foundation/Foundation.h>
@interface TXSSortItemsCppProxy : NSObject <TXSSortItems>
@end
......@@ -232,6 +232,7 @@ class ObjcGenerator(spec: Spec) extends Generator(spec) {
writeObjcFile(headerName(cppExtName), origin, mutable.TreeSet[String](), w => {
w.wl("#import " + q(headerName(ident)))
w.wl("#import <Foundation/Foundation.h>")
w.wl
w.wl(s"@interface $cppExtSelf : NSObject <$self>")
w.wl("@end")
......
......@@ -2,6 +2,7 @@
// This file generated by Djinni from exception.djinni
#import "DBCppException.h"
#import <Foundation/Foundation.h>
@interface DBCppExceptionCppProxy : NSObject <DBCppException>
@end
......@@ -2,6 +2,7 @@
// This file generated by Djinni from test.djinni
#import "DBTestHelpers.h"
#import <Foundation/Foundation.h>
@interface DBTestHelpersCppProxy : NSObject <DBTestHelpers>
@end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment