github.com/coming-chat/gomobile@v0.0.0-20220601074111-56995f7d7aba/bind/testdata/issue12403.objc.h.golden (about)

     1  // Objective-C API for talking to issue12403 Go package.
     2  //   gobind -lang=objc issue12403
     3  //
     4  // File is generated by gobind. Do not edit.
     5  
     6  #ifndef __Issue12403_H__
     7  #define __Issue12403_H__
     8  
     9  @import Foundation;
    10  #include "ref.h"
    11  #include "Universe.objc.h"
    12  
    13  
    14  @protocol Issue12403Parsable;
    15  @class Issue12403Parsable;
    16  
    17  @protocol Issue12403Parsable <NSObject>
    18  - (NSString* _Nonnull)fromJSON:(NSString* _Nullable)jstr;
    19  - (NSString* _Nonnull)toJSON:(NSError* _Nullable* _Nullable)error;
    20  @end
    21  
    22  @class Issue12403Parsable;
    23  
    24  @interface Issue12403Parsable : NSObject <goSeqRefInterface, Issue12403Parsable> {
    25  }
    26  @property(strong, readonly) _Nonnull id _ref;
    27  
    28  - (nonnull instancetype)initWithRef:(_Nonnull id)ref;
    29  - (NSString* _Nonnull)fromJSON:(NSString* _Nullable)jstr;
    30  - (NSString* _Nonnull)toJSON:(NSError* _Nullable* _Nullable)error;
    31  @end
    32  
    33  #endif