[Tutorial] Read a Text File

Xcode
In this tutorial we will be looking at how to load a text file into your iOS Application. We’re going to be creating a text file in the Mac Application ’TextEdit’ and then loading the contents of the file into an NSString. Then we’re going to put the contents of the NSString into a UITextView and display it in the App. Lets get started! Read More...

[Tutorial] Copy Text using UIPasteBoard

Xcode
A useful feature to have in your iOS Apps is to give the user the ability to be able to copy content within your App. Whether it be text or images, you can copy most content. To do this, we need to use the UIPasteBoard feature of the iPhone SDK. In this tutorial we will have a UILabel, a UIButton and a UITextField. The label will hold the text to be copied, the button will fire the code to copy the text and then the textfield will hold the text that has been copied from the label. Read More...

[Tutorial] How to Post Tweets with iOS5

Xcode
One of the new features in iOS5 is the direct integration of Twitter. A user only has to connect their Twitter account once to their iDevice and then all Apps can have the availability to post to Twitter using the users account. The ViewController that allows the developer to integrate Twitter is the TWTweetComposeViewController. In this tutorial we’re going to take a quick look on how you can integrate the TWTweetComposeViewController into an App by clicking a button. Read More...