[personal profile] zhivaFriday, July 13th, 2012 02:27 pm
Writing software for any kind of Apple devices is like playing croquet in Wonderland: flamingos twist, hedgehogs crawl away, soldiers walk off, and if you manage to get through all this, furious Queen is stamping about, shouting "Application rejected!"

Xcode is about as much useful as an IDE as flamingo is useful as a mallet or hedgehog as a ball. Bugs with autocomplete, scrolling, indexing of files; constant crashes - I had it crash on copying text, pasting text, opening a file, closing a file, saving a file, running project on device, clicking on error/warning marker, adding files to project, removing files from project, committing changes to repository... if I had no Xcode crashes in a day, it means that it was my day off.

Sometimes your code stops working, even you didn't change anything. One moment it works, next moment it doesn't. Sometimes removing project's derived data from Xcode, removing app from device, restarting Xcode and doing a clean build helps. Sometimes.

And then there are ~glitches~ like this one. Suddenly a mutable texture in my app was going greener and greener every time a pixel of it was set to (0, 0, 0, 0). Not only that, rendering that texture with glBlendFunc(GL_ZERO, GL_SRC_ALPHA) made destination texture more and more green and transparent, instead of cutting holes in it. I made a backup, reverted code to the last commit (even though I didn't make any changes in rendering code), and it worked okay. I added one of the changes from backup - and it worked okay. I added all the changes - and there were no glitches. Now I have two versions of the project, with identical code, one is glitching all over and other works like nothing happened at all.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

April 2025

S M T W T F S
  12345
6789101112
13141516171819
202122 23242526
27282930   
Page generated Sunday, July 6th, 2025 12:08 pm
Powered by Dreamwidth Studios