Friday, January 16. 2009
"For all intents and purposes, the iPhone's runtime is the 64-bit runtime despite being 32-bit (i.e. unified C++/Obj-C exceptions, non-fragile instance variables, etc). Because Apple did not have any backwards compatibility concerns with the iPhone (as they did on the 32-bit Macs) they were free to use the new runtime."
Clark Cox on Xcode Users
Friday, November 7. 2008
Just for my own internal use I created a little Bezier Path Demo for the iPhone.
Enjoy:
http://github.com/below/iphone-bezierdemo/tree
Wednesday, May 28. 2008
Today's update of OS X Leopard, 10.5.3. brings an excellent new feature:
Remote TimeMachine Backups!
All you need is one Mac with a TimeMachine Backup Volume, and it will be detected by all other machines running 10.5.3.
My hint for the first backup is however to connect the machines by ethernet, rather than wireless. The inital backup can take a loooong time.
Thursday, March 13. 2008
Inspirered by an entry on the CocoaDex Weblog, I made a little sample application for the rotation gesture. I still am not sure what the "standardRotationThreshold" is used for.
Rotate View Project
EDIT: URL has been fixed
Wednesday, July 11. 2007
After yesterday's port of ElectropaintOSX, here is the other Mac incarnation of it: StonerView, originally ported to the Mac by Tommaso Pecorella
Download 53,814 byte Disk Image (dmg)
Source 50,723 byte Disk Image (dmg)
Without modifications, you will need Xcode 2.5 or better to build the source. For Xcode 2.4, the SDK paths will have to be adjusted
Monday, July 9. 2007
In the early nineties I worked with Silicon Graphics machines, and was very imporessed with the screen saver: Electropaint. In those days it was well suited to show off the graphics power of the machine.
Luckily, a few years ago, Electropaint has been ported in various forms. A friend of mine made the Windows port of StonerView and now I finally got around to the Universal port of ElectropaintOSX. Unfortunately, I was not able to find the current source code for StonerView Mac. When I do, I will port that to OS X as well.
Download ElectropaintOSX 0.3 207,501 byte Image (DMG)
System Requirements: Mac OS X 10.2.8 or later
Electropaint™ is a US Trademark of Tristram Visual, www.tristram.com
Thursday, May 24. 2007
Not sure if anybody but me needs that, but I find the setup time for Kernel Debugging quite taxing. So, to make life a little easier, I made the following startup script on my target machine:
#!/bin/sh
KitPath="$HOME/KernelDebugKit/"
address=`/usr/sbin/kextstat | perl -ne 'if (m/(0x\w+)\s+0x\w+\s+0x\w+\s+com\.apple\.iokit\.IOSCSIArchitectureModelFamily/) { print "$1\n"} ' `
/sbin/kextload -c -e -k "${KitPath}mach_kernel" -n -z -r "${KitPath}" -a com.apple.iokit.IOSCSIArchitectureModelFamily@$address -s /tmp/ ~/KernelDebugKit/IOSCSIArchitectureModelFamily.kext
scp /tmp/com.apple.iokit.IOSCSIArchitectureModelFamily.sym DEBUGMACHINE.local:/tmp/
This script will find the load address and generate the symbols from the IOSCSIArchitectureModelFamily and push them onto my debugging machine for gdb. The script is quick and dirty, but maybe it is of use to someone
Wednesday, May 23. 2007
While I was debugging my driver, I found out that you can raise the verbosity of the IOKit. As I did not find this tip documented anywhere on the Web, I thought I share it with you.
Many parts of the IOKit check the variable gIOKitDebug for certain bits, and log accordingly.
Continue reading "A more chatty IOKit"
Wednesday, May 9. 2007
Wir sollten auch ein offizielles OSXEntwicklerforum.de Treffen veranstalten, ich habe im Forum ja schon Vorschläge gemacht: Montag Abend, 20:30, und wahrscheinlich ist das Chevy's die beste Idee.
Wer kommen will kann ja an diesen Beitrag einen Kommentar (am besten mit eMail) anhängen.
Wednesday, May 2. 2007
Now that just a year has passed, here is a new entry!
I will be attending the Apple World Wide Developer Conference 2007 in San Francisco, arriving June 8th and staying till June 16th.
If you would like to schedule a meeting in San Francisco in that timeframe, just drop me a note.
Especially for this event I have added a new category, I which I and members of the German OSX Entwicklerforum might post some entries.
If you would like to post entries in that categorie, just let me know.
Monday, February 20. 2006
Just recently I discovered that some software would fail to work on partitions that are case-sensitive. My partitions are mostly case-sensitive because I develop some stuff for Linux (which often has case-sensitive file systems).
So, be sure to test your applications on case-sensitive partitions. You can easily create a disk image and mount it for this purpose.
In the case your application needs to know if it is running on a case sensitive partition, here is some sample code. There are many ways to find out the vRefNum, depending on what you have to start with. In this case, I am assuming a path, but you can also get a vRefNum for a BSD partition or other things.
Sample Code follows:
Continue reading "Pitfall for Developers: HFS+ Case-Sensitive"
Saturday, February 4. 2006
Oy vey, it has been a while since I posted something here...
Anyhow, I would like to make both Developers and Non-Developers aware of Smart Crash Reporter, which has caused some weird behavior. Therefore, I recommend
Bill Bumgarter's Weblog which includes instructions on how to remove SCR. It also has some more insight, including what alternatives developers can use instead.
Also, please check the excellent Daring Fireball piece on this discussion.
Tuesday, September 13. 2005
Sometimes the simple things can be complicated if you are used to complicated scenarios. After successfully using Cocoa Bindings for a lot of things, I wanted something really simple:
 Let the user set a default settings with an NSPopUpButton. The setting actually is an integer, but I would like to present some text to the user.
Continue reading "User Defaults, NSPopUpButton and Bindings"
Friday, September 9. 2005
Thursday, September 8. 2005
For quite a while I have tried to find out how to create transparent iChat avatars like the funky Apple sample icons. But saving images in gif, tiff, png, with or without alpha channel did not help.
My friend Julius ( macrocka.com) now found the secrect:
The image must not be larger than 48 x 48 pixels. Other than that it should be a gif, with transparency set. No alpha channel needed.
|