objectiveC, C# and more interesting stuff
Call Us: +31 (0) 84 86 78 130

Posts Tagged ‘Cocoa’

Protected: Localize your UIViews (the easy way)

There is no excerpt because this is a protected post.

Read more

Placing curved text on an UIImage

For a project I am doing for a client, I needed to layout text around a circle in objective-C. I spend a couple of hours searching the internet for this, but somehow when people succeed in doing this, they don’t post their solution online. So, I made

Read more

Putting a UIPickerView on a UIActionSheet

Basically there are no really good (and now working) guides on how to put a UIPickerView on a UIActionSheet. Mainly because some things changed with the latest firmware updates made by Apple. Well after some fiddling around, I got it working. Here is how: Step 1: Adding

Read more

Sending an email with an attachment from your iPhone

For Desktop Backgrounds HD (which is currently in review) I wanted to implement a feature called “send image by email”. First I tried to include an image base64 encoded in an URL, with the mailto: protocol, but this resulted in numerous errors. So after a coupe of

Read more

Note to self: how to convert hex codes in a NSString

I have been working with Freebase lately and they sometimes encode their strings, so that “special” characters are encoded in HEX. For example, sometimes you receive a string like this: Terminator_2$003A_Judgment_Day. I wanted to convert the weird encoding they use, so I wrote a piece of code

Read more

Queueing HTTP requests in objC

For WallPaper I download numerous thumbnails from my webserver at the same time. This is causing slowing speeds (to many threads at once), and too much memory usage (too much image data cached at once). So I looked in queueing the downloads and tried (ofcourse) writing my

Read more

Bad Behavior has blocked access attempts in the last 7 days.