iOS Quick Tip: Find the Size of a NSString Stephen Zaharuk / Tue, Jun 24, 2014 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...
iOS Quick Tip: Create a UILabel Where Each Letter in the String is a Different Color Stephen Zaharuk / Tue, Jun 17, 2014 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...
iOS - Objective-C - Advanced: Creating a Class at Runtime Stephen Zaharuk / Tue, Jun 10, 2014 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...
iOS Quick Tip: Split a UIImage into Multiple Parts Stephen Zaharuk / Tue, May 27, 2014 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...
iOS - Objective-C - Downloading Data using NSURLSession Stephen Zaharuk / Wed, May 21, 2014 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...
iOS - Objective-C - Downloading Data using NSURLConnection Stephen Zaharuk / Thu, May 15, 2014 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...
iOS - Objective-C - Custom Paging with UIScrollView using the IGGridView Stephen Zaharuk / Tue, May 13, 2014 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...
iOS Quick Tip: Find a Number from within an NSString Stephen Zaharuk / Thu, May 8, 2014 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...
iOS - Objective-C - IGGridView Slide an Individual Cell to Reveal a Custom Menu Stephen Zaharuk / Tue, May 6, 2014 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...
iOS Quick Tip: Adding a Custom Font to a Project Stephen Zaharuk / Fri, May 2, 2014 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...