Apple

You are currently browsing the archive for the Apple category.

Today, I wanted to display a time-value of 9 minutes and 3 seconds like this: 09:03

Thus, I typed this snippet into my Objective-C code:

labelTimer.text = [NSString stringWithFormat:@"%2d:%2d", minutes, seconds ];
[/code]

This did not yield the result I wanted. The numbers were padded with spaces, not zeros. Sadly, Apple left out the options for the different format specifiers like f, d, @ … completely. You have to rely on old C skills… Continue reading

If you have ever written code in Java or .NET, you will truly learn to appreciate the garbage collection, i.e. objects that are no longer referenced are being freed from memory. Automatically no less.

A lot of people do not like it for reasons of their own and I do not want to get into those.

What I do want to discuss is that in an environment in which you are responsible… Continue reading

In my last post I spilled where my major focus lies right now. I am looking at something completely different: not a new language, but a new language, with new tools on a different platform. And believe me, it is different.

Why different? Well, not only is the syntax of the programming language on Mac very odd getting used to for a Delphi or C# developer, but even more using the… Continue reading

(I tagged this posting without the Delphi-flag which DelphiFeeds.com should note, if it is being aggregated there still, please drop me a line. This is not intended as this clearly is not related to Delphi programming)

The first question one might pose is why one would want to write to NTFS having a Mac. Well, simple. I still do a lot of work on Windows systems and if I want to… Continue reading