shobhitmehrotra1 / core-plot

Automatically exported from code.google.com/p/core-plot
0 stars 0 forks source link

UILineBreakModeWordWrap deprecated warning #526

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I had just installed CorePlot 1.2 with cocoapods (I had 1.1 before)

Now trying to compile my project I'm getting this warning:

> 'UILineBreakModeWordWrap' is deprecated: first deprecated in iOS 6.0

in

CorePlot/framework/iPhoneOnly/CPTTextStylePlatformSpecific.m line 51

Seems like we should use 'NSLineBreakByWordWrapping' instead.
Is it fixed on a earlier version or am I doing something wrong ?

Original issue reported on code.google.com by gprod....@gmail.com on 23 Apr 2013 at 8:54

GoogleCodeExporter commented 8 years ago
Which compiler are you using? I don't see the warning with LLVM 4.2.

Original comment by eskr...@mac.com on 23 Apr 2013 at 11:05

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I have the same version

Original comment by gprod....@gmail.com on 25 Apr 2013 at 8:39

GoogleCodeExporter commented 8 years ago
This issue was closed by revision a50dbdd3ddf9.

Original comment by eskr...@mac.com on 26 Apr 2013 at 7:19

GoogleCodeExporter commented 8 years ago
Is it merged in 1.2 yet ?

Original comment by gprod....@gmail.com on 15 May 2013 at 1:02

GoogleCodeExporter commented 8 years ago
No—you'll need to pull the latest code on the default branch to get the 
update.

Original comment by eskr...@mac.com on 16 May 2013 at 1:51