Category: How To’s

UIPickerView Tutorial — part 2

Before we continue the second installment in the series of basic tutorials about UIPickerView usage and customization, a short digression. Most Cocoa/ Cocoa Touch tutorials assume that all connections to delegates, data sources and outlets are done visually in XCode. Our previous example was no exception. You can see from the project (gave the link below) …

Bootable USB Drive with OS X Mavericks — Fastest Way

Apple released its latest OS X version, 10.9 or “Mavericks”. Quote Apple: “With more than 200 new features, OS X Mavericks brings Maps and iBooks to the Mac, introduces Finder Tabs and Tags, enhances multi-display support and includes an all-new version of Safari.” Cool, ain’t it ? But this I like most: “The latest release …

Split NSArray based on characters

Arrays are omnipresent. As I needed a snippet to make a string into an array of values, I thought would be helpful to share this for beginners. For example, take a string variable like, Create an array variable “array1” as:- I used the for loop to know the array1 values, which is displayed in Console …

iOS 7 UIPickerView Simple Application

Recently I was asked by a friend to provide some support with UIPickerView in iOS 7. He was a bit puzzled by what it seemed to be the impossibility to pad the content of each picker view row to a certain distance from the left side of the UIPickerView. Basically, let’s consider the following example. …

Auto-increment versioning in XCode 5

Ok, this will be quick. There is no built-in feature or that supports automatic code versioning in XCode. I am talking about auto incrementing versions or build numbers in XCode plist, aka “CFBundleVersion” info.plist entry. Here’s a quick one for XCode 5. Make sure your target has an *Info.plist file. Add an entry there, as …

How to create hatching in Illustrator

Couple of days ago I need to create a hatched drawing for one of my project plan. Discovered a neat way to create hatching in Illustrator and I thought it might be useful to share. Create a new document, any size. Press “M” to access the Rectangle Tool: Click on the canvas and make a …

Anti aliasing Illustrator features for web artwork

While creating some artwork for an article, I ran into an interesting anti aliasing Illustrator feature. That might be handy for you to know. Exporting images for web (“Save for web”) uses Cmd-Opt-Shift-S shortcut (Ctrl-Alt-Shift-S on Windows). This brings the following screen: You have three anti aliasing Illustrator options for the look of your exported artwork: …

NSOutlineView — Inside Out

This is the first part of a series I intend to maintain on NSOutlineView. Some NSOutlineView basics and a very simple example.

OS X Lion, Safari, Activity Window and downloads

Previous versions of OSX had a very handy shortcut for downloading an item from activity window. How to do it in Lion ?

FTP in Mac OS X Lion

With the release of their latest OS, Lion, Apple dropped support for FTP activation via System Preferences → Sharing. As all my wordpress developments are tested locally on a MacBook Pro, I needed to have a way to use FTP for remote plugin installation or system upgrades. It seems that even if FTP activation is …