10
wesaka
7y

If you wanna think that I'm a bad programmer, that's ok, but I can't put up anymore with Xcode.

Jesus Christ. An entire afternoon spent trying to make an array with two dimensions. I tried every fucking way I found in SO, in the apple site and in every another site that I found in my way.

First: For every example for Swift 3 there's another 10 for Swift <3.

Second: Mutable arrays, as I'm noticing, aren't a thing anymore, so, to declaring array size we go! Except it's impossible to. Tried 3 different ways. Not a single one worked.

Third: Actually, one of the 3 tries worked, for int arrays, and for some obscure reason it won't work for strings, as declaring the array as [String] is too general for swift, I mean, I completely agree with it, a [String] array could contain anything right???? FUCK NO. IT CONTAINS STRINGS YOU FUCKER!!!!

I swear, if the equipment was mine and not from the office, I would have thrown that piece of shit which disconnects from the fucking computer every 30 seconds that apple calls keyboard out of the window already.

Why the fuck do I need to develop for iOS in swift/xcode?? There's so many cross platform alternatives out there, good ones in fact, but no, we must build the applications natively or else the phone will catch on fire according to my boss.

I kinda liked Apple until now.
From now on? Fuck Apple.

Comments
  • 1
    Try any cross platform technology first, and then come back. You better stick with native code for now, unfortunately.
  • 1
    Xcode is one of the worst pieces of software ever. However I kind of like swift.
  • 1
    And it can't show me where is the closing/opening bracket complimentary for any bracket, as any half baked IDE would. Man. If I got to choose, Xcode would be a big no no.
  • 0
    As bad as xcode may be, you're wrong to think there are better cross platform alternatives out there.
  • 0
    @lucaslsr I mean, I never tried any other alternative.
    Isn't the fact that we have to develop for Android + iOS and maybe Windows phone in the future enough to favor a cross platform alternative?
  • 0
    @wesaka it all depends on what the app is.
  • 0
    @ryanmhoffman Simple mobile pos, nothing much to it right now.
  • 0
    Wouldn't a two dimensional array be [[String]] in Swift? Or maybe Array<Array<String>> or Array<[String]>. I'm not at my Mac at the moment to check
  • 0
    @JonStodle Got it at the Array<[String]>, but can't declare it outside of the function because apparently, it doesn't recognize the ">" as closing the array type. 😐
  • 0
    I don't know much about swift but was thinking "if arrays are immutable, they probably have another data type that is" then looked on their site. I guess all their collections are mutable except for when you assign them to a constant. Hopefully this helps.

    https://developer.apple.com/library...
Add Comment