github.com/coming-chat/gomobile@v0.0.0-20220601074111-56995f7d7aba/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 #include "ref.h" 11 12 @protocol Universeerror; 13 @class Universeerror; 14 15 @protocol Universeerror <NSObject> 16 - (NSString* _Nonnull)error; 17 @end 18 19 @class Universeerror; 20 21 @interface Universeerror : NSError <goSeqRefInterface, Universeerror> { 22 } 23 @property(strong, readonly) _Nonnull id _ref; 24 25 - (nonnull instancetype)initWithRef:(_Nonnull id)ref; 26 - (NSString* _Nonnull)error; 27 @end 28 29 #endif