When implementing infinite scroll, you want to fetch more data before user reaches the end of a list and also update the display to show the new cells. In iOS there are different Run Loop Modes which will affect the resulting user experience. NSDefaultRunLoopMode
is the default mode for most operations. However, this run loop mode doesn’t allow operations to …
Update: I just found out that Kitchener-Wilmot Hydro’s website stores passwords in plain text. Furthermore, Kevin Burke recently found Virgin Mobile not doing the right thing. All the more reasons to use different passwords and don’t assume big companies know what they’re doing.
It’s a good idea to get strong passwords including random characters, numbers, symbols and don’t … read more »
The Well.ca iPad app is now available in Apple AppStore. This is an app that I’ve been working on at work with two other developers. Prior to submission I had to fix memory leaks in the app to stop it from crashing during infinite scroll. This post talks about my experience dealing with retain cycles and fixing memory leaks. Automatic …
read more »UPDATE: See my new blog post about upgrading to Hakyll 4. This post talks about my experience converting my WordPress blog to a static site generated using Hakyll. Recently I read about Jekyll, which is a static site generator written in Ruby. The idea of a static site generator really appeals to me because there is nothing dynamic about my …
read more »In my previous post, I talked about my Pinterest-like interface for Encyclopedia of Life (eol.org). In this post I’m going to go through my iterations to optimize the memory usage of my web app. A Problem With Infinite Scroll After the first iteration, I started using my interface for browsing EOL and started collecting my favourite pictures. However, after about …
read more »UPDATE 2: Source code on github. UPDATE: Also see how I optimized the memory usage of this.
I found an awesome site couple weeks ago that allows people to check out living things on Earth and collect ones they like: Encyclopedia of Life. It even has “collections” feature where you can put anything you find on the site … read more »
My 30-day challenge: Learn Haskell by studying at least 30 minutes a day while I eat breakfast. I gave a presentation yesterday to developers at Well.ca about what I learned from my 30-day challenge. There were things that the development team can take from functional programming and apply to our day job of using PHP. My presentation slides here show …
read more »This is my experience using some open-source iOS grid view implementations. I tested out KKGridView, GMGridView, and SSCollectionView from SSToolkit. KKGridView Pros: Has sections support Claims to have good performance Acts like UITableView Cons: Buggy With animation enabled, adding items to list causes weird animation. With animation is disabled, adding item to a section has an issue where all items …
read more »The designer I work with passed around some videos of the deal in iPhone app on Monday. This particular video demonstrates a kind of fold effect as the user pan horizontally across the screen: http://vimeo.com/41495357 I was curious about how difficult this is to do on iOS and had a little fun project last night. In summary, to achieve the …
read more »Well.ca’s Virtual Store launched on April 2nd, 2012. I wrote smartphone apps for 4 mobile platforms and the supporting server-side work to make this happen. You can check out the time-lapse video here: http://well.ca/virtualstore In this post I want to look back at the things I learned through this project. E.g. PhoneGap, SASS, app certification, etc. PhoneGap So how was …
read more »