-
Recent Posts
Recent Comments
Categories
Archives
- December 2019
- November 2019
- March 2019
- February 2019
- January 2019
- March 2018
- February 2018
- January 2018
- November 2017
- October 2017
- August 2017
- January 2017
- November 2016
- October 2016
- September 2016
- July 2016
- June 2016
- May 2016
- March 2016
- February 2016
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- July 2014
- May 2014
- April 2014
- March 2014
- February 2014
- December 2013
- November 2013
- October 2013
- June 2013
- February 2013
- January 2013
- December 2012
- September 2012
- July 2012
- May 2012
- April 2012
- March 2012
- February 2012
- October 2011
- June 2011
- April 2011
- March 2011
Monthly Archives: October 2013
Using arrays of checkboxes to store and retrieve WordPress options
I am into a complex task: for some time I’ve wanted to update the theme of this site and make it more versatile. Despite my obvious lack of time, the content is increasing steadily, so is the number of visitors, and I feel more and more often the need to structure better all these posts …
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. …
Spam stupidity
Cleaned my spam list in the blog today. I am constantly amazed by the stupidity of these bots. Just a rant. Have a great day.
Usage of void in C
Going into some USB programming for a project I am into (on my Mac), I ran into this and I thought would be nice and useful to elaborate a bit. This is about void* pointers and callbacks in C. USB device discovery and probing under IOKit makes heavy use of callbacks, I wanted to write …
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 …