Entries Tagged With 'OSX'



Dictionary Lookup in Every Cocoa App

I just learned something new about Tiger, and it is really cool. In any cocoa application, when hovering over a word you can press ctrl-cmd-d and it will pop up a definition for you. Definitely cool


OS x86 8f1111a Experiences

As soon as the first copy of Mac OS X was leaked to the public I decided to give it a try. I was lucky because my own hardware specs are very similar to the Dev machines that apple leased out with the exception of SSE3. Shortly after release the hacker Maxxuss hacked the release to let SSE2 only machines run rosetta. That version of OS X for intel, 10.4.1, ran very smoothly and was quiet stable with very few exceptions. I could run office programs and photoshop without difficulty. What really bothered me was lack of NVidia drivers, lack of dual monitor support and not be able to sleep my computer.

I ran 10.4.1 almost exclusively, only rebooting to windows for dvd shrink. More recently a new release was leaked 8f1111 (there was a fw before it that I ignored), which was rumored to have better ATI drivers (doesn't help me), dual support and other great features. I had to replace my hard drive anyways, so I decided to try the latest leak and see if I could get more stuff working. These are my experiences documented here to hopefully help other 0sx86 users out.

Read more...

Printing to a Networked HP LaserJet 1100 from Intel OS X

I have two Mac OS X computers here with my HP LaserJet 1100 printer networked via a Windows Xp machine. The Mac's don't ship with a laserjet 1100 driver so you have to go out and download the foomatic/hpjis drivers. These work but they are crap! The result looks like a bad photocopy with everything bolded. After searching awhile, I decided to try some of the other drivers for models that I knew to be close to mine. So far HP LaserJet 6 series - GimpPrint v5.0.0-beta works the best.

If you find a better driver or a different way to fix this problem by all means let me know.


Connecting A Submenu In Interface Builder

The easiest way to dynamically change menus at runtime is to link the menu in the nib to a variable in your class. This is relatively easy todo if you are connecting a non-submenu item:

  • Create an IBOutlet variable:
    IBOutlet NSMenu *clientMenu;
  • Drag the header file for the controlling class onto the nib
  • Instantiate it in instances and make the connection (make connections by holding ctrl down and dragging from one object to another).

But if you want to connect to a submenu it is harder because there is not graphical representation that you can connect it to. The solution here is to use the outline mode.

Read more...