Great isn't it! Apple and Metrowerks take care of the important people, and leave the little guys to wait patiently in the dark.
Ho hum, I might just brush up on my MS Visual Stu…
Quote:
Originally posted by michaelb:
... leave the little guys to wait patiently in the dark.
Ho hum, I might just brush up on my MS Visual Studio while I am waiting..…
I don't want to use NSDocument. I don't like it. I have figured out how to lead nib files and I have been able to make the objects in them release themselves when necessary but the…
I think NSDocument is just fine -- I'd still highly recommend it if you're really doing a multi-document app. If you just have a single window, then it doesn't make sense -- use a…
Okay I get it now. I was unsure about the whole file's owner thing. BTW, say I have one thing in a nib file and I want to make an arbitrary number of instances of it and I want to …
Oh BTW, every time that I loaded the nib it called the awakeFromNib method in my controller class. I got around problems with that by writing it like this:
- (void)awakeFromNib
{
…
Hey Dalgo, Thanks for linking to that macosx-dev article on loading nibs. Extremely helpful stuff.
[This message has been edited by tie (edited 04-29-2001).]
Okay, so I found this very basic regular math expression parser, and it works great!... except that if you enter an expression long enough (about 25 characters in length) it dies. …
Is there any reason this wouldn't work?
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">code:</font><hr /><pre style="…
I'd like to make a very simple command-line tool that can:
1. Set/read the monitor brightness (the actual lamp, not a ColorSync thing)
2. Set/read the system volume -- Nevermind, f…
Sorry, other than a cryptically named constant, all my best grepping and handreading through those frameworks and others hasn't turned up an obvious API for monitor brightness.
An…
Quote:
Originally posted by PipelineStall:
One way you may try and figure it out is if you have a PowerBook; when you press the brightness keys, loginwindow changes the …
Woah, blast from the past.
Incidentally, I ended up just setting the monitor gamma to zero, which turns the screen black, without actually changing the monitor brightness.
This t…
Well I really want to adjust brightness using software, as I try to write an application that sets the brightness when the battery status change.
Yes it is a recovered topic, I di…
Hello, everyone!
I'm a very experienced C++ programmer, but new to Cocoa and Obj-C. I love what I see so far, just have some problems I'm hoping someone can help me with
1) Whe…
1) - is for instance methods, + for class methods (called "static" in C++ and Java)
2) I had problems making colors, too. colorWithDeviceRed ended up working, though.
3) Don't…
2) I can't seem to create RGB colors with NSColor. Do I use colorWithDeviceRed? or colorWithCalibratedRed?
"Device" colors are are colors which will always use those values, on an…
Quote:
Originally posted by ali:
"Device" colors are are colors which will always use those values, on any device. "Calibrated" colors might attempt color matching. Typi…