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…
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 :)…
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…
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…
One of the many cool features introduced into iOS 7 is the concept of Beacons. The idea behind them is that you can have an iOS device or even a stand alone device broadcast a beacon. And then within an iOS 7 application you can listen for that beacon…
Today’s post is actually going to be a really short one. There isn’t too much to really show, however its something that I had to look up a few times when I started working with Objective-C, so I figured its a good topic to cover anyways.…
In today’s post I’m going to show you some basic reflection in Objective-C. To start off, lets take a look at probably the most common use case for reflection:
Finding the type of an object
C#:Type t = typeof(MyClass); Objective-C:Class…
For the 13.1 release of our NUCLiOS product we added a LOT of features. So many in fact that its actually quite easy to overlook some of them. So, today i'm going to talk about one of my favorite features added to the IGGridView: Infinite Scrolli…
I've talked about all the tricks you can do with images before, even about how to take screen shots of a particular UIView. However, today i'm going to dive into that just a little bit more and show you how you can take that screen shot at different…
Yes, this may be an edge case, but it is a problem that you may run into one day. For example, say you're writing an App that requires you to accept any sort of random json or xml. While you could just consume them in dictionary format, it maybe not actually…
I've said this before, and i'll probably keep saying it, the UIScrollView is very powerful and awesome. Its so powerful that we build our IGGridView control by deriving from it. Even Apple wrote their UITableView the same way.
So, today I'm going…
I'm not sure how I missed covering this topic thus far. Events are so basic that they generally are part of anyone's "Hello World" application. Throw a button and a label in an app, click the button, and change the label's text to "Hello World"... So…
If you're not familiar with objective-c, NSDate is the equivalent of the DateTime object in C#. However working with it is quite different. In this article i'll show you how to do some common tasks with the NSDate object.
Get Today's Date:…
Today we'll continue our exploration into objective-c by looking at another common data type that you'll use heavily but has a slightly different syntax than C#: Arrays.
Before we dive right it in its worth noting that the goal of these posts…
The IGGridView has a few different options for allowing you to slide a row and reveal a menu. However, what if you're not using a row based grid, and instead have a cell based grid, maybe something like this:
A sliding row gesture wouldn't really…
The other day I was doing some coding on the side, and i was playing with different web services. Some of the web services returned JSON, while others returned XML.
Now, JSON was easy to handle, b/c i could simply use the NSJSONSerialization class…
In this post, I'll walk you through how to filter an NSArray using NSPredicates.
The first thing you'll need to decide is if you're filtering a number or a string.
For strings, you can use any of the following filters: (NOTE: must be all caps…
As this is my first post, before I begin, let me introduce myself. My name is Steve Zaharuk (SteveZ) and I've been working for Infragistics since 2004. I've worked on a lot of different platforms since I first started here including ASP.Net, Silverlight…
Apple supports a bunch of fonts, and in each version of iOS it seems like they keep adding more. However, sometimes a custom font gives you that unique look that can help your App stand out from the crowd. Today i'm going to show you how to add your custom…
Here at Infragistics, we're primarily a Microsoft shop. And Like any good Microsoft shop, we use TFS for everything, from planning our next features to handling our source control to managing our bugs. So when we decided to start developing an iOS…
Flipboard is probably one of my favorite apps to use on the iPad. Its just one of those apps that I use every single day. And one of the reasons that i keep coming back to it, is its ease of use. That page turning gesture, just works really well, and…
If you're new to iOS/Objective-C and have a .Net/C# background you may want to first read some or all of the previous posts i've written, before continuing on: