Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Personally, I would use CGFloat instead of CGFloat or CGFloat.
But whatever CGFloats your CGBoat. 🤷♂️😀 -
May not help in this situation, but I had a similar issue in Java complaining that "Date" was incompatible with "Date"; turned out it was a namespace clash (java.sql.Date and java.util.Date) and no, they're not directly compatible (lol).
-
@tachoknight had that too but in my case it's an extension method for CGFloat 🤦🏼♂️
-
Shouldn't that mean that a variable is trying to store a CGFloat instance without being correctly typed first?
-
If you read it in a certain intonation it's a fragment sentence.
"Did you mean to use CGFloat" *or was it an accident* -
@jak645 You can download Xcode from the OSX app store for free and use it for free. The 100$ you mentioned is for the developer account to be able to develop apps for the store. This is unlike VS where you pay for enterprise or pro versions of the IDE.
-
I@Lensflare but i can make an application on vscode and put it on google play store for free ... With a pourcent of people buy it :S
-
@jak645 vscode is not Visual Studio. vscode is just an editor (with some cool features for developers), not an IDE. You could make an android app in vscode but it would be needlessly complicated. Also, the google play store requires you to pay a one time fee of 25€ to be able to publish apps there. It's much less that the apple app store but still not free.
-
In their infinite wisdom, Apple created a class for a CGF Iota, whatever that may be, but then mistyped it.
Hence, CGFIoat. Not CGFloat, CGFIoat.
Related Rants
Fuck you XCode ... You are fucking useless!
rant
dafuq
apple
drunk little bastard
xcode