DreamZ – A lucid dreams inducing iPhone app

November 30, 2011

I recently release a new app that I was working on the last couple of months. This is my first paid app, and in my unbiased opinion, it’s one of the most interesting apps on the market today 🙂

DreamZ is a revolutionary new app that allows you to realize that you are     dreaming and control your dream, otherwise known as a Lucid Dream.

How does it work?

As you sleep you go through different phases, ranging from deep sleep to light sleep. The most interesting phase is the REM (Rapid Eye Movement) phase, in which most dreams occur.

Based on your body movements while you’re asleep, DreamZ is able to know the exact sleep phase you are in, using the built-in iPhone’s sensors.
Read the rest of this entry »

Network sniffing on the iPhone

November 22, 2011

Monitoring the network activity of your device is one of the best ways to debug network related bugs. A lot of times hours of frustrating debugging can be solved by simply looking at the actual packets your device is sending to the internet. Also, and you didn’t hear it from me, it is a very useful method to see what other apps are doing.

This tutorial assumes familiarity with network analysis tool such as Paros and Wireshark. I will not show how to use those tools, or the scenarios where you need to use them, but I will show two very simple ways to use those tool to monitor network activity on your iPhone.

Read the rest of this entry »

Adding custom code snippets extensions

November 1, 2011

One of the most useful feature of xcode 4 was the built in code snippets library. It allows you to use pre made pieces of code instead of writing them over and over.

You can use those code snippets either by dragging them from the Code Snippet Library section, or by simply typing a completion shortcut.

xcode comes with a variaty of useful code snippets which you are more than welcomed to browse, but today I will show you how to add your own custom code snippets.

Read the rest of this entry »