Skip to main content
Search titles, bodies, and author names
Found 72,041 posts across 1 forum.

Here's a challenge... — #5

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 …
MacNN Development

Here's a challenge... — #7

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…
MacNN Development

Here's a challenge... — #8

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…
MacNN Development

full path in terminal — #1

My question is about obtaining the current path the user is in when a command is executed. For example, if the user executes the following in the terminal: cd /some/path ./ myPro…
MacNN Hardware by lenz

System Preferences — #1

I am working on a system preferences prefpane, and I'm thinking that storing my prefPanes preferences in ~/Library/Preferences/com.apple.systempreferences.plist is a bad idea. Usu…
MacNN Development by 3R1C

System Preferences — #2

this should answer your question: <a href="http://developer.apple.com/techpubs/macosx/AdditionalTechnologies/PreferencePanes/Tasks/Sample.html" target="_blank">http://develo…
MacNN Development by seb2

System Preferences — #3

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.…
MacNN Development by Diggory Laycock

Objective C Warning? — #1

Hello all. I am making an app using cocoa w/ objective C in project builder. I am getting the following warning, and don't understand what it is getting at. Can someone explain …
MacNN Development

Objective C Warning? — #2

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…
MacNN Development by parallax

Objective C Warning? — #3

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 …
MacNN Development

Objective C Warning? — #4

Or, you could just use NSString values :-) That's probably easier than dealing with the c-string memory management...
MacNN Development

Objective C Warning? — #5

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…
MacNN Development

Quick Help : Icons — #1

Hi, In cocoa, is it possible for my program to read a file's icon resource? Ultimately, I'd like to make a program that changes the icons of files. Thanks for your help, David
MacNN Development by dstys

Quick Help : Icons — #2

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
MacNN Development by dstys

Quick Help : Icons — #4

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…
MacNN Development by Apocalypse

Major Problem (bug ?) With Menus and IB — #1

Hi, I have noticed a major issue with menus and IB. Environment : - Mac OS X 10.0.3 - Developer Tools from Mac OS X retail CD - PowerBook G3 Lombard 333MHz (bronze keyboard) The…
MacNN Troubleshooting

Major Problem (bug ?) With Menus and IB — #3

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,…
MacNN Troubleshooting

Major Problem (bug ?) With Menus and IB — #4

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…
MacNN Troubleshooting

Determine whether screensaver is running — #1

hi everybody, i think the topic says it all... is there a way? i thought about doing a "ps" from an nstask and see whether "/System/Library/Frameworks/ScreenSaver.framework/Versi…
MacNN Development by seb2

Determine whether screensaver is running — #2

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…
MacNN Development by Angus_D
mp.ls