Quantcast
Channel: Lost In Code
Browsing all 10 articles
Browse latest View live

SDWebImage fixed width cell images

While looking for a easy solution to load uitableview images remotely, I came across a great library called SDWebImage. It’s very simple to use and provides a lot of flexibility for loading and caching...

View Article



iOS tip: Center UILabel in tableFooterView

If you’re building an app that supports portrait and landscape you will probably run into an issue with keeping things centered after device rotation. Below is a quick example of adding a UILabel to a...

View Article

PHP: Handle comma separated input

A quick example of how to handle comma separated input from a POST variable in PHP. The code below will turn your POST variable into an array containing the user’s input which you can further validate...

View Article

Lighttpd – url rewrite and query string QSA

One of the first things I was curious about when I started using Lighttpd was url-rewrites. On apache mod_rewrites you can use the [QSA] flag to allow for the query string after your new urls. Here is...

View Article

Creating a log in view controller for your app in iOS5 with a PHP backend (1/2)

In this two part tutorial we will cover creating a simple iOS5 app using storyboards that enables users to log in to your app by calling a PHP page to authenticate. We’ll also discuss techniques used...

View Article


Creating a pull to refresh animation like the popular Vine iOS app

I liked some of the details in Twitter’s Vine iOS app so I set out to make some of them. I thought the pull to refresh animation was pretty cool so I started with that. You can view the code on my...

View Article

Creating the bouncy/zoom image effect in the KickStarter iOS app

The KickStarter iOS app is pretty awesome. In particular, I like the bounce/zoom effect they have when you pull down on a UITableView. Turns out, it’s pretty easy to replicate. Since UITableView...

View Article

Laravel 4 – Pivot vs Polymorphic – Part 1

PHP has come a long way! Coming from the Rails world back to PHP has actually been pretty painless thanks to Laravel. One of the first things that stumped me was under what circumstances to use pivot...

View Article


Swift – Google Analytics

I really wanted a simple way to add Google Analytics to my iOS (swift) app without subclassing the way they recommend. Swift makes this easy with Extensions. All you have to do add GA to your swift app...

View Article


How to migrate data from Laravel Cashier 5 to 6

In this post I will outline migrating your existing subscription data from Laravel Cashier version 5 to version 6. In version 6, Cashier got a nice update to handle multiple subscriptions but there is...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images