Search results

  1. G

    Transforming Rects?!?!?!

    That's a strange convention. When you say in "your code," does that mean it's a feature of the language you use, the api you use, the platform you develop for, or your personal preference? F-bacher
  2. G

    Transforming Rects?!?!?!

    What's confusing me is how you think a rect would be a point and not a rectangle ;) All you do is change the size and the origin of the rect. So if you want to the rect's size to grow by a factor of 2, then you do rect.size.height = rect.size.height*2 rect.size.width =...
  3. G

    recording sound from cocoa?

    http://developer.apple.com/dev/techsupport/develop/bysubject/quicktime.html Look for the title: "Somewhere in QuickTime: Media Capture Using the Sequence Grabber" It has sample code and everything. HTH, F-bacher
  4. G

    setEnabled doesn't work on an NSMenuItem

    I've had the problem too. The main NSMenu auto enables all it's menu items. So even if you set a menu to be disabled manually, it's automatically enabled by the menu. I tried turning off autoenabling before, but that didn't seem to work. There's probably a delegate of NSMenu (I never looked...
  5. G

    NSMatrix properties

    NSMatrix's are just "arrays" of cells. I'm supposing your NSMatrix in IB has 4 rows and 1 column. So what your're going to need is the rowIndex and the column index of the selected cell. Is that all you needed? HTH, F-bacher
  6. G

    How did you learn Cocoa?

    I started with a basic java base and went nuts making really crappy apps. Along the way I've used almost ever API, and now I've switched over (for the most part) to Objective-C. There's some good books, but there's nothing like just messing around and reading the archives over at...
  7. G

    Please Help! Project Builder quits!

    rm -rf /Developer Well... let's not go that far. Have you tried just reinstalling the dev tools software? You can do the individual sections, so just try doing the one that installs PB and IB again. If that doesn't work, I would consider just wipping your /Developer folder and reinstalling...
  8. G

    How do I view the Outlets in MainMenu.nib ?

    That looks like the old interface - the new one came with the Dec 2001 developer tools update. I really like the new interface better (it would answer your question instantly... but I digress) Okay, to add outlets and actions, there's two things you can do (if I remember correctly): 1)...
  9. G

    recording sound from cocoa?

    I've looked as well. In fact, I started my search just yesterday. Unfortunately, nothing on Omnigroup or macnn showed me any hope of recording music through a mic. So, apple, WTF? Grr... and I needed this for a project... F-bacher
  10. G

    Cocoa vs. Carbon

    *sigh* They don't need to "cover" for making carbon apps. There's nothing wrong with carob apps. There's this myth that's gone around that cocoa is superior than carbon. But it all depends. One is functional and the other procedural, so some people code better in one type of mindset. It's...
  11. G

    What's the little, round, progress, spinny-thingy called?

    Omniweb and Mail have the arrows - check their resources to see. F-bacher
  12. G

    what does void mean!?

    I think void in a return statement means nothing and void* as a type essentially means anything. Kind of a strange convenetion. F-bacher
  13. G

    Circuit Design software for OS X

    There's an x11 app called xcircuit which may fill your needs, although I'm pretty sure LogicWorks is a supperior application, but xcircuit may do just what you need. I wish I could get the demo version of Design Works for OS 9 to not corrupt files so I could do my CS hw at home.... F-bacher
  14. G

    Installing in BIN folder...

    You'll need to have the user authenticate as an admin user (u might need root to edit /bin, but I don't remember off hand). HTH, F-bacher
  15. G

    Menubar icons HOWTO

    That's what some of the original menu clock replacements use to do. I wouldn't suggets doing it now, since it won't be placed properly most of the time. What I'm wondering is if the NSStatusBar element gets hidden when you set NSUIElement to 1 (or 0, whichever it is). I'm not exactly sure...
  16. G

    Menubar icons HOWTO

    What you could do is make an app that uses teh NSStatusBar and doesn't have any of the normal gui elements.... I can't remember exactly how to set it up. I think you set NSUIElement to 1. I'm not sure if that would disable the NSStatusBar or not (it's quite possible), but atleast the icon...
  17. G

    Menubar icons HOWTO

    Whoops! Sorry to disapoint you, but the .menu api is private, so you're not technically suppose to make them. The api can change without warning, so it could become a hassle at some point. The best way to find a solution is to contact a developer of on of the apps that use the private api...
  18. G

    Mp3 Player as in Beta rev

    Does anyone have PB installed anywhere? If you could get me the .nib files from the resources, then implementing the player would be pretty trivial. I'm just bad at graphic design, so I need that starting point. F-bacher
  19. G

    Menubar icons HOWTO

    1. Install Developer Tools 2. Build project in /Developer/Examples/AppKit/MenuMaddness/ 3. Tremble in awe ;) HTH, F-bacher
  20. G

    You call *that* a crash? *THIS* is a crash!

    If you have a digital camera, I'd take a picture of the screen and send it to them. F-bacher
Back
Top