StackOverflow Questions for Tag: cgfloat

Victor Engel
Victor Engel

Reputation: 2133

Seeming inconsistency in Swift - why does this work with CGPoint but not with CGFloat?

Score: 0

Views: 68

Answers: 0

Read More

How can I CGFloat value that store in model in my view at .position modifier in Swift?

Score: -2

Views: 55

Answers: 1

Read More
Udo
Udo

Reputation: 51

Why NSString floatvalue return 0 for "NaN"?

Score: 1

Views: 65

Answers: 2

Read More
Pete
Pete

Reputation: 219

Swift CGFloat Rounding Issue

Score: 0

Views: 24

Answers: 0

Read More
iamktothed
iamktothed

Reputation: 1428

Converting CGFloat to String in Swift

Score: 37

Views: 40380

Answers: 3

Read More
Nate4436271
Nate4436271

Reputation: 870

Changing an Int to a CGFloat in Swift to return heightForRowAtIndexPath tableview function

Score: 3

Views: 1850

Answers: 2

Read More
Snowtown123
Snowtown123

Reputation: 49

What is CGFloat.leastNonzeroMagnitude equivalent in Obj-C

Score: 3

Views: 580

Answers: 2

Read More
eharo2
eharo2

Reputation: 2642

Why does Swift report CGFloat.pi.significand to be exactly pi/2?

Score: 2

Views: 141

Answers: 1

Read More
Colliot
Colliot

Reputation: 1551

Swift binary operator '+' cannot be applied to two CGFloat operands

Score: 17

Views: 38971

Answers: 5

Read More
xct789
xct789

Reputation: 56

Is CGFloat more accurate than Double?

Score: 2

Views: 1228

Answers: 1

Read More
George Poulos
George Poulos

Reputation: 569

Swift: Check which value in NSArray is closest to another given value

Score: 2

Views: 3887

Answers: 5

Read More
Oskar Persson
Oskar Persson

Reputation: 6765

Round up a CGFloat in Swift

Score: 103

Views: 113676

Answers: 7

Read More
Mirkules
Mirkules

Reputation: 1699

NSNumber floatValue not equal to NSNumber value

Score: 3

Views: 5128

Answers: 1

Read More
A.Roe
A.Roe

Reputation: 1105

Cannot assign value of type CGFloat to NSLayoutConstraint

Score: 4

Views: 8197

Answers: 2

Read More
dcbenji
dcbenji

Reputation: 4678

Swift Double is Not Convertible to CGFloat

Score: 28

Views: 29629

Answers: 4

Read More
Riyazul Aboobucker
Riyazul Aboobucker

Reputation: 496

"'CGFloat' is not convertible to 'Double'" error in Swift (iOS)

Score: 2

Views: 4076

Answers: 2

Read More
NSMoron
NSMoron

Reputation: 151

Using floorf vs floor

Score: 2

Views: 1074

Answers: 1

Read More
Bitlejuce Do
Bitlejuce Do

Reputation: 340

CGFloat value from frame.height

Score: 0

Views: 348

Answers: 1

Read More
Yuma Technical Inc.
Yuma Technical Inc.

Reputation: 723

How store a tuple for NSGradient(colorsAndLocations:) in swift

Score: 0

Views: 188

Answers: 2

Read More
NYBSZ37
NYBSZ37

Reputation: 61

Is it bad if idealHeight is bigger than maxHeight?

Score: 0

Views: 139

Answers: 0

Read More
PreviousPage 1Next