MBXFeature.h 826 B

1234567891011121314151617181920212223
  1. #import <Foundation/Foundation.h>
  2. @class MBXGeometry;
  3. NS_SWIFT_NAME(Feature)
  4. __attribute__((visibility ("default")))
  5. @interface MBXFeature: NSObject
  6. @property (readonly, retain, nonnull) NSObject *identifier;
  7. @property (readonly, retain, nonnull) MBXGeometry *geometry;
  8. @property(readonly, retain, nonnull) NSDictionary<NSString *, NSObject *> *properties;
  9. - (nonnull instancetype)initWithIdentifier:(nonnull NSObject *)identifier
  10. geometry:(nonnull MBXGeometry *)geometry
  11. properties:(nonnull NSDictionary<NSString *, NSObject *> *)properties;
  12. // This class provides custom init which should be called
  13. - (nonnull instancetype)init NS_UNAVAILABLE;
  14. // This class provides custom init which should be called
  15. + (nonnull instancetype)new NS_UNAVAILABLE;
  16. @end