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

fix bridgedObjCGetStringArray warning and more copyWithZone(_ zone: NSZone?) -> AnyObject errors #1379

Merged
merged 2 commits into from
Aug 31, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Charts/Classes/Utils/ChartUtils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ open class ChartUtils
}
else
{
newArray.append(val as! NSObject)
newArray.append(val! as NSObject)
}
}
return newArray
Expand Down
2 changes: 1 addition & 1 deletion ChartsRealm/Classes/Data/RealmBarDataSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ open class RealmBarDataSet: RealmBarLineScatterCandleBubbleDataSet, IBarChartDat

// MARK: - NSCopying

open override func copyWithZone(_ zone: NSZone?) -> AnyObject
open override func copyWithZone(_ zone: NSZone?) -> Any
{
let copy = super.copyWithZone(zone) as! RealmBarDataSet
copy._stackSize = _stackSize
Expand Down
2 changes: 1 addition & 1 deletion ChartsRealm/Classes/Data/RealmBubbleDataSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ open class RealmBubbleDataSet: RealmBarLineScatterCandleBubbleDataSet, IBubbleCh

// MARK: - NSCopying

open override func copyWithZone(_ zone: NSZone?) -> AnyObject
open override func copyWithZone(_ zone: NSZone?) -> Any
{
let copy = super.copyWithZone(zone) as! RealmBubbleDataSet
copy._xMin = _xMin
Expand Down
2 changes: 1 addition & 1 deletion ChartsRealm/Classes/Data/RealmLineDataSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ open class RealmLineDataSet: RealmLineRadarDataSet, ILineChartDataSet

// MARK: NSCopying

open override func copyWithZone(_ zone: NSZone?) -> AnyObject
open override func copyWithZone(_ zone: NSZone?) -> Any
{
let copy = super.copyWithZone(zone) as! RealmLineDataSet
copy.circleRadius = circleRadius
Expand Down
2 changes: 1 addition & 1 deletion ChartsRealm/Classes/Data/RealmLineRadarDataSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ open class RealmLineRadarDataSet: RealmLineScatterCandleRadarDataSet, ILineRadar

// MARK: NSCopying

open override func copyWithZone(_ zone: NSZone?) -> AnyObject
open override func copyWithZone(_ zone: NSZone?) -> Any
{
let copy = super.copyWithZone(zone) as! RealmLineRadarDataSet
copy.fillColor = fillColor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ open class RealmLineScatterCandleRadarDataSet: RealmBarLineScatterCandleBubbleDa

// MARK: NSCopying

open override func copyWithZone(_ zone: NSZone?) -> AnyObject
open override func copyWithZone(_ zone: NSZone?) -> Any
{
let copy = super.copyWithZone(zone) as! RealmLineScatterCandleRadarDataSet
copy.drawHorizontalHighlightIndicatorEnabled = drawHorizontalHighlightIndicatorEnabled
Expand Down
2 changes: 1 addition & 1 deletion ChartsRealm/Classes/Data/RealmScatterDataSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ open class RealmScatterDataSet: RealmLineScatterCandleRadarDataSet, IScatterChar

// MARK: NSCopying

open override func copyWithZone(_ zone: NSZone?) -> AnyObject
open override func copyWithZone(_ zone: NSZone?) -> Any
{
let copy = super.copyWithZone(zone) as! RealmScatterDataSet
copy.scatterShapeSize = scatterShapeSize
Expand Down