IP Info

Release Date: 2011

Language Used:

Objective-C

Software Used:

Xcode

Platforms:

iOS, Windows Phone

About:

IP Info was the first app I made, and helped introduce me to programming. Users can manually type in an IP address, or hit the button to use their device's IP to view information on it. That information includes the class, default subnet mask and binary representation for the address.

The inspiration for this app came from my high school networking class. Among other things, we were tasked with learning to extract various pieces of information from an IP address, the hardest being the binary conversion. This app was made to help alleviate that effort.

IP Info has also served as a sort-of "Hello World" app for me; it is the app I will try to re-create when I am learning to code on a new platform. The app is simple enough such that I can easily recreate the UI, while the backend (particularly the binary conversion) is complex enough that it forces me to learn how to do new things on that platform. For exactly this reason, it is my first multi-platform app, supporting both iOS and Windows Phone.

Code Samples

IP Parsing

This code parses the input IP address and extracts each octet for binary conversion.

Binary Conversion

This code processes a given octet (as a string) and returns its binary representation. It is limited to processing numbers between 0 and 255, since other numbers were outside the scope of this project.