iOS图表子类markerview使用swift构建失败

问题描述 投票:0回答:1

MarkerView在“图表”框架中,当我使用swift子类化MarkerView时,它将在Project-Swift.h文件中发生构建错误。

在TestMV.swift中:导入图表类TestMV:MarkerView {}。

在KCTFunFit-Swift.h中SWIFT_CLASS(“ _ TtC9KCTFunFit6TestMV”)界面TestMV:ChartMarkerView-(非空实例类型)initWithFrame:(CGRect)frame;-(可空的实例类型)initWithCoder:(NSCoder * _Nonnull)编码器结束

在“图表”框架中objc(ChartMarkerView)打开类MarkerView:NSUIView,IMarker {……。}

TestMV子类markerview快速

在“ Project-Swift.h”中始终生成错误

ios charts
1个回答
0
投票
© www.soinside.com 2019 - 2024. All rights reserved.