littlelogs

Keep a social journal of your work progress as you make and learn things.

#cocoapods

February 2016

belle
belle

Finally fixed the #cocoapods problem I was wrestling with yesterday afternoon! My #littlelogs #Swift app wasn’t behaving the same as the original #objectivec one, and I couldn’t figure out why. I’m still not exactly sure, but I think maybe the cocoapod I was using wasn’t working because of how I’m subclassing in Swift. I don’t know enough about it to fully understand and fix that… but I did manage to recreate the same behaviour offered by the cocoapod all by myself! Turns out it wasn’t very complicated, I was just being lazy by using a library to do it for me 😏

belle
belle

Wrestled with my #swift version of #littlelogs for #ios this afternoon. I’ve realised I can use #objectivec #cocoapods libraries, so I’ve started adding in the ones I used in the #objectivec version of the app. For some reason, the one that lets me tap the background view to make the keyboard dismiss won’t work. I also tried another library that does the same thing, and even re-implemented it myself and still can’t get it to work. At that point I gave up and had a nap, because what a silly little thing to spend all afternoon on.

December 2015

belle
belle

Also working on some tweaks to my latest beta branch of #exist for #ios. The #onboarding has become really complicated now that I’m asking for permission to update mood, location, and activity data (via #healthkit). The user gets bombarded with messages asking for permission or indicating successful updates, so I’ve decided to use a #cocoapods library to set up an onboarding process that goes through all of these actions before the user gets into the app itself. Much easier to handle everything in one place, rather than having conditional code showing modal views scattered throughout the app.

October 2015

belle
belle

Also realised today when my #cocoapods weren't installing properly just how much I rely on #Reveal to get my layouts working on #ios. I spend huge portions of my time debugging layouts because I can never get them right (also a little bit due to how complicated/specific some of the #exist layout code has been), and I would be so lost without Reveal. It's well worth the license fee.

belle
belle

Started the day with some #code: fixed a couple of small things in #exist for #ios and attempted a merge so I can get the latest build out to beta testers soon (planning to have it tested and submitted to the App Store by the end of this month). Spent a while fighting #git due to a combination of #cocoapods conflicts and issues doing pod install on El Capitan.

Anyway, apart from continued testing and fixing any bugs I notice, I'm now moving on to #applehealth integration! Woo!

June 2015

May 2015