Re: Spin Progress Indicator is not spinning

2008-11-06 Thread Nathan Kinsinger
On Nov 3, 2008, at 7:39 PM, Rashmi Vyshnavi wrote: Hi all, I am setting a custom view containing a label and spin style progress indicator. I want the progress indicator to spin when the menu is popped up (similar to AirPort Menu). The progess indicator does not spin though I call startAnim

How can I use NSTextField like a button?

2008-11-06 Thread Ulf Dunkel
I want to use some kind of URL text in a dialog, which the users can click on and which should then open the browser with a specific URL. Here is an example of how it should look like: http://man.icalamus.net/fr/img/menu/about_unregistered.gif I used an NSTextField with blue text and connected

Re: How can I use NSTextField like a button?

2008-11-06 Thread Ron Fleckner
On 06/11/2008, at 8:32 PM, Ulf Dunkel wrote: I want to use some kind of URL text in a dialog, which the users can click on and which should then open the browser with a specific URL. Here is an example of how it should look like: http://man.icalamus.net/fr/img/menu/about_unregistered.gif I

Re: Enumerating outlets automatically?

2008-11-06 Thread Andy Lee
On Nov 6, 2008, at 12:13 AM, Graham Cox wrote: [myOutlet1 setEnabled:NO]; [myOutlet2 setEnabled:NO]; ... etc for another several dozen outlets ... If I could get a list of outlets How about using introspection to get the ivars and see which ones are objects that respond to -setEnabled:? --

Two-way connection with NSConnection

2008-11-06 Thread Stefan Hafeneger
Hi, I would like to set up a two way connection between processes using NSConnection. I currently have solved this vending an object in each process. Now someone proposed to send self as a parameter using the rootProxy to the vendor. This works, but I doubt that this is the best solutions

Re: Two-way connection with NSConnection

2008-11-06 Thread Jean-Daniel Dupas
Le 6 nov. 08 à 12:12, Stefan Hafeneger a écrit : Hi, I would like to set up a two way connection between processes using NSConnection. I currently have solved this vending an object in each process. Now someone proposed to send self as a parameter using the rootProxy to the vendor. This w

Re: NSTableView highlited text color

2008-11-06 Thread Andre Masse
Thanks for the idea, Andre Masse On Nov 5, 2008, at 21:38, Dave Fernandes wrote: As yet another way to do this, you can subclass the NSTableView and override drawRow: clipRect: Here's my code to give a background color to expandable rows in an outline view (like in Mail.app). // Overr

Re: NSTimer issue

2008-11-06 Thread Daniel Luis dos Santos
You already answered your own question. If you see two different values for 'self' for two objects of your view subclass then of course there are two instances. The NIB file has a window taken from the pallete, where I have dropped a button and a generic NSView both from the pallete. O

Re: Two-way connection with NSConnection

2008-11-06 Thread Stefan Hafeneger
I've checked it again. The class name is still the one of the original object, but the class itself is NSDistributedObject. So it's exactly what I wanted. With best wishes, Stefan Am 06.11.2008 um 12:24 schrieb Jean-Daniel Dupas: Le 6 nov. 08 à 12:12, Stefan Hafeneger a écrit : Hi, I w

Issue with the downloading url

2008-11-06 Thread Arnab Ganguly
Hi All, My requirement is to download the html file in my machine.I am trying to execute the below code,it gets executed correctly but when I go to the /tmp dir I don't see any file getting downloaded.Any help would be very much appreciated. NSURLRequest *theRequest=[NSURLRequest requestWithURL:[

Re: Issue with the downloading url

2008-11-06 Thread Jean-Daniel Dupas
Le 6 nov. 08 à 15:02, Arnab Ganguly a écrit : Hi All, My requirement is to download the html file in my machine.I am trying to execute the below code,it gets executed correctly but when I go to the /tmp dir I don't see any file getting downloaded.Any help would be very much appreciated.

Re: Two-way connection with NSConnection

2008-11-06 Thread Stefan Hafeneger
Hi, Okay that's what I wanted to hear. But still the object class(name) on the receiver (= server) side is not NSDistantObject but the original one. With best wishes, Stefan Am 06.11.2008 um 12:24 schrieb Jean-Daniel Dupas: Le 6 nov. 08 à 12:12, Stefan Hafeneger a écrit : Hi, I would

Re: Core data, NSArrayController and different nibs

2008-11-06 Thread Cathy Shive
On Nov 6, 2008, at 8:50 AM, Tomaž Kragelj wrote: It looked so trivial at the start, but didn't work as expected - my single window application uses the following setup: - MainMenu.nib: my AppController and all the NSArrayControllers with bindings set properly so when an item is selected in

Re: Enumerating outlets automatically?

2008-11-06 Thread Matt Neuburg
On Thu, 6 Nov 2008 16:13:52 +1100, Graham Cox <[EMAIL PROTECTED]> said: >Is there a way to enumerate the outlets of an object automatically? > >In a certain type of controller object I'm finding I'm writing a lot >of code like this: > >[myOutlet1 setEnabled:NO]; >[myOutlet2 setEnabled:NO]; >... etc

Re: Two-way connection with NSConnection

2008-11-06 Thread Michael Ash
On Thu, Nov 6, 2008 at 6:38 AM, Stefan Hafeneger <[EMAIL PROTECTED]> wrote: > I've checked it again. The class name is still the one of the original > object, but the class itself is NSDistributedObject. So it's exactly what I > wanted. And in fact it must be. The same object cannot exist in two d

Re: Issue with the downloading url

2008-11-06 Thread Arnab Ganguly
I am trying out the following NSURL *url = [NSURL URLWithString:@" http://yp.shoutcast.com/sbin/tunein-station.pls?id=9907";]; NSData *data = [NSData dataWithContentsOfURL:URL]; [data writeToFile:@"/tmp/station.pls" atomically:YES]; But unfortunately no such files gets generat

Re: Enumerating outlets automatically?

2008-11-06 Thread Michael Ash
On Thu, Nov 6, 2008 at 12:13 AM, Graham Cox <[EMAIL PROTECTED]> wrote: > Is there a way to enumerate the outlets of an object automatically? > > In a certain type of controller object I'm finding I'm writing a lot of code > like this: > > [myOutlet1 setEnabled:NO]; > [myOutlet2 setEnabled:NO]; > ..

10.4 square button backgrounds go white when clicked

2008-11-06 Thread Matthew Mashyna
I have some square buttons along the top of a textured window. The window does not have an NSToolbar. These buttons have images (pngs) with transparent backgrounds on them. When I click on them on 10.5 they darken and look good. On 10.4 the backgrounds turn white and look bad. iTunes doesn'

Re: [Q] How to add nested items to NSOutlineView?

2008-11-06 Thread JongAm Park
Thank you for your answer. I found same question asked by other person in Cocoa mailing list. http://www.cocoabuilder.com/archive/message/cocoa/2008/4/7/203440 and an answer refers http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaBindings/Concepts/Troubleshooting.html#//apple_ref

Re: Issue with the downloading url

2008-11-06 Thread Jean-Daniel Dupas
I don't know why it does not works using [NSData dataWithContentsOfURL:URL] but if you want to do some http download, you should use the modern URL Loading API. NSError *error; NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://yp.shoutcast.com/sbin/tunei

Re: Enumerating outlets automatically?

2008-11-06 Thread Andy Lee
On Nov 6, 2008, at 11:27 AM, Michael Ash wrote: On Thu, Nov 6, 2008 at 12:13 AM, Graham Cox <[EMAIL PROTECTED]> wrote: Is there a way to enumerate the outlets of an object automatically? In a certain type of controller object I'm finding I'm writing a lot of code like this: [myOutlet1 setE

Authorization and removing folders

2008-11-06 Thread Glover,David
Hi all, I need to remove a folder from within /Applications/OurCompany, so I'm using Authorization Services to get Admin rights, and then using removeFileAtPath to remove the folder. When I'm logged on as admin, this works perfectly fine. When I'm logged in as a standard user, I authentica

dragging an image to Photoshop dock tile

2008-11-06 Thread Jeffrey Goines
hello everybody, I've got a custom view from which I can copy and in Photoshop I'm able to paste when having some document open. However I'm not able to copy using a drag operation to the Photoshop dock tile. Could this be because Ps doesn't take image data this way but only file handles? If so,

How to convert NSString to wstrings?

2008-11-06 Thread Arun
Hi All, what is the best way of converting NSString into wstring? Thanks in advance Arun KA ___ 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

Re: [Q] How to add nested items to NSOutlineView?

2008-11-06 Thread JongAm Park
Thank you Mr. Stiglitz. It worked!!! :) My original code accessed interested items in a data source using objectForKey:. I think it is also KVO compliant call. And the data items in the data source were all mutable types. So, the objectForKey also returned a mutable array, but it didn't work.

Re: Authorization and removing folders

2008-11-06 Thread Jason Coco
On Nov 6, 2008, at 12:20 , Glover,David wrote: Hi all, I need to remove a folder from within /Applications/OurCompany, so I'm using Authorization Services to get Admin rights, and then using removeFileAtPath to remove the folder. When I'm logged on as admin, this works perfectly fine. Wh

Re: Core data, NSArrayController and different nibs

2008-11-06 Thread Quincey Morris
On Nov 5, 2008, at 23:50, Tomaž Kragelj wrote: - MainMenu.nib: my AppController and all the NSArrayControllers with bindings set properly so when an item is selected in the master controller, it's details are handled by children controllers (all data comes from managed context). - MainWindo

Re: Enumerating outlets automatically?

2008-11-06 Thread Michael Ash
On Thu, Nov 6, 2008 at 12:15 PM, Andy Lee <[EMAIL PROTECTED]> wrote: > On Nov 6, 2008, at 11:27 AM, Michael Ash wrote: >> >> On Thu, Nov 6, 2008 at 12:13 AM, Graham Cox <[EMAIL PROTECTED]> >> wrote: >>> >>> Is there a way to enumerate the outlets of an object automatically? >>> >>> In a certain typ

Re: How to convert NSString to wstrings?

2008-11-06 Thread Jason Coco
On Nov 6, 2008, at 12:34 , Arun wrote: Hi All, what is the best way of converting NSString into wstring? I've never used mbstowcs() type functions, but I would imagine that's how you would do it. First, convert the NSString to a C string with the appropriate encoding, then use mbstowcs w

Re: How to convert NSString to wstrings?

2008-11-06 Thread Dave Carrigan
On Nov 6, 2008, at 9:34 AM, Arun wrote: what is the best way of converting NSString into wstring? Have a look at the -cStringUsingEncoding selector. -- Dave Carrigan [EMAIL PROTECTED] Seattle, WA, USA PGP.sig Description: This is a digitally signed message part ___

Re: How to convert NSString to wstrings?

2008-11-06 Thread Charles Steinman
Google is your friend: http://www.google.com/search?client=safari&rls=en&q=nsstring+wstring&ie=UTF-8&oe=UTF-8 Cheers, Chuck - Original Message > From: Arun <[EMAIL PROTECTED]> > To: cocoa-dev@lists.apple.com > Sent: Thursday, November 6, 2008 9:34:52 AM > Subject: How to convert NSStri

Re: Enumerating outlets automatically?

2008-11-06 Thread Erik Buck
See http://www.cocoabuilder.com/archive/message/cocoa/2002/6/16/69399   Just put an array in you nib.  Connect all of the objects of interest to the array.  In you controller code, use one outlet to the array. ___ Cocoa-dev mailing list (Cocoa-dev@lists

A finished moving notification for a window?

2008-11-06 Thread Eric Gorr
I am looking to get a notification when a window has finished moving after a user has clicked in the title bar, dragged the window with the mouse, and released the mouse. I thought this is what windowDidMove would do, but this notification can be sent while the mouse button is still down.

Re: Enumerating outlets automatically?

2008-11-06 Thread Andy Lee
On Nov 6, 2008, at 12:50 PM, Michael Ash wrote: On Thu, Nov 6, 2008 at 12:15 PM, Andy Lee <[EMAIL PROTECTED]> wrote: Lastly, you could write a proxy object, put it in your nib, and hook up all of the outlets to it instead. The proxy would intercept all setFoo: messages by forwarding them to you

Re: A finished moving notification for a window?

2008-11-06 Thread Eric Gorr
On Nov 6, 2008, at 1:52 PM, Eric Gorr wrote: It looks like the only way to get the behavior I want is to subclass NSWindow and override the mouse movement functions for the NSResponder. Well, this just got a little more complicated. The window does not mouseDown or mouseUp events if the u

Re: dragging an image to Photoshop dock tile

2008-11-06 Thread Nick Zitzmann
On Nov 6, 2008, at 10:15 AM, Jeffrey Goines wrote: However I'm not able to copy using a drag operation to the Photoshop dock tile. Could this be because Ps doesn't take image data this way but only file handles? The Dock only takes file drags, and only when the application declares s

About OS Shutting down / Restarting

2008-11-06 Thread Maggie Zhang
Is there any Mac OS API that will tell whether the OS is shutting down or restarting? Thanks, - JJ ___ 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 coco

Non standard shape(rectangle) window

2008-11-06 Thread tianshanxue
Dows anyone know how to create non statdard shape window? ___ 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)lists.apple.com Help/Uns

Re: About OS Shutting down / Restarting

2008-11-06 Thread Jason Coco
On Nov 5, 2008, at 20:40 , Maggie Zhang wrote: Is there any Mac OS API that will tell whether the OS is shutting down or restarting? Yes, but it depends on what you want to do... the basic API is in the User Space portion of the IOKit Framework. See this tech q&a and the IOKit Framework

Re: Non standard shape(rectangle) window

2008-11-06 Thread Jason Coco
On Nov 6, 2008, at 00:32 , tianshanxue wrote: Dows anyone know how to create non statdard shape window? The window server always creates your drawing area as a frame (rectangle) but that doesn't mean you have to draw a frame. If you want to draw something non-standard you will have to cre

Re: Non standard shape(rectangle) window

2008-11-06 Thread I. Savant
On Thu, Nov 6, 2008 at 12:32 AM, tianshanxue <[EMAIL PROTECTED]> wrote: > Dows anyone know how to create non statdard shape window? http://developer.apple.com/samplecode/RoundTransparentWindow/ -- I.S. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple

Re: dragging an image to Photoshop dock tile

2008-11-06 Thread Jeffrey Goines
On Thu, Nov 6, 2008 at 9:02 PM, Nick Zitzmann <[EMAIL PROTECTED]> wrote: > The Dock only takes file drags, and only when the application declares > support for the type of dragged file (unless Option is held down). So I guess > you could do this by starting a file drag, but that would be pretty

Re: Non standard shape(rectangle) window

2008-11-06 Thread Jason Coco
On Nov 6, 2008, at 15:24 , I. Savant wrote: On Thu, Nov 6, 2008 at 12:32 AM, tianshanxue <[EMAIL PROTECTED] > wrote: Dows anyone know how to create non statdard shape window? http://developer.apple.com/samplecode/RoundTransparentWindow/ I wish that I had your mastery of Brevity :) Do you

Re: Non standard shape(rectangle) window

2008-11-06 Thread I. Savant
On Thu, Nov 6, 2008 at 3:31 PM, Jason Coco <[EMAIL PROTECTED]> wrote: > I wish that I had your mastery of Brevity :) Do you take new padawan > learners? No.* -- I.S. * ... ;-) ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not po

Re: Cocoa-dev Digest, Vol 5, Issue 1904

2008-11-06 Thread [EMAIL PROTECTED]
At 12:02 PM -0800 11/6/08, ic wrote: Date: Thu, 6 Nov 2008 14:20:08 -0500 From: Eric Gorr <[EMAIL PROTECTED]> Subject: Re: A finished moving notification for a window? To: Cocoa Dev Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes On Nov 6,

Re: dragging an image to Photoshop dock tile

2008-11-06 Thread Nick Zitzmann
On Nov 6, 2008, at 1:27 PM, Jeffrey Goines wrote: Then I don't understand why Preview.app is taking the image through a drag to its dock tile. It's because I gave you obsolete information. Sorry 'bout that... Looking at things a little deeper, it appears that dragging a pasteboard to the

Re: Enumerating outlets automatically?

2008-11-06 Thread Boyd Collier
With some trepidation resulting from my lack of expertise, especially relative to those who have already offered suggestions, here is bit of code showing (a somewhat simplified version of) what I do. "self" in the next-to-last line refers to a controller. In the header for the controller,

Re: About OS Shutting down / Restarting

2008-11-06 Thread Maggie Zhang
Thank you for your help, Jason. Our program will try to do the following things: If restart is selected, our program will programatically restart the computer. If shutdown is selected, we will let the system shutdown in its own way. Therefore, we need to find a way to tell whether the computer is

image in CoreData

2008-11-06 Thread Georg Seifert
hello I have a NSCollectionView populated with bindings. I want to show images witch are generated dynamically. I do not want to store those images in CoreData (at least not written to disk). should I use an extra dictionary? Or subclass my entity? any suggestion is welcome Georg

sourceView subnodes from CoreDate

2008-11-06 Thread Georg Seifert
Hello, I have a OurlineView/SourceView similar to iTunes. I want to implement playlists. I use CoreData and bidings for my Data. Is it possible to only store the content of one (top)node of the SourceView (populated with a NSTreeController) in CoreData? Or what would be a good solution to

Re: SecKeyGeneratePair export Public Key and OpenSSL API

2008-11-06 Thread Nicko van Someren
On 4 Nov 2008, at 15:59, Jacopo Mangiavacchi wrote: I need to export a public key generated with the SecKeyGeneratePair API and send it to a WebServices (written in PHP) that using the OpenSSL API must encrypt something using this key and return back the ciphered value to the cocoa client.

IKImageBrowserView scrolling with core animation

2008-11-06 Thread Dan Treiman
I'm having some trouble with an IKImageBrowserView in a layer-backed NSScrollView. Everything works fine when the scrollers are hidden, but as soon as I have too many images to fit in the view, it gets confused. Specifically, when I scroll all the way to the bottom, I see my last row of i

Re: A finished moving notification for a window?

2008-11-06 Thread [EMAIL PROTECTED]
At 4:35 PM -0500 11/6/08, Eric Gorr wrote: On Nov 6, 2008, at 3:29 PM, [EMAIL PROTECTED] wrote: At 12:02 PM -0800 11/6/08, ic wrote: Date: Thu, 6 Nov 2008 14:20:08 -0500 From: Eric Gorr <[EMAIL PROTECTED]> Subject: Re: A finished moving notification for a window? To: Cocoa Dev Message-ID: <[

Re: image in CoreData

2008-11-06 Thread I. Savant
On Thu, Nov 6, 2008 at 1:09 PM, Georg Seifert <[EMAIL PROTECTED]> wrote: > I have a NSCollectionView populated with bindings. I want to show images > witch are generated dynamically. I do not want to store those images in > CoreData (at least not written to disk). > > should I use an extra diction

Re: BonjourSample from Hillegass (Advanced Mac OS X Programming)

2008-11-06 Thread Aaron Hillegass
I'm very sorry about the bug in the Bonjour example. I've put an updated solution here: http://weblog.bignerdranch.com/ChatterExample.zip Sincerely, Aaron Hillegass Big Nerd Ranch, Inc. [EMAIL PROTECTED] I just tried out the Bonjour sample (chapter 19) from the Hillegass/ Dalrymple Boo

Re: A finished moving notification for a window?

2008-11-06 Thread Eric Gorr
On Nov 6, 2008, at 4:50 PM, [EMAIL PROTECTED] wrote: At 4:35 PM -0500 11/6/08, Eric Gorr wrote: How, exactly, did you do this? I have tried a couple of different things, but nothing seems to be working. If it matters (and I don't see why it should), I actually have a NSPanel. In my del

Re: A finished moving notification for a window?

2008-11-06 Thread [EMAIL PROTECTED]
At 5:25 PM -0500 11/6/08, Eric Gorr wrote: Apparently, NSPanel's don't get NSWindowWillMoveNotification's - at least I am not getting them in 10.5. Perhaps a bug? don't know. file a radar bug and see what response you get. ken ___ Cocoa-dev mailin

NSThread Crashes on Intel

2008-11-06 Thread Mr. Gecko
Hello I am working on a program that uses threads to add some multi tasking function to it and it works perfect on my PPC machine, but on every intel based machine that my friends use crashes. the crash report says that it is with this function below + (void)connectWithPorts:(NSArray *)portA

How to get a list of all known file types?

2008-11-06 Thread Chris Idou
How does one obtain a list of all the UTI file types known to the system? And then for a given UTI, how does one obtain a human readable representation of it? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin re

Re: How to get a list of all known file types?

2008-11-06 Thread j o a r
On Nov 6, 2008, at 4:00 PM, Chris Idou wrote: How does one obtain a list of all the UTI file types known to the system? And then for a given UTI, how does one obtain a human readable representation of it? Have you checked here?

Re: How to get a list of all known file types?

2008-11-06 Thread Chris Idou
Sure, I read it. Can you see an API giving all known file types? Can you see a mention of human readable descriptions? I can't, but it wouldn't be the first time I have selective blindness. --- On Thu, 11/6/08, j o a r <[EMAIL PROTECTED]> wrote: > From: j o a r <[EMAIL PROTECTED]> > Subject:

Re: How to get a list of all known file types?

2008-11-06 Thread j o a r
On Nov 6, 2008, at 4:21 PM, Chris Idou wrote: Sure, I read it. Can you see an API giving all known file types? Can you see a mention of human readable descriptions? I can't, but it wouldn't be the first time I have selective blindness. I don't know the answer to the former, but the huma

Re: How to get a list of all known file types?

2008-11-06 Thread Chris Idou
I've got an app which is matching on file types, so I want the user to be able to say "show me all the... say... MS-Word documents, or JPeg images" or whatever. So I need to present the user with all the possible types their system knows about, so they can select what files they are interested

Re: Non standard shape(rectangle) window

2008-11-06 Thread tianshanxue
I. Savant 写道: On Thu, Nov 6, 2008 at 12:32 AM, tianshanxue <[EMAIL PROTECTED]> wrote: Dows anyone know how to create non statdard shape window? http://developer.apple.com/samplecode/RoundTransparentWindow/ -- I.S. Thanks a lot, I get it. __

Re: How to get a list of all known file types?

2008-11-06 Thread Phil
On Fri, Nov 7, 2008 at 2:12 PM, Chris Idou <[EMAIL PROTECTED]> wrote: > > I've got an app which is matching on file types, so I want the user to be > able to say "show me all the... say... MS-Word documents, or JPeg images" or > whatever. So I need to present the user with all the possible types

Re: A finished moving notification for a window?

2008-11-06 Thread Eric Gorr
On Nov 6, 2008, at 5:38 PM, [EMAIL PROTECTED] wrote: At 5:25 PM -0500 11/6/08, Eric Gorr wrote: Apparently, NSPanel's don't get NSWindowWillMoveNotification's - at least I am not getting them in 10.5. Perhaps a bug? don't know. file a radar bug and see what response you get. It looks li

Converting CGPath from CGImageRef

2008-11-06 Thread Development
Is there a way to convert a Bitmap image or Image mask (created as a CGImageRef) into a Path (opaque CGPath)? I have been using masks and images as way to handle selection areas in a drawing program. It works fine for fills and other operations, but the dotted outline of a CGPath looks bett

Stop Power to USB port

2008-11-06 Thread Pierce Freeman
Hi everyone. I am working on a project that involves when a USB port is requesting a certain amount of energy, it will shut it off (and then turn it on if the user says it is okay). I have gotten the first part done (checking if the port is using to much power) but I have not figured out to shu

Re: Stop Power to USB port

2008-11-06 Thread Rob Keniger
On 07/11/2008, at 2:44 PM, Pierce Freeman wrote: I am working on a project that involves when a USB port is requesting a certain amount of energy, it will shut it off (and then turn it on if the user says it is okay). I have gotten the first part done (checking if the port is using to mu

Re: Enumerating outlets automatically?

2008-11-06 Thread Michael Ash
On Thu, Nov 6, 2008 at 2:16 PM, Andy Lee <[EMAIL PROTECTED]> wrote: > Ah, I see. When you said setFoo: I was thinking of the setEnabled: message > that Graham wanted to send to all the objects, but you meant the > setMyOutlet1:, setMyOutlet2:, etc. messages that are (we think) sent when > the nib

Re: NSThread Crashes on Intel

2008-11-06 Thread Mr. Gecko
Tried that and still crashes. Here is the crash report if it helps Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0xc023 Crashed Thread: 1 Thread 0: 0 libSystem.B.dylib 0x967414a6 mach_msg_trap + 10 1 libSystem.B.dylib

Re: Stop Power to USB port

2008-11-06 Thread Pierce Freeman
Okay, I will place it there. :) Sincerely, Pierce F. On 11/6/08 9:08 PM, "Rob Keniger" <[EMAIL PROTECTED]> wrote: > > On 07/11/2008, at 2:44 PM, Pierce Freeman wrote: > >> I am working on a project that involves when a USB port is >> requesting a >> certain amount of energy, it will shut it

Re: Dual screen problems

2008-11-06 Thread Tverdokhleb Andrey
Here is project to demonstrate the bug and inside is the only workaround I've managed to find so far. www.raw-photo-processor.com/Dev/NSImageBug.zip The issue seems to be a really bad one and looks like it affects pretty much everybody. Please check if you can reproduce it and post your fi

Re: Converting CGPath from CGImageRef

2008-11-06 Thread Charles Steinman
--- On Thu, 11/6/08, Development <[EMAIL PROTECTED]> wrote: > I have been using masks and images as way to handle > selection areas in a drawing program. It works fine for > fills and other operations, but the dotted outline of a > CGPath looks better as a selection. Andy Finnell wrote a couple o

Core Data and NSNumber values

2008-11-06 Thread HAMILTON, Steven
Hi folks, I think I'm missing something with Core Data. Value attributes always appear to be stored as an NSNumber with the exception of Decimal types which are stored as NSDecimalNumber. If I choose an attribute to be INT64 then this type doesn't seem to be enforced. I can store any valid NSNum

kMDItemKind (was: How to get a list of all known file types?)

2008-11-06 Thread Chris Idou
What is and where can you get the descriptions that are found in Spotlight's kMDItemKind attribute? They don't seem to be the same ones that UTTypeCopyDescription returns. I printed out all the built in UTTypeCopyDescription descriptions for built in UTIs, and they don't have more than a pass

Re: Core data, NSArrayController and different nibs

2008-11-06 Thread Tomaž Kragelj
On 6.11.2008, at 11:45, Cathy Shive wrote: On Nov 6, 2008, at 8:50 AM, Tomaž Kragelj wrote: It looked so trivial at the start, but didn't work as expected - my single window application uses the following setup: - MainMenu.nib: my AppController and all the NSArrayControllers with binding

Re: Core Data and NSNumber values

2008-11-06 Thread Quincey Morris
On Nov 6, 2008, at 21:23, HAMILTON, Steven wrote: I think I'm missing something with Core Data. Value attributes always appear to be stored as an NSNumber with the exception of Decimal types which are stored as NSDecimalNumber. If I choose an attribute to be INT64 then this type doesn't see