With every release comes a set of release notes that reflects the state of resolved bugs and new additions from the previous release. You’ll find the notes useful to help determine the resolution of existing issues from a past release and…
If you've worked on Windows machines your whole life like I have, switching to a Mac can be quite daunting. Besides relearning where everything is, you'll quickly notice, that the "Control" key on your Mac doesn't perform the same function as it does…
Interfaces do exist in Objective-C, they just aren’t called interfaces. In fact, if you read my last post on Classes, you probably noticed that in the header file a class was defined as:
@interface MyClass : NSObject
@end
Hmm… if I was coming…
In this always connected cloud based world we live in today, i'm willing to bet that the App you're currently working on, needs to download some sort of data. Whether it be files from some type of cloud storage, or even just requesting tweets from twitter…
If your App consumes files, you'll need to figure out how you want your users to get their files to your App. For iOS applications you essentially have 3 options.
1. File Type Association
2. iTunes
3. Various Cloud Services (DropBox, Google Drive…
If you have a string representation of a number, NSString has a few helper methods that make it easy to grab a number. But what happens when you have a string made up of letters and numbers, and you just want the number?
First lets look at how you get…
If you're a .Net developer that has decided or is toying with the idea to start programming for the iphone/ipad then read on!
For the past few months I've been blogging about about various topics related to iOS. Including creating some tutorials…
Part 1: Standard File Extensions
Part 2: Custom File Extensions
In this final part of the series we'll finally learn how to react to those files being added to your project.
Step 1. Open your AppDelegate.m file.
Step 2. Add the following method…
When writing an app, you sometimes comes across situations where you need to adjust the position and size of a label based on the size of the text. And that size could be different based on a particular font you're using. So, today i'm going to show you…
If you're new to programming in iOS and are coming from a .Net background (like myself), you may be wondering where all the dlls are.
Well, instead of dlls the platform works in terms Frameworks, which are basically folders thats contain public header…
So here's the scenario. You're writing an app, and you realize that it would be really cool if the stuff your app creates could be shared with other people. Sure you can go down the typical root of sharing through e-mail, dropbox, iMessage, etc..…
In iOS 6, Apple introduced the NSMutableAttributedString class. Along with it, all of their UIViews which previously exposed a text property, now expose an "attributedText" property.
Recently I was working on an App, where the design required…
Given a UIImage, in some cases you may want to have the image split. For example, say you wanted to create a Flipboard or Paper like interface, where you have a screen shot of a UIVIew, and you want to have the appearance of it folding.
To do this you…
If you've ever used the iOS Netflix app, you've seen their opening screen. It's a list of sections and each section has a horizontal scrolling list of movies and tv shows. In my opinion this is a really neat UI, so today i'm going to show you how you…
When writing iOS apps it sometimes becomes necessary to detect what device or OS you're application is currently running on. In this post i'll give you quick access to snippets to do just that.
Device Detection
iPad
Have you read my other article on storing your iOS projects in TFS from a Mac? If so, then you're probably wondering how you can create nightly builds of these projects.
Now you can't really use TFS to do that, as you need a Mac to build your iOS…
If you've upgraded your iOS device to iOS 7, i'm sure you've noticed one of the cool new OS level features known as Parallax. Where you can tilt your device on different axes and the background moves slightly to add a layered feel to the OS. …
My background was originally C# where i worked on a variety of platforms such as ASP.Net, Silverlight, WPF, etc.. So after spending 6+ years working mainly in C#, I was both excited and hesitant to take a look at Objective-C. The first few months i spent…
Previously, I talked about downloading data using NSURLConnection. That method works great, however, in iOS 7 Apple introduced a different way of downloading data, which also allows downloading while you're app is in the background.
Just like we did…
Sometimes it feels like there is nothing worse than when you're in an application and you are stuck waiting for it to do some long operation, such as downloading a file or doing some kind of long processing. It's understandable that some apps need to…
When writing apps for iOS its important to know how to deal with images. Whether it's displaying large images in a photo viewer type situation or as simple as an icon for a tab bar item. In this post i'm going to walk through a bunch of tips and tricks…
An app in iOS has it's own sandbox that it's allowed to work within. In that sandbox though, you're allowed to save and write files at your leisure. In this post I'll discuss how to do basic operations for saving a file, building a file path, and providing…
Speaking from experience, .Net has a tendency to spoil us developers. In this post i'm going to talk about one of those scenarios, Boxing/Unboxing. If you're a C# programmer, and you have no idea what i mean by Boxing/Unboxing that proves my point :)…
In Part1, I showed you how to associate a known file type extension with your App. In this article, I will explain how to associate a custom/unknown file type extension.
The file type extension I will be using is ".cbr". Basically a cbr file is just…
Did you know that the NSArray class has a way of allowing you to easily find any unique values within it. In today's post i'll walk you though how to achieve this.
Lets first assume we have an array of data that looks like this: