The old blog · Tag
programming
-
Fun with Django ManyToMany Fields
Tweet This is just another reason I find Django so easy. For example.. Say you are making a monitoring application. Now you have a bunch of servers and you have certain groups of servers. A server can belong in more …
-
Calculate Distance In Mysql with Latitude and Longitude
Tweet So you have a whole table full of members or places with latitude and longitude’s associated with them. Just replace the $lat and $lon with the center point you want to find distances from. You can also …
-
View Images like Photos.app
Tweet Make sure you have JSON Framework installed first. This is a continuation of Using threads for a JSON request So right now we have four rows in our table. Each row has a image. So what if we want to view all the …
-
Add a Wiggle
Tweet This will be a continuation of Multiple Objects and UITouch If you do a long touch in the main section of the iPhone on a icon you will notice the icons will wiggle. This shows the user they can be deleted or …
-
Multiple Objects and UITouch
Tweet Here is a bit of a continuation of Working with UITouch Please follow that tutorial first. We will be using the source code from that as our starting point. So once you have the source code in Xcode open up …
-
Access the Address Book
Tweet I got a request on how do I access the address book in the iPhone. So I took around 30 minutes to learn how and here is how we will do it. First create a new View-Based Application and call it …
-
Working with UITouch
Tweet So here is a quick post on how to work with a UITouch. This tutorial will put a UIImageView on a view and then when you touch around the image view will be placed where you touch. So lets start out by creating a …
-
Change background of a UITableViewCell
Tweet I was asked this question by a co-worker on how to do this. My first answer was when you init the cell just set the backgroundColor but that did not work at all. If you followed my other tutorials and have a …
-
Post a UIImage to the web
Tweet So here is something a lot of people have been wondering to do in the forums. How do I take a UIImage or any image and post it to a website. So this will go over how to do that. There are two ways to tackle this …
-
Post JSON to a webservice
Tweet Make sure you have JSON Framework installed first. This is a continuation of UIImageView in a custom cell Here is a simple little code snippet on how to post some JSON to a webservice. NSString *requestString = …