Skip to content

Commit

Permalink
Small podspec warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypercubesoft committed Oct 16, 2017
1 parent d66c99d commit fa5ec4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ -(void)drawTitleAndSubtitle
-(void)drawTitleText
{
UIFont* titleFont;
if (floor(NSFoundationVersionNumber) >= NSFoundationVersionNumber_iOS_8_2)
if (@available(iOS 8.2, *))
{
titleFont = [UIFont systemFontOfSize:hcLineChartView.fontSizeForTitle weight:2.0];
}
Expand Down Expand Up @@ -57,7 +57,7 @@ -(CGRect)chartTitleRect
-(void)drawSubTitleText
{
UIFont* subtitleFont;
if (floor(NSFoundationVersionNumber) >= NSFoundationVersionNumber_iOS_8_2)
if (@available(iOS 8.2, *))
{
subtitleFont = [UIFont systemFontOfSize:hcLineChartView.fontSizeForSubTitle weight:1.0];
}
Expand Down

0 comments on commit fa5ec4a

Please sign in to comment.