Search results

  1. R

    Making a sheet from a subclass of NSWindow

    //GPGPassphrasePanel is a subclass of NSWindow GPGPassphrasePanel *ppanel = [GPGPassphrasePanel panel]; //do some stuff to set up ppanel [NSApp beginSheet:ppanel modalForWindow:window modalDelegate:nil didEndSelector:nil contextInfo:nil]; All...
  2. R

    Making a sheet from a subclass of NSWindow

    Actually, I started out with subclasses of NSPanel, but they wouldn't work either. I move to subclasses of NSWindow because I remember a while back I found that I could only make sheets from an NSWindow. If I changed the window to an NSPanel (say, in IB) then it would refuse to run as a sheet...
  3. R

    Making a sheet from a subclass of NSWindow

    Does anyone know of a way to have a subclass of NSWindow appear as a sheet? It seems to me like it should just work, but it refuses to display as a sheet. Alternatively, might it be something related to that I'm trying to make it relative to an NSWindow that belongs to an NSDocument subclass?
  4. R

    Framework prebindings

    Thanks, that did it. Always learning new things about the linker. :-)
  5. R

    Framework prebindings

    Hopefully someone can help me with this. I have two framework: x and y. y links against x. x builds fine and y builds fine. The problem comes when I try to build my application that uses both x and y. It will be fine if prebinding is off, but then it is unacceptably slow. When prebinding...
  6. R

    Can't force no untitled documents

    On this topic, there's another thing I can't get working. I want my application to show the open file panel once it has finished loading. Since the open menu talks to the FirstResponder to do its openDocument, I thought I'd connect to the FirstResponder and run openDocument. Alas, IB wouldn't...
  7. R

    Can't force no untitled documents

    Thanks, that did it. Guess I should have snooped around NSApplication more (I figured it was somewhere in there, but couldn't find it).
  8. R

    Can't force no untitled documents

    Hopefully someone will be able to help me with this. I am creating a document based Cocoa application. I have things set up pretty much as Apple gives them to you. I've filled in some document types that my program is supposed to take, etc.. The problem is, though, that my program is not...
  9. R

    setEnabled doesn't work on an NSMenuItem

    Thanks, that did the trick. It's so obvious, I must have just missed where it is in the documentation. Oh well. %-)
  10. R

    setEnabled doesn't work on an NSMenuItem

    Google didn't turn up anything and posting here proved fruitful yesterday, so I'll try it again. In my program I have some menu items. At times I need some of the menu items to be disabled and then later reenabled (using them doesn't cause crashes, but the behavior is confusing and easier to...
  11. R

    application:openFile problems

    Thanks, this was just the hint I needed. At first restarting the Finder didn't have any effect. Then I made a copy of the application, remembering I had a problem like this when I first built DropScript back a while ago, and everything suddendly started working with the copy. :-) Seems it...
  12. R

    application:openFile problems

    Okay, I tried this and it still didn't work. Here's how I have things set: Name: NSStringPboardType Extensions: "*" OS Types: "****" Icon file: Document Class: RRR_Controller Viewer My application has only one window and not multiple windows, so there is no document class, only my...
  13. R

    application:openFile problems

    It does not light up. If it did then at least I'd have something to go on. I've tried playing with that, but got nowhere. I want my program to open any file, though, so setting it to a certain filetype is not really what I want. At any rate, it doesn't do anything. :-/
  14. R

    application:openFile problems

    I'm trying to be able to drag and drop files onto my application, but it's not working and I don't know what I have set wrong. I created a regular Cocoa application and am now trying to add this feature and can't. In IB, I open MainMenu.nib and connect the File Object to my controller that...
  15. R

    Install never finishes

    Any time I run the installer (i.e. I have a .pkg and want to install it's contents) it will get until the bar is about half way full and then the installer just sits for hours doing nothing. After a few hours, I just quit it out, tired of waiting for it. I'm using 10.0.0, because I can't get...
  16. R

    Using the package system

    Yes, that's just what you'd do. It's, in fact, what I've done myself. :-)
  17. R

    Using the package system

    I'm looking to install some Unix software. Basically, rather than make users compile the software themselves (hard), I'll precompile it and then they just have to use the package to install it (easy). This is command line software. I've seen similar things done for bash and Python, but I...
  18. R

    Using the package system

    I want to use the package system in OS X to install software. I have some various .pkg files around, but looking at them, all of them seem to work in a different way. I have found the tool for creating the .pkg files, but I'm not sure about how to tell it what to install where. Can anyone...
  19. R

    GnuPG now works!

    Or at least it should. I haven't tried it yet, but I was so excited I had to come over and let everyone know: GnuPG 1.0.4 now works on OS X. From what I've learned, it was a problem with sed. Anyway, you can find more at http://www.macsecurity.org/. I'm going to try this out right now...
  20. R

    gcc

    Yes. That's it. The arguments you can pass are pretty much the same (though there are probably some extra ones relating to C++ specific stuff, but I've never made use of them). Just as a note, you may want to create symlinks to cc and c++ with the names gcc and g++, respectively, since if you...
Back
Top