CALayers are extremely powerful for rendering primitives and geometry, then animating out changes to the geometry or visual properties such as color. In this blog post we'll expand on the flat indicator view post that uses a CAShapeLay…
The IGLabel is an iOS control for creating rich text labels. It works similarly to the generic UILabel and applies styles to text in a similar fashion that is done when using attributed strings. It is also based on Core Text to boost…
Having the right set of tools can take your development quality to the next level. This article provides you with my personal current top 10 apps to use for Mac and iOS development in 2014.
Simply the…
The 2014 Volume 2 release of NucliOS is packed full of new controls and features to help you easily create stunning apps using Xcode or Xamarin.iOS. Without further ado, the following are the new controls and updates included with this…
The string functions of most programming languages can cause performance slowdowns when they are frequently used. With iOS development you will see NSString references and its method calls all over the place. It is well known that Objective…
With the release of NucliOS 2014 Volume 1 we've included a flow layout control (IGFlowLayoutView). This control allows you to easily create a dynamically sized list of items that can be scroll horizontal or vertically, similar to t…
One important aspect of almost any application is the data source that provides or store data to the UI elements. In this article we'll wire up the most widely deployed SQL database engine in the world, SQLite, to the IGGridView. In addition…
When performing complex animations during run-time or any task that would require the translation of one UIView's location into that of another UIView, keeping track of the math on your own can be a challenge. Luckily Apple has created…
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…
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…
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…
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:
Probably one of the things that worried me the most about moving from C# to Objective-C was having to manually manage memory for myself. For years I was spoiled by .NET's automatic Garbage Collector. Now, not only would i be responsible for managing memory…
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:…
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…
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 :)…