iOS Tutorial – Text Field, Label, Button

Text Field, Label, ButtonText fields, buttons and labels. You will find nearly all of these in almost every app. They are key elements for getting and displaying information to and from the user.

We’re going to use all three in this fun, geeky little tutorial.

(Note: In future tutorials, we will be adding more functionality to our apps.) Read More…

Compress JavaScript and CSS Files With Gzip

Compress With GzipOne of the easiest ways to improve the performance of a website is to compress the JavaScript and CSS files. When compressing these files, there are three steps that should be taken in order to get the fastest possible response from your website. You should start by merging similar files to reduce http requests. Next, Compress the code by removing any unnecessary characters such as spaces, tabs, return characters, and comments. Finally, you should gzip the file to reduce the file size even further. Read More…

iOS Tutorial – Creating a Web View (UIWebView)

Create a Web View

UPDATED for Xcode 4.4, ARC (Automatic Reference Counting), Storyboards, and Universal Devices (iPhone, iPod, & iPad)!

If your app is dependent on web content, there are a couple ways you can go about outputting that content. JSON Parsing and Web Views. We’ll be covering JSON Parsing in a later tutorial. Also, be sure to check out the continuation of this tutorial where I explain how to add a Loading Label when a web page loads.

A web view displays a website on the device’s screen. Mobile Safari is a prime example. Safari uses all kinds of bars and buttons to interact with the view. We’re not going to go into that much detail…yet. For now, we’re just going to display a web page. Read More…