github.com/acrespo/mobile@v0.0.0-20190107162257-dc0771356504/bind/testdata/universe.objc.h.golden (about) 1 // Objective-C API for talking to Go package. 2 // gobind -lang=objc 3 // 4 // File is generated by gobind. Do not edit. 5 6 #ifndef __Universe_H__ 7 #define __Universe_H__ 8 9 @import Foundation; 10 11 @protocol Universeerror; 12 @class Universeerror; 13 14 @protocol Universeerror <NSObject> 15 - (NSString*)error; 16 @end 17 18 @class Universeerror; 19 20 @interface Universeerror : NSError <goSeqRefInterface, Universeerror> { 21 } 22 @property(strong, readonly) id _ref; 23 24 - (instancetype)initWithRef:(id)ref; 25 - (NSString*)error; 26 @end 27 28 #endif