Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to know the project name - swift. h class of how to generate #627

Closed
shanyulaile opened this issue Dec 28, 2015 · 1 comment
Closed

Comments

@shanyulaile
Copy link

I want to know the following content of the project name - swift. h is how to generate, if it is to write by oneself , how can I be sure " _TtC10ERPPRODUCT13BalloonMarker" ,thanks

SWIFT_CLASS("_TtC10ERPPRODUCT13BalloonMarker")
@interface BalloonMarker : ChartMarker
@Property (nonatomic, strong) UIColor * __nullable color;
@Property (nonatomic) CGSize arrowSize;
@Property (nonatomic, strong) UIFont * __nullable font;
@Property (nonatomic) UIEdgeInsets insets;
@Property (nonatomic) CGSize minimumSize;

  • (nonnull instancetype)initWithColor:(UIColor * __nonnull)color font:(UIFont * __nonnull)font insets:(UIEdgeInsets)insets OBJC_DESIGNATED_INITIALIZER;
    @Property (nonatomic, readonly) CGSize size;
  • (void)drawWithContext:(CGContextRef __nonnull)context point:(CGPoint)point;
  • (void)refreshContentWithEntry:(ChartDataEntry * __nonnull)entry highlight:(ChartHighlight * __nonnull)highlight;
    @EnD
@liuxuan30
Copy link
Member

This is done by Xcode, you don't have to write it. You just need to setup your project settings to enable swift and Objective-C hybrid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants