Rich Text Editing : Inserting Images (Part 6) Check out the previous in the series: - Rich Text Editing : Undo and Redo (Part 5) Once you’ve done that, then let’s begin. In this our sixth and penultimate tutorial I will show you how to present a UIImagePickerController in which a user can select an image of their choice and then add the users selected image into the document. Let’s get right to it, in our ‘checkSelection’ method add the following code: UIBarButtonItem *insertPhoto = [[UIBarButtonItem alloc] initWithTitle:@"Photo+" ... Read Full Article
Rich Text Editing : Undo and Redo (Part 5) Check out the previous in the series: - Rich Text Editing : Fonts (Part 4) If you have done that, then lets begin. In this our fifth tutorial we’ll be taking a look at adding undo and redo to our rich text editor. This a rather trivial matter and so should be a quick thing to do. Okay, let’s get stuck in. As we’ve done in almost all our tutorials we need to add some bar button items into the ... Read Full Article
Rich Text Editing : Fonts (Part 4) Previous in the series: - Rich Text Editing : Highlighting and UIMenuController (Part 3) If you have read the third part in this series, then lets begin. In this tutorial we’ll be looking at customising anything and everything related to the font. We’ll begin by adding an option for adjusting the font size and then move on to changing both the font its self and the font color. Before we add our bar button items and everything else we need ... Read Full Article
Rich Text Editing : Highlighting and UIMenuController (Part 3) Previous in the series: - Rich Text Editing : Validation (Part 2) If you have read the second part in this series, then lets begin. In this our third tutorial we’ll look at using execCommand to set the background color of selected text to give it the appearance of a highlight as can be seen in iBook’s. We’ll also look at using UIMenuController to display the highlight button in the menu which appears after selecting text. Let’s get straight into ... Read Full Article
Rich Text Editing : Validation (Part 2) Previous in the series: - Rich Text Editing : A Simple Start (Part 1) If you have read the first part in this series, then lets begin. In this tutorial – the second of the series – we’re going to look a validating our bar button items so the user knows when they have selected text which is bold, italic or has been underlined. note:If you haven’t already please read the previous tutorial in this series, ‘Rich Text Editing : ... Read Full Article
Rich Text Editing : A Simple Start (Part 1) In this series of tutorials we’ll be looking at creating a simple Rich Text Editor which you can easily implement in your own apps. Normally people look at creating a Rich Text Editor to be an extremely difficult task as it means having to build it from scratch using the Core Text framework in combination with the UITextInput protocol. Apple provide no standard control for Rich Text Editing, UITextView its self only supports one style, so that’s one font, one ... Read Full Article
Creating an NSObject that makes REST API calls (with threading) In this tutorial I am going to teach you how to create your own NSObject that can make calls to your own web REST API and use it to retrieve the response received from the server. I am going to do this with the help of ASIFormDataRequest (ASIHTTPRequest). This will mean your iOS app will be able to make calls to your web server and download information to your app. The following tutorial is useful for if you want to ... Read Full Article
I’m a designer by profession, here’s my story in learning iOS development So you’ve decided that iOS development is for you, or maybe you haven’t and you need some convincing. You have heard or read success stories on small ideas generating tons of money in the Apple Store, and your keen to get on board, but your afraid of the overwhelmingly large iOS documentation, or worse, having your app rejected by Apple! Don’t fear, I was, and still am of that opinion. Read Full Article