Sha256: adfeb125fee0ddbeba18a85026c25f2cd905bb8c4f8dc01a360bf2e7999d5cff

Contents?: true

Size: 859 Bytes

Versions: 1

Compression:

Stored size: 859 Bytes

Contents

//
//  <%= @name %>.h
//
//  Created on <%= Time.now.strftime("%Y-%m-%d") %>
//  Copyright (c) <%= Time.now.strftime("%Y") %>. All rights reserved.
//  Generated by Kilza https://github.com/Jaspion/Kilza
//

#import <Foundation/Foundation.h>

<% for @property in @properties %>
<% unless @property.class_reference.nil? %>
<%= @property.class_reference %>
<% end %>
<% end %>

@interface <%= @name %> : NSObject <NSCoding, NSCopying>

<% for @property in @properties %>
<%= @property.declaration %>
<% end %>

+ (<%= @name %> * _Nonnull)modelWithDictionary:(NSDictionary * _Nonnull)dict;
+ (<%= @name %> * _Nonnull)modelWithString:(NSString * _Nonnull)json;

- (instancetype _Nonnull)initWithString:(NSString * _Nonnull)json;
- (instancetype _Nonnull)initWithDictionary:(NSDictionary * _Nonnull)dict;
- (NSDictionary * _Nonnull)dictionaryRepresentation;

@end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jaspion-kilza-1.1.2 lib/jaspion/kilza/language/objc/h.erb