Toggle navigation
Toggle navigation
This project
Loading...
Sign in
iOS
/
PNChart
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Edu Caselles
2015-12-18 16:54:55 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c5a7b9fea297c4319e55ba1686d9a0eba18df2a6
c5a7b9fe
1 parent
2589834d
Removed unused variable.
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
PNChart/PNLineChart.m
PNChart/PNLineChart.m
View file @
c5a7b9f
...
...
@@ -787,7 +787,6 @@
+
(
CGSize
)
sizeOfString
:
(
NSString
*
)
text
withWidth
:
(
float
)
width
font
:
(
UIFont
*
)
font
{
NSInteger
ch
;
CGSize
size
=
CGSizeMake
(
width
,
MAXFLOAT
);
if
([
text
respondsToSelector
:
@selector
(
boundingRectWithSize
:
options
:
attributes
:
context
:
)])
{
...
...
@@ -802,8 +801,7 @@
size
=
[
text
sizeWithFont
:
font
constrainedToSize
:
size
lineBreakMode
:
NSLineBreakByCharWrapping
];
#pragma clang diagnostic pop
}
ch
=
size
.
height
;
return
size
;
}
...
...
Please
register
or
login
to post a comment