Search results

  1. T

    background app

    You can query the mouse location directly. What exactly are you trying to receive, if not mouse clicks?
  2. T

    Project Builder Java Problem (NoClassDefFoundError)

    javac a.java; java a Another problem might be the classpath. Set the $CLASSPATH variable, or look in "man java" to set it via the command-line. To set the classpath in ProjectBuilder, go to build options. Then under one of the tabs, there is an "Advanced" button which will show you the...
  3. T

    command line java tools??

    Two other mistakes I can think of, off the top of my head: -- use Unix line breaks \n instead of \r (very important for perl, if not java) -- inner classes are referenced with a dollar sign ($). So if you have a class BigClass.SmallClass, then the name is represented as...
  4. T

    Working with strings in Obj-C and Cocoa

    Well, I was actually doing more complicated things than just indexOf or substring. And my programming time was the priority, not the running time. But I agree, it was an ugly hack.
  5. T

    Working with strings in Obj-C and Cocoa

    Omnigroup's frameworks include a regular expression engine. I've never tried it, though. If it works, I'd love to hear how well it works, and how easy to use it is. I tried another regular expression framework for Cocoa and it came with no documentation, so I gave up and wrote a perl program...
  6. T

    write your own iTunes visualizer

    It's very easy to make your own iTunes visualizer, as in the screenshot above. Apple includes a starter project with their iTunes visualizer SDK. If you don't want have to learn QuickDraw, I've modified their example to use Quartz. Here is my Quartz starter project -- just reimplement the...
  7. T

    arguement..

    I'm not sure what you are talking about (please use the OmniWeb spell-checker! :)); do you mean something like -(returnType)functionArg1: (arg1Type)arg1Name arg2: (arg2Type) arg2Name; -(void) takeValue: (id)newValue forKey: (NSString *)attrName; ? It works fine. Download someone...
  8. T

    Windows always on top

    Look in NSWindow. You can set various levels. I think you want the status window level.
  9. T

    Screen Saver in Cocoa

    Try the screensavers that Eric Peyton (author of Fire, find him on Google) released. Another screensaver that I worked on, and for which the source is out there, is the Matrix screensaver.
  10. T

    Programming Open GL with Project Builder

    To get the textures to work, you need to make sure they are included in the project: drag the texture files into the left pane of project builder. This copies them inside the .app package/folder (you should delete the entire build folder and rebuild to make sure it works, though). It also...
  11. T

    Programming Open GL with Project Builder

    Heh. I wondered what the problem was. Do the projects there still work with the latest ProjectBuilder? They've been around for a while.
  12. T

    If you can't get the 10.1 upgrade....

    People say that Apple couldn't make the update available for download because they lacked the bandwidth. Well.. they lack the physical infrastructure to distribute it through stores as well! My local Mac stores are all out of copies. Several are reserving the "free" updates to those who buy a...
  13. T

    If You kids want the Developer Tools...

    Great! I'm happy. I was going to pay the $20 to get them sooner -- anyone who's used PB and IB know they are easily worth $20, even for a hobbyist.
  14. T

    How do I use jar files in Project Builder?

    I've done it before but I don't really remember. Go to the project settings panel. On one of the tabs, there will be an "Advanced" button. Pressing this will give you more options, one of which is setting the classpath (I think it is one of the key-value pairs). This should work with...
  15. T

    OS X 10.1 complaints... STRAIGHT FROM APPLE

    Aah! I just got my DVD settlement offer in the mail last week. I guess it would be too much to hope that we'll get another settlement because of this. What -- Apple advertised a working DVD player but never said it would work out of the box (first settlement), nor that it would work for...
  16. T

    OS X 10.1 complaints... STRAIGHT FROM APPLE

    Why is everyone flaming this guy? Sure, he pirated a build, but except for that.. his complaints are perfectly reasonable. Don't tell him he has to buy Drive X and optimize his disk every day, don't tell him he needs to update all the prebindings every day (there are bugs in the way...
  17. T

    Boing App Launch Pauses?

    Or, more likely, stopped dead, unless you have dual G4's.
  18. T

    Why would someone not upgrade?

    It's slow. Very slow.
  19. T

    Localizing an application

    I don't really know, but this is what I would guess: Duplicate the English.lproj folder and rename it German.lproj (case matters). Inside the folder will be a bunch of files. Do not change their names. You want to change their contents. There will probably be a few types of files...
Back
Top