Hello again,
well, the login app is just loginwindow.app located at
/System/Library/CoreServices
I can open the application's nib file in Interface Builder and muck around with …
There is a drawback, and this may explain why it's not there.
Typically under Unix, sysadmins don't want the names of all the users available to anyone... this is part of the logi…
The OSX system admin. should have the a preference panel that gives him an option between a 'home' and 'pro' login window:
1. a "home" login window would basically look like the O…
this should answer your question:
<a href="http://developer.apple.com/techpubs/macosx/AdditionalTechnologies/PreferencePanes/Tasks/Sample.html" target="_blank">http://develo…
Your preference pane is a bundle loaded into the System Preferences App - so defaults don't work normally.
See here:
<a href="http://www.cocoadevcentral.com/tutorials/showpage.…
Before all of your cString calls, stick this: (char *)
e.g.:
(char *)[myString cString];
Not sure exactly _why_ cc makes this a big deal, since (const char *) is declared as the…
The -cString method is declared as returning (const char *), which indicates the return value should not be modified. The method in question is declared as taking (char *), which …
Quote:
Originally posted by lindberg:
Or, you could just use NSString values :-)
That's probably easier than dealing with the c-string memory management...
Excelle…
Hi,
Actually, I was able to get the icon using the NSWorkspace iconForFile method. Anybody know how to "Set" (ie, change) a file's icon???
Thanks,
David
Someone directed me to this link when I asked for this information.
I haven't had a chance to try it yet but it looks like it could work. It seems to be some sort of cocoa wrappe…
Angus,
The localized nib file is where it is supposed to be. All things are OK, except the menubar items name.
I always have "AppName" File Edit Window Help
Nor in English.lproj,…
I have found a way to correct the problem, however, it should be a bug that corrupts the nib file or Idontknowwhat.
If I create another File menu submenu into the Edit menu for exe…
I think you're probably going to have to do that, yeah, but you should probably use Carbon's Process Manager or sysctl to determine if it's running or not. I think that's a nicer s…
By the magic of class-dump (see fink), add this to your source somewhere:
@interface ScreenSaverController:NSObject &lt;ScreenSaverControl&gt;
{
NSConnection *_connect…
woohoo, sounds great!
but... i'm sorry, i've never used any class-dumps in my own source code before... it complains it cannot find the protocol declaraction for "screensavercontr…
You haven't declared the ScreenSaverControl protocol in any headers, but referred to it in the declaration for ScreenSaverController, so the compiler is getting confused. You don't…
Must be an older version of ar.
Typically on MacOS X, the libtool -static command is used to create libraries, and it automatically updates the table of contents so ranlib is not …