templates/Keys.h.erb in cocoapods-keys-1.7.0 vs templates/Keys.h.erb in cocoapods-keys-2.0.0
- old
+ new
@@ -4,10 +4,14 @@
// For more information see https://github.com/orta/cocoapods-keys
//
#import <Foundation/NSString.h>
+NS_ASSUME_NONNULL_BEGIN
+
@interface <%= @name %> : NSObject
<% @keys.each do |key, value| %>
-- (NSString *)<%= key %>;<% end %>
+@property (readonly) NSString *<%= key %>;<% end %>
@end
+
+NS_ASSUME_NONNULL_END