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
Search - "autolayout"
-
Area of focus: Native iOS dev
Why: Spent years trying hybrid tools, dealing with the most ridiculous errors, bugs and issues you can begin to comprehend and then ... something magical happened. I got a book on Objective-c, learned a little, tried a simple app ... and it worked ... like properly worked, and on all the devices without taking half the RAM.
I'll say that again as I don't think it landed. In Objective-c, I got no issues where only the CEO's phone + OS version meant I couldn't load a map and a pin (looking at you titanium!!!)
In Objective-c, I wasn't promised storyboards and autolayout, only to find out they are completely different, and may god help you trying to google the issues, as the only ones to show up would be the native tools (looking at you Xamarin)
In Objective-c, my app doesn't instantly consume 125mb of RAM to load a fucking webview (looking at you ... well nearly every other hybrid tool)
... it just works. Then Swift came along and things only got better.13 -
Worked in a company that had a lot of problems reusing code / UI across many similar iOS apps. Current devs were basically trying to build this: https://jasonette.com/ (after other multiple failed ideas).
I argued for weeks after joining that this is way too much, with better use of storyboards and autolayout we can fix the majority of our problems. They did everything short of laughing.
Few months later managers in my office were tired of them so gave me a chance, I build an app my way, the most senior of them build an app their way.
Long story short, my app was a bit more complex, both had the same amount of time. I finished 2 days before the deadline, he went 8 weeks over.
Never felt more vindicated in my life. Mysteriously he and another dev randomly "decided to leave" 2 - 3 weeks later. -
*finally have auto layout working correctly by end of day*
^_^
*open project the following morning and see new auto layout warnings*
0.05 -
UPDATE: I redesigned my entire app and resubmitted it: it got rejected again for not having good resolution on iPad. My app literally doesn't make sense to use on an iPad... What should I do? I tried incorporating autolayout but that is honestly the hardest and most annoying tool Apple has created.8
-
FUCK XCODE. FUCK AUTOLAYOUT. I have been working on my app for eight months, perfecting every detail and making the UI absolutely stunning. Today, Apple rejected my app for not supporting iPad. My app was not supposed to support iPad, I would hate for a user to install on an iPad. So, I said whatever and tried to autolayout the app. This didn't work, so I turned off autolayout. Guess what. My entire layout was destroyed and when I tried to click the undo button, nothing happened. This is classic Xcode. I am so fucking pissed, I want to scream. I just lost months of hard work because they can't fucking get their developer tool working, but they can release a phone with no headphone jack.4
-
I hate programmatic auto layout. It's such a mess! Simple shit like cells that can easily be defined in a .nib become spaghetti coded messes that violate every good programming practice ever. Want to recreate the same style of cell again? Good luck reverse engineering the hieroglyphics your teammate wrote when creating the layout by hand. Never mind a whole bunch of useless shit is done in code that could easily be defined via runtime attributes through the storyboard. But why learn a new approach? Cause job security. Or because for some reason Interface Builder tools are seen as "too hard" or "not scalable" to use.. fuck me.2
-
xcode rant
After a long and exhausting progress that feels like it took days! (maybe a day lol). I came to the conclusion that StoryBoard is probably one of the biggest pains in the universe. I tried to center a UIImage View for an eternity to work both with landscape and portriat and continued to get vaying results with no actual pattern whatsoever.... One day I woke up and there was actually more textfields than were originally put on...... wahhhhh?
Within this eternity I decided that my only hope against losing all sanity and bashing my head against a keyboard screaming "#$%# you Xcode!" was to do the UI in AutoLayout Programmatically. Took me 1 hour.... thats it... Just one. Instant love. haha
Okay Im done now. Have a great day devRanters! -
It's just taken me AN HOUR to work out how to programmatically centre something in UIKit 😡
Mutter grumble autoresizingmask grump moan I suppose I should learn autolayout whinge gripe.1 -
iOS Storyboards in Xcode feels like Dreamveawer. This Autolayout and Safe Area shit doesn't make any sense. As for Xcode itself it's a monstrosity, looking forward to purging that and reclaim my disk space.