Re: Hide an Item on Desktop

2009-10-08 Thread Paul M
On 9/10/2009, at 2:51 PM, M Pulis wrote: Naming a file with leading period is THE traditional unix way of making a file less visible to the casual observer. OSX is based on unix. (Actually, isnt OSX the most widely used OS legally able to use the name 'Unix'?) The dialog message above i

Re: Hide an Item on Desktop

2009-10-08 Thread M Pulis
On Oct 8, 2009, at 7:55 PM, Dave Carrigan wrote: On Oct 8, 2009, at 6:51 PM, M Pulis posted a screen capture of a finder error. That's just the finder being nice to the non-techies. The longer "if you name this with a dot then you'll have to hit a special key combination in order to see

Re: View Hierarchies for apps like Quartz Composer

2009-10-08 Thread Darren Minifie
Cool, thanks for the advice. I was a bit vague in my approach. I did in fact separate model from view in my implementation. What you guys are saying about better modeling the connections seems to be the right approach. On another note, Graham, I looked at your framework and it looks very intere

Re: Hide an Item on Desktop

2009-10-08 Thread Greg Guerin
Dave Carrigan wrote: That's just the finder being nice to the non-techies. The longer "if you name this with a dot then you'll have to hit a special key combination in order to see it" explanation is more confusing and unnecessary. It certainly doesn't mean that .files are not allowed or

Re: CoreData async fetch request

2009-10-08 Thread Ben Trumbull
On Oct 8, 2009, at 8:28 PM, David Melgar wrote: I read a little on ICU and now understand that sqlite by default does not handle case insensitive unicode. Is there an easy way to make sqlite use ICU on the Mac, or do I have to build it myself with ICU enabled? Probably the easiest thing to

[iPhone} Exception After Creating First Object

2009-10-08 Thread Steve Steinitz
Hello, My Core Data iPhone app throws an NSRangeException when I call (or when the OS calls) [moc processPendingChanges] after I create the first object of a given entity. I've commented-out my interface down to the bone and put breakpoints on remaining methods. It appears that none of my

Re: Automatic language detection - a bug (again) or what. Snow Foundation NSSpellServer.

2009-10-08 Thread Douglas Davidson
File a bug against NSSpellChecker and we will look into it. Douglas Davidson On Oct 8, 2009, at 1:35 PM, MacProjects wrote: Hello! I'm maintaining system-wide Latvian spell checker for ~ 2 years. It works as intended on 10.4 and 10.5. Just made a dummy spellcheck for 10.6. checking out th

Re: CoreData async fetch request

2009-10-08 Thread David Melgar
I read a little on ICU and now understand that sqlite by default does not handle case insensitive unicode. Is there an easy way to make sqlite use ICU on the Mac, or do I have to build it myself with ICU enabled? Based on the derived property example, it seems that I would need to duplicate

Re: Alert prompts for BetterAuthorizationSample

2009-10-08 Thread Todd Heberlein
On Oct 8, 2009, at 4:01 PM, Todd Heberlein wrote: Of course, I can't expect my users to go into /etc/authorization to change the entry themselves, and I'm not going to much around with it from my code, so I guess I'll wait for Apple to fix this. I'm not even sure which code is to blame (th

Re: How to set checkbox state in TableView columnheader

2009-10-08 Thread Jerry Krinock
Congratulations, it looks like you got the hard parts! On 2009 Oct 08, at 01:23, Zhang Li wrote: I tried to use [cell setIntValue:NSOnState] before [cell release] to set the checkbox to on state, but failed. Looks like [NSButtonCell SetIntValue] is not the right way to change checkbox state

Re: Hide an Item on Desktop

2009-10-08 Thread Dave Carrigan
On Oct 8, 2009, at 6:51 PM, M Pulis posted a screen capture of a finder error. That's just the finder being nice to the non-techies. The longer "if you name this with a dot then you'll have to hit a special key combination in order to see it" explanation is more confusing and unnecessar

How to allocate and delegate; or how to keep GC and the static analyzer happy

2009-10-08 Thread Glen Low
Hi All I have several cases of the following pattern in my code: - (void)start { [[Something alloc] initWithDelegate:self]; } - (void)finishWithSomething:(Something*)something { [something release]; } The intent of course is that the Something object calls back the caller wit

Automatic language detection - a bug (again) or what. Snow Foundation NSSpellServer.

2009-10-08 Thread MacProjects
Hello! I'm maintaining system-wide Latvian spell checker for ~ 2 years. It works as intended on 10.4 and 10.5. Just made a dummy spellcheck for 10.6. checking out the new SDK. Works great... ...except for the (only) new "Automatic by Language" option introduced in 10.6. Problem descriptio

How to set checkbox state in TableView columnheader

2009-10-08 Thread Zhang Li
Hi All, I want to place a checkbox on each NSTableView column header, when user click on it, the checkbox can be set to checked/unchecked state accordingly. I successfully put checkbox on NSTableView column header by using following code, I can see the checkbox there, but don't know how t

Re: Hide an Item on Desktop

2009-10-08 Thread M Pulis
<> On Oct 8, 2009, at 6:31 PM, Kyle Sluder wrote: On Thu, Oct 8, 2009 at 6:18 PM, M Pulis wrote: Please do not advise this hack. It is not supported by the Finder. Erm? The Finder very much supports not displaying dot files. And open/save dialogs even support toggling their display (Cmd-Op

Re: Hide an Item on Desktop

2009-10-08 Thread Thomas Wetmore
Dot files have been used by many program, for many years, in all UNIX based systems, for all kinds of reasons. To claim that they are "reserved for the system" is patently false. Just cd around your file system and try a few "ls -a" 's here and there. What has "being supported by the finder

Re: Hide an Item on Desktop

2009-10-08 Thread James Walker
M Pulis wrote: On Oct 8, 2009, at 4:37 PM, I. Savant wrote: On Oct 8, 2009, at 7:24 PM, Maggie Zhang wrote: Does anyone know if it's possible to programmatically hide an single item (e.g. a file or a mounted disk or a directory) from the Desktop? Rename it so that it starts with a period

Re: Hide an Item on Desktop

2009-10-08 Thread Kyle Sluder
On Thu, Oct 8, 2009 at 6:18 PM, M Pulis wrote: > Please do not advise this hack. It is not supported by the Finder. Erm? The Finder very much supports not displaying dot files. And open/save dialogs even support toggling their display (Cmd-Opt-. I believe?) > The Finder does not show nor allow

Re: Hide an Item on Desktop

2009-10-08 Thread M Pulis
On Oct 8, 2009, at 4:37 PM, I. Savant wrote: On Oct 8, 2009, at 7:24 PM, Maggie Zhang wrote: Does anyone know if it's possible to programmatically hide an single item (e.g. a file or a mounted disk or a directory) from the Desktop? Rename it so that it starts with a period. "Dot-files" a

Re: Hardware UUID in New Mac Book Pro

2009-10-08 Thread Rob Keniger
On 09/10/2009, at 12:18 AM, Rajendran P wrote: > How to fetch the Hardware UUID from New Mac Book Pro. Earlier Mac Book's > system Profiler was showing Hardware UUID but in new machines, It might be > hidden or stored in any other form/name. > Is there any command or (c/cpp) api to get that ID?

Re: Cocoaheads Lake Forest (92630) meeting 9/8/2009 at 7 pm on Google Toolkit for Mac

2009-10-08 Thread Scott Ellsworth
On Wed, Oct 7, 2009 at 4:48 PM, Scott Ellsworth wrote: > On Wed, Oct 7, 2009 at 11:54 AM, James Gregurich wrote: >> is the group meeting tonight? I haven't seen a notice go out. > > I had it scheduled for Oct. 14th - second tuesday.  Does this work for you? Sorry - that should have been "Oct 14t

Re: Hide an Item on Desktop

2009-10-08 Thread I. Savant
On Thursday, October 8, 2009, Ken Thomases > Well, there's also the hidden bit in the file's metadata.  It's accessible a > number of ways: > I thought I read somewhere that this isn't always honored. At the least it's not supported on all file systems, I don't believe. Cant find references, t

Re: Hide an Item on Desktop

2009-10-08 Thread Ken Thomases
On Oct 8, 2009, at 6:37 PM, I. Savant wrote: On Oct 8, 2009, at 7:24 PM, Maggie Zhang wrote: Does anyone know if it's possible to programmatically hide an single item (e.g. a file or a mounted disk or a directory) from the Desktop? Rename it so that it starts with a period. "Dot-files" ar

Re: debugging cursors

2009-10-08 Thread Mike Abdullah
On 9 Oct 2009, at 00:01, David M. Cotter wrote: Read the documentation i have extensively read the documentation tell us what you tried (preferably by posting your code), and we might be able to help. i told you: i set the cursor in response to the user pressing enter after editing a text

Re: Hide an Item on Desktop

2009-10-08 Thread I. Savant
On Oct 8, 2009, at 7:24 PM, Maggie Zhang wrote: Does anyone know if it's possible to programmatically hide an single item (e.g. a file or a mounted disk or a directory) from the Desktop? Rename it so that it starts with a period. "Dot-files" are hidden. -- I.S. _

Re: debugging cursors

2009-10-08 Thread I. Savant
On Oct 8, 2009, at 7:01 PM, David M. Cotter wrote: Read the documentation i have extensively read the documentation tell us what you tried (preferably by posting your code), and we might be able to help. i told you: i set the cursor in response to the user pressing enter after editing a te

Re: debugging cursors

2009-10-08 Thread Quincey Morris
On Oct 8, 2009, at 16:01, David M. Cotter wrote: i set the cursor in response to the user pressing enter after editing a text edit. then 1/2 second later, the OS sets it back to an arrow. either ther'es a way to trap that, or there isn't. how do i set a breakpoint on that? There isn't.

Re: app delegate +initialize

2009-10-08 Thread Graham Cox
On 09/10/2009, at 3:20 AM, Fritz Anderson wrote: It's better to initialise your defaults in your app delegate's - applicationWillFinishLaunching: method, since it is called at a completely invariant time during the launch process. Could you clarify? -[AppController applicationWillFinishLaun

Re: debugging cursors

2009-10-08 Thread Dave Keck
Have you tried breaking on NSCursor -set? How about -push? Or SetThemeCursor()? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lis

Hide an Item on Desktop

2009-10-08 Thread Maggie Zhang
Hi, Does anyone know if it's possible to programmatically hide an single item (e.g. a file or a mounted disk or a directory) from the Desktop? Thanks! MZ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moder

Re: Active Read/Write of NSTask

2009-10-08 Thread Ken Thomases
On Oct 6, 2009, at 6:30 PM, Kevin Ferguson wrote: I am running into a problem when the binary to be executed contains a scanf statement. I want the user to see results and type in input in real time (like the debugger for standard C tools in xcode). The issue is that as soon as the task hit

Re: Alert prompts for BetterAuthorizationSample

2009-10-08 Thread Todd Heberlein
I've had trouble with this too, even though my /etc/authorization has *my* strings in it. (I just checked again). I gave up and moved it to my "fix someday" list. Haven't checked in Snow Leopard yet. Here's my story: I found the following bug: In my Snow Leopard created project the p

Re: debugging cursors

2009-10-08 Thread David M. Cotter
Read the documentation i have extensively read the documentation tell us what you tried (preferably by posting your code), and we might be able to help. i told you: i set the cursor in response to the user pressing enter after editing a text edit. then 1/2 second later, the OS sets it bac

Re: Request NSEventTypeFourFingerSwipe

2009-10-08 Thread Andreas Hegenberg
> Have you filed a radar with a use case on why you want to override the > system behavior? > Thanks for your answer! I just wanted the possibility to change the standard behavior because everyone I know is used to cmd+tab instead of 4 finger swipe, cmd+tab is also more powerful because by hitti

Re: NSWorkspaceDidMountNotification not firing on Snow Leopard

2009-10-08 Thread Kevin Bracey
Thank you all for your help, I really couldn't believe something like this could be broken, lol. Ok, I've found the difference: On Leopard : 9/10/09 11:45:31 AM iLike Installer[11553] NSConcreteNotification 0x19d6f0 {name = NSWorkspaceDidMountNotification; object = ; userInfo = { NSDev

Re: debugging cursors

2009-10-08 Thread I. Savant
On Oct 8, 2009, at 5:02 PM, David M. Cotter wrote: sorry, yes. when the user types a number in a box and presses enter, i create a cursor based on that number and set it. one second later, without any of my code running, the OS seems to change the cursor to an arrow. i want to find out w

Re: NSWorkspaceDidMountNotification not firing on Snow Leopard

2009-10-08 Thread Peter Ammon
On Oct 8, 2009, at 1:05 AM, Kevin Bracey wrote: Hi Guys and Gals, I have some Leopard code that works fine, but on Snow it doesn't, hoping someone might have an idea how for fix it ;-) I use an AppleScript to mount a afp tell application "iLike Installer" set holdMountPoin

Re: debugging cursors

2009-10-08 Thread David M. Cotter
Really?? does nobody know how to do this? Likely not, because you're not explaining why. You mention "changed the cursor out from under me" ... is this because you're having some problem in your app? sorry, yes. when the user types a number in a box and presses enter, i create a curso

Re: debugging cursors

2009-10-08 Thread I. Savant
On Oct 8, 2009, at 4:50 PM, David M. Cotter wrote: Really?? does nobody know how to do this? Likely not, because you're not explaining why. You mention "changed the cursor out from under me" ... is this because you're having some problem in your app or do you really want to try changing

Re: debugging cursors

2009-10-08 Thread David M. Cotter
Really?? does nobody know how to do this? On Oct 7, 2009, at 5:57 PM, David M. Cotter wrote: okay what i *really* need to do is override the OS *ever* setting the cursor to arrow eg: [[NSCursor arrowCursor] set]; i want to override that. i need to tell the OS to knock it off. worst ca

Re: NSWorkspaceDidMountNotification not firing on Snow Leopard

2009-10-08 Thread James Walker
Kevin Bracey wrote: anyone got any ideas as to what I could be doing wrong or another way > to listen for an afp to mount? You could try installing a handler for the kEventClassVolume / kEventVolumeMounted Carbon Event. (I'm pretty sure this can be done with parts of the Carbon Event Manager

Re: Request NSEventTypeFourFingerSwipe

2009-10-08 Thread Raleigh Ledet
On Oct 6, 2009, at 8:39 AM, Andreas Hegenberg wrote: Hi! In NSEvent.h those multitouch masks are defined: NSEventMaskGesture = 1 << NSEventTypeGesture, NSEventMaskMagnify = 1 << NSEventTypeMagnify, NSEventMaskSwipe= 1U << NSEventTypeSwipe, NSEventMaskRotate

[MEET] Reminder : LA CocoaHeads TONIGHT 7:30pm

2009-10-08 Thread Rob Ross
Greetings LA CocoaHeads. Tonight, David Hodge will be discussing his experiences with making public transit applications for the iPhone. Starting with iBART and iBART Live in the Bay Area, now "CDTA iRide" that he made on contract for New York state, and a few other related applications. He'll al

Re: NSWorkspaceDidMountNotification not firing on Snow Leopard

2009-10-08 Thread BJ Homer
On Thu, Oct 8, 2009 at 2:39 AM, Dave Keck wrote: > Not sure why it's not working, but if it turns out to be a bug with > NSWorkspace, you might try using the Disk Arbitration framework > instead. See DARegisterDiskAppearedCallback(). Note that there's a difference between "disk appeared" and "d

Re: Two digit dates with NSDateFormatter

2009-10-08 Thread Andreas Mayer
Am 08.10.2009 um 15:07 Uhr schrieb Matthew Lindfield Seager: Am I missing something obvious? Is this a bug? No idea. This works for me: - (IBAction)convertTextToDate:(id)sender { NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; [formatter setLocale:[NSLocale curre

Animate a UIImageView's animatingImages?

2009-10-08 Thread Randall Meadows
Is it possible to apply an animation effect to a UIImageView's animationImages? That is, instead of the images switching in a "hard" fashion, maybe a dissolve transition between them? -- randy ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: How to parse unpredictable date strings [WAS: Two digit dates with NSDateFormatter]

2009-10-08 Thread Nick Zitzmann
On Oct 8, 2009, at 7:32 AM, Matthew Lindfield Seager wrote: Which makes me now ask, how does everyone else parse unpredictable user input? Do I just try one format after another until I get a non-null date (and hope the interpreted date was what the user meant) or do I go back to the "not

Re: app delegate +initialize

2009-10-08 Thread Fritz Anderson
On 7 Oct 2009, at 11:38 PM, Graham Cox wrote: On 08/10/2009, at 2:39 PM, John Baldwin wrote: The AppController has a +initialize method which initializes my user defaults. It's better to initialise your defaults in your app delegate's - applicationWillFinishLaunching: method, since it is c

Re: How to ease the burden on the Garbage Collector?

2009-10-08 Thread Shawn Erickson
On Thu, Oct 8, 2009 at 7:29 AM, Gabriel Zachmann wrote: > I'm writing a simple screensaver that is basically kind of a slide show > screensaver. > (So it loads many images over time, but needs to keep only 2-3 in memory at > any given time.) > > I am using Core Animation for some animations on the

Re: How to ease the burden on the Garbage Collector?

2009-10-08 Thread Bill Bumgarner
On Oct 8, 2009, at 7:29 AM, Gabriel Zachmann wrote: It seems that about 20% of the time is spent in the Garbage Collector thread! Which is a bit surprising to me, since I don't allocate a large number of objects (I think) -- just a small number of large objects (the images). The collec

Re: NSOpenPanel Performance the Second Time

2009-10-08 Thread Corbin Dunn
Tom, Have you used 'Shark' and 'Sample' to figure out why it is slow? Please log a bug (bugreporter.apple.com) if you believe it is slow due to the framework. Please include any samples/shark results, and ideally a test case. corbin On Oct 7, 2009, at 11:01 PM, Thomas Wetmore wrote: > I use th

Re: Autorelease pool

2009-10-08 Thread Negm-Awad Amin
Am Do.,08.10.2009 um 16:36 schrieb Michael Süssner: Hi , thanks a lot for your tips. after having read the bible and some experiments I have learned how to do it correctly. Here the conclusion for the rest of the world: NSMutableArray *vPolyArray = [[NSMutableArray alloc] initWithCapaci

Re: Autorelease pool

2009-10-08 Thread Michael Süssner
Hi , thanks a lot for your tips. after having read the bible and some experiments I have learned how to do it correctly. Here the conclusion for the rest of the world: NSMutableArray *vPolyArray = [[NSMutableArray alloc] initWithCapacity: 6]; vPolygon = [[[PolygonShape alloc] ini

How to ease the burden on the Garbage Collector?

2009-10-08 Thread Gabriel Zachmann
I'm writing a simple screensaver that is basically kind of a slide show screensaver. (So it loads many images over time, but needs to keep only 2-3 in memory at any given time.) I am using Core Animation for some animations on the images. I've just profiled the screensaver under 10.6 using S

Hardware UUID in New Mac Book Pro

2009-10-08 Thread Rajendran P
Hi, How to fetch the Hardware UUID from New Mac Book Pro. Earlier Mac Book's system Profiler was showing Hardware UUID but in new machines, It might be hidden or stored in any other form/name. Is there any command or (c/cpp) api to get that ID? P.Rajendran or Raju (for further det

How to parse unpredictable date strings [WAS: Two digit dates with NSDateFormatter]

2009-10-08 Thread Matthew Lindfield Seager
For some reason I didn't think to test with a style that uses a two digit year. It works as advertised with the short style. The docs say "The earliest date that can be denoted by a two-digit year specifier". I guess that since the medium and long styles don't have a "two-digit year specifier" asso

Re: [MEET] CocoaHeads-NYC tomorrow night, Thu 10/8

2009-10-08 Thread Andy Lee
Breaking news: tonight's meeting will have door prizes generously donated by Apress. --Andy On Oct 7, 2009, at 7:59 PM, Andy Lee wrote: Alex McAuley will give a talk entitled "The Wonders of kqueue." What can I say, the guy really likes kqueue. As usual: (1) Please feel free to bring qu

Binding hidden attribute

2009-10-08 Thread BareFeet
Hi all, I'm trying to hide a tab view item according to the value returned an accessor in my model. My accessor simply returns YES or NO, as per: - (BOOL) schemaIsHidden { return ([type isEqualToString: @"query"] || [type isEqualToString: @"source"]); } In interface builder, in my docum

Re: Strange Core Data problem after upgrade

2009-10-08 Thread Rui Pacheco
Hmmm. My model now has one property that needs no conversion to go from NSTextField to NSNumber and one that does. I'll try to do some more research. 2009/10/8 Volker in Lists > Hi, > > I had to do that in 10.5 - I think - but that is vague memory collected by > my sieve-brain - it wasn't like

Re: Window maxSize different from setMaxSize ???

2009-10-08 Thread Bill Cheeseman
On Oct 7, 2009, at 5:55 PM, Bill Cheeseman wrote: Can somebody explain this to me? It's on Snow Leopard 10.6.1: In my window controller's -windowDidLoad method (or -awakeFromNib): [[self window] setMaxSize:NSMakeSize(800, 800)]; [[self window] maxSize]; // --> {800, 856} OK, duh, it's becaus

Re: Strange Core Data problem after upgrade

2009-10-08 Thread Volker in Lists
Hi, I had to do that in 10.5 - I think - but that is vague memory collected by my sieve-brain - it wasn't like that in 10.4. Volker Am 08.10.2009 um 15:07 schrieb Rui Pacheco: True, that seems to be the problem. Is this new? I've another NSTextField bound to a property of type NSNumber

Re: Strange Core Data problem after upgrade

2009-10-08 Thread Rui Pacheco
True, that seems to be the problem. Is this new? I've another NSTextField bound to a property of type NSNumber that works perfectly and I'm not doing any conversion. The one that works was added while I was still using 10.5 and the one that doesn't was added while using 10.6. 2009/10/8 Volker in L

Re: Two digit dates with NSDateFormatter

2009-10-08 Thread Matthew Lindfield Seager
> > I have a 10.4 style date formatter applied to an NSTextFieldCell. I > call setTwoDigitStartDate: (tried with both the epoch date and the > "reference" date) but when I type a date with a two digit year in it sets > the year to 0009 instead of 2009. Am I missing something obvious? I've conclud

Undo and two NSManagedObjectContexts

2009-10-08 Thread Sebastian Morsch
Hi, following the suggestions of "Efficiently Importing Data" in the Core Data Programming Guide, I use a second MOC (without an undo manager!) to import large amounts of data. While importing, this second MOC is saved and reset every x cycles to reduce memory usage. When done, it's saved

Re: Strange Core Data problem after upgrade

2009-10-08 Thread Volker in Lists
Hi, you need to add a NSNumberFormatter to the text field. Number/String conversion does not happen automatically. Volker Am 08.10.2009 um 13:49 schrieb Rui Pacheco: Hi, Problem A, Yes, all classes are set correctly in the data modeller. Also, regarding problem B, this is getting strange

Re: Strange Core Data problem after upgrade

2009-10-08 Thread Rui Pacheco
Hi, Problem A, Yes, all classes are set correctly in the data modeller. Also, regarding problem B, this is getting stranger. If I set the type of the variable to int 32 in the modeller and NSNumber in the class and then assign it a value using [entity value:forKey] it works just fine. But if I ad

Re: Problem using filewrappers under snow leopard

2009-10-08 Thread Graham Cox
On 08/10/2009, at 8:07 PM, Gabriel Zachmann wrote: Maybe I missed it, but ... are you compiling with Garbage Collection = Supported (or Required) under Snow Leopard? I assumed not since the code is said to run on Tiger. --Graham ___ Cocoa-dev

Re: [Xgrid] GridMandelbrot Sample gone?

2009-10-08 Thread Stefan Wolfrum
P.S.: If somebody needs this sample and doesn't have access to the Leopard Install Disc I'm happy to send it! Just drop me a line. Cheers, Stefan. Am 07.10.2009 um 22:51 schrieb Stefan Wolfrum: Okay, here's the answer (thanks to Knut Lorenzen, author of the excellent (german) book "Mac OS X

Re: Problem using filewrappers under snow leopard

2009-10-08 Thread Gabriel Zachmann
And it is maddening because the error occurs outside my code. My document class implements Maybe I missed it, but ... are you compiling with Garbage Collection = Supported (or Required) under Snow Leopard? Regards, Gabriel. smime.p7s Description: S/MIME cryptographic signature ___

Re: NSWorkspaceDidMountNotification not firing on Snow Leopard

2009-10-08 Thread Dave Keck
Not sure why it's not working, but if it turns out to be a bug with NSWorkspace, you might try using the Disk Arbitration framework instead. See DARegisterDiskAppearedCallback(). ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

NSWorkspaceDidMountNotification not firing on Snow Leopard

2009-10-08 Thread Kevin Bracey
Hi Guys and Gals, I have some Leopard code that works fine, but on Snow it doesn't, hoping someone might have an idea how for fix it ;-) I use an AppleScript to mount a afp tell application "iLike Installer" set holdMountPoint to stringForKey "MountPoint" tel

Re: Session log-out on Snow Leopard

2009-10-08 Thread Etienne Henri
My software is a computer monitoring tool. When the user runs out of time, he is kindly asked to close the session. If he doesn't, the software does... that's why the user should not be able to delay/cancel the log-out. I'll give a shot at Stephen's method. Is there any guarantee that the session

Re: [iPhone] WebView and problem with rotation

2009-10-08 Thread Bartosz Białecki
Hi, I use this in my code: webView.autoresizesSubviews = YES; webView.autoresizingMask = (UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth); but I think there is no any bug in my code, because I created a new project, which has only webview and open any website in it. When I cli

Re: Problems calling a method from an IB-created instance...

2009-10-08 Thread Jonathan Hess
On Oct 5, 2009, at 12:59 PM, Jeff Diamond wrote: This concept is so fundamental, but I've seen no specific docs about it, and I haven't succeeded with this after almost 2 years of trying an reading every tutorial and mail list on the web. As near as I understand it, what Cocoa calls "outl