No 'slide' images have been detected!
How To Add Images To Your Slider
  1. View your project in edit mode by clicking the edit button.
  2. Import or drag and drop an image into your editor.
  3. Double click the image and in the popup menu change the filename to something that starts with 'slide'.
  4. Add as many images as you want and make sure to also change the filenames to something that starts with 'slide' (e.g. slide-2.jpg, slide-3.jpg).

Software, Hardware, Research – Results

iPhone wireless logger

As everyone knows, you can’t run gdb on an iPhone/iPod (and I assume, iPad) that’s not tethered to your development machine.

This really sucks if you are trying to debug an app that relies on or controls an external accessory; you’re basically working blind unless you want to litter your iPhone screen with UIAlertViews. That approach works for very isolated bits of code, but if you have repetitive events or lots of points in your code you need inspect, it gets old fast.

So, after procrastinating a couple of months, I’ve whacked together a simple wireless logger class that should be easy to dump into your code base. Using the Acceleromater Simulator code as a template, I created for general use the WLog singleton.

The WLog class supports sending NSString messages to another computer via UDP broadcast, which means via WiFi when you’re using it for an iPhone/iPod/iPad app. All the receiver has to do is listen to a prescribed port. I chose the default port to be 5169 since it’s part of an unreserved block of port numbers.

The source files for a simple iPhone test app and a Java receiver are available at GitHub.


Wikipedia Affiliate Button