Re: CIRotatingCubeTransition

2008-08-25 Thread Michael Vannorsdel
Just start at inputTime 1.0 and increment down to 0.0. This will rotate opposite from 0.0 to 1.0. On Aug 25, 2008, at 11:42 PM, Seth Willits wrote: CIRotatingCubeTransition is semi-public which confuses me. IB3 exposes it, but it otherwise seems to be private. I'd like to change the dire

Icon in NSComboBoxCell menu item

2008-08-25 Thread Ivan C Myrvold
Is it possible to have icon in the menu item of an NSComboBox cell? Ivan ___ 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.ap

Re: call "setContentBorderThickness:forEdge:" in Tiger

2008-08-25 Thread Jonathan Hess
On Aug 25, 2008, at 12:22 PM, Georg Seifert wrote: Hello, I have a problem: - (id)initWithContentRect:(NSRect)contentRect styleMask: (unsigned int)windowStyle backing:(NSBackingStoreType)bufferingType defer: (BOOL)deferCreation { BOOL useTextured = YES; if([self respondsToSelecto

CIRotatingCubeTransition

2008-08-25 Thread Seth Willits
CIRotatingCubeTransition is semi-public which confuses me. IB3 exposes it, but it otherwise seems to be private. I'd like to change the direction of the rotation, but I don't see any way to do it. (Public or private.) The only input keys are inputImage, inputTargetImage, inputExtent, and

Re: call "setContentBorderThickness:forEdge:" in Tiger

2008-08-25 Thread Shawn Erickson
On Mon, Aug 25, 2008 at 10:17 PM, Georg Seifert <[EMAIL PROTECTED]> wrote: > Hi Matt, > > Your code does the same than mine. The code in question is called only on > Leopard. But the problem occurs only there. Is seem that if you have > compiled against 10.4 you cannot call functions from the 10.5

Re: call "setContentBorderThickness:forEdge:" in Tiger

2008-08-25 Thread Georg Seifert
Hi Matt, Your code does the same than mine. The code in question is called only on Leopard. But the problem occurs only there. Is seem that if you have compiled against 10.4 you cannot call functions from the 10.5 SDK Is there some compatibility build setting or something else? Georg

Re: Semi-transparent, blurred NSWindow background?

2008-08-25 Thread Kyle Sluder
On Mon, Aug 25, 2008 at 7:52 PM, Graham Cox <[EMAIL PROTECTED]> wrote: > A public API for this would mean that every man and his dog will be adding > blurring because it's "cool" without thinking about what it *means*. It's > going to be the brushed metal of the next few OS revs I fear. Better ask

Re: Core Data Bindings with Table View

2008-08-25 Thread Kyle Sluder
On Mon, Aug 25, 2008 at 7:04 PM, John Joyce <[EMAIL PROTECTED]> wrote: > With properties, specifically, there should be some sort of built in NSLog > option, just for those cases where somebody needs to find out if a setter or > getter is even getting called... Why not just set a breakpoint? Or,

core data hanging

2008-08-25 Thread Chris Idou
I've got a really simple application of core data. It's a document based application, but its not a NSPersistentDocument, because I have an opaque bundle/directory data format and the core data is only a tiny part of it. Its hanging on the call to: persistentStore = [persistentStoreCoordinator

Re: Semi-transparent, blurred NSWindow background?

2008-08-25 Thread Michael Ash
On Mon, Aug 25, 2008 at 7:52 PM, Graham Cox <[EMAIL PROTECTED]> wrote: > A public API for this would mean that every man and his dog will be adding > blurring because it's "cool" without thinking about what it *means*. It's > going to be the brushed metal of the next few OS revs I fear. The same b

Re: error: invalid lvalue in assignment

2008-08-25 Thread Ken Thomases
On Aug 25, 2008, at 6:25 PM, Don Arnel wrote: I tried to modify the "position" property in another file after creating an object but I get this error: obj.position.x += 1.0; (x error: invalid lvalue in assignment) The above is equivalent to: [obj postion].x += 1.0;

Re: Help converting NSFilePosixPermissions to Octal representation

2008-08-25 Thread Michael Ash
On Mon, Aug 25, 2008 at 4:48 PM, Nate Weaver <[EMAIL PROTECTED]> wrote: > Addendum: I guess the format should actually be %O (unsigned long) instead > of %o (unsigned int) since it's defined as an unsigned long, though the > upper bits probably won't be filled at all. The problem is not whether th

Re: Built Menu not firing the action

2008-08-25 Thread Peter Ammon
Hi Steve, There are lots of ways to debug this. Try listening for NSMenuWillSendActionNotification to see if the menu is actually sending an action. Override [NSApp sendAction:to:from:] to see what actions are sent, and to which object. Override [NSMenu performActionForItemAtIndex:] to

error: invalid lvalue in assignment

2008-08-25 Thread Don Arnel
Hello everyone! I'm having a problem using a property for one of my custom class objects. I have a class like this: INTERFACE (MyObject.h): --- typedef struct { float x; float y; } Vector2D; @interface myObject : NSObject { Vector2D

Cocoa newbie, activeDocumentChanged, crashes

2008-08-25 Thread Ryan Lovett
Hi, I'm writing my first Cocoa app and have come across a problem in trying to implement an Inspector window within a Document-based application. I found an example of this at http://homepage.mac.com/mmalc/CocoaExamples/controllers.html in the BindingsDocumentInspector.zip project which is based

Re: Problems running bannersample example project.

2008-08-25 Thread Patrick Neave
Charles, There is an issue with Leopard and the bannersample. Here is the fix which should get you going. Edit the BannerController.m with the following code... + (void)enableCanBecomeVisibleWithoutLogin:(NSWindow *)targetWindow { if ([targetWindow respondsToSelector:@selector(setCan

Re: Lazy Loading Archive

2008-08-25 Thread Graff
On Aug 25, 2008, at 8:26 PM, Graham Cox wrote: On 25 Aug 2008, at 11:56 pm, Graff wrote: I have a large class I'm archiving that I would like to lazy-load. It's basically a wrapper around a NSArray and what I'd like to do is load some instance variables but leave the array archived until

Re: Lazy Loading Archive

2008-08-25 Thread Graff
On Aug 25, 2008, at 2:05 PM, Shawn Erickson wrote: On Mon, Aug 25, 2008 at 6:56 AM, Graff <[EMAIL PROTECTED]> wrote: I have a large class I'm archiving that I would like to lazy-load. It's basically a wrapper around a NSArray and what I'd like to do is load some instance variables but leave

10.5 and root proxies

2008-08-25 Thread Michael Nickerson
Hey all, I'm running into a strange problem with root proxies in 10.5. I have been tracking down memory leaks in my app, and it seems that +rootProxyForConnectionWithRegisteredName:host: has been changed in 10.5 to return the root proxy retained rather than autoreleased. I haven't seen

Re: Lazy Loading Archive

2008-08-25 Thread Graham Cox
On 25 Aug 2008, at 11:56 pm, Graff wrote: I have a large class I'm archiving that I would like to lazy-load. It's basically a wrapper around a NSArray and what I'd like to do is load some instance variables but leave the array archived until a later time in order to save time and memory.

Re: Semi-transparent, blurred NSWindow background?

2008-08-25 Thread Graham Cox
On 26 Aug 2008, at 8:00 am, Jonathan Dann wrote: Using the private APIs / the method that Rob showed is perfectly fast. I'd really like this made easier too, so I filed an enhancement request rdar://6174287 Is it possible to file a de-enhancement request? ;-) Am I the only one mystifie

Re: attributesOfItemAtPath problem

2008-08-25 Thread Andy Lee
On Aug 25, 2008, at 6:28 PM, John elemans wrote: discAttributesDictionary = [anNSFileManager attributesOfItemAtPath:thePath error:&theError]; is returning a dictionary of file properties, but the file size is always 264 and the other values are also wrong. How do you know? Are you print

attributesOfItemAtPath problem

2008-08-25 Thread John elemans
The call; discAttributesDictionary = [anNSFileManager attributesOfItemAtPath:thePath error:&theError]; is returning a dictionary of file properties, but the file size is always 264 and the other values are also wrong. 'theError' is nil. The path is correct because I can open and read th

Re: call "setContentBorderThickness:forEdge:" in Tiger

2008-08-25 Thread Shawn Erickson
On Mon, Aug 25, 2008 at 3:14 PM, Matt Ball <[EMAIL PROTECTED]> wrote: > Hi Georg, > > How about doing something like this? (typed in Mail, so check for > typos). Using the preprocessor macros should also be a *bit* more > efficient, since it won't be doing any checks at runtime. > > { > #if MAC_OS_

Re: call "setContentBorderThickness:forEdge:" in Tiger

2008-08-25 Thread Matt Ball
Hi Georg, How about doing something like this? (typed in Mail, so check for typos). Using the preprocessor macros should also be a *bit* more efficient, since it won't be doing any checks at runtime. { #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 windowStyle ^= NSTexturedBackgroundWi

Re: Semi-transparent, blurred NSWindow background?

2008-08-25 Thread Jonathan Dann
On 25 Aug 2008, at 21:51, Seth Willits wrote: On Aug 25, 2008, at 1:33 PM, Ricky Sharp wrote: There isn't a particularly fast way to do this, although I have experimented with it a bit in the past. You can use the CGWindow API to read the contents under your window and apply a blur to th

Re: Core Data Entity object

2008-08-25 Thread Quincey Morris
On Aug 25, 2008, at 13:33, R T wrote: A Core Data Entity object added to a XIB on a sheet of a document window is created but the add & remove buttons are not highlighted. Why? I assume you mean "not enabled" instead of "not highlighted". If both buttons are not enabled, it most likely mea

Re: Help converting NSFilePosixPermissions to Octal representation

2008-08-25 Thread Charles E. Heizer
Thanks, I was using %o and not doing the capital %O. Thanks for the help, it's now working. - Charles On 8/25/08 1:48 PM, "Nate Weaver" <[EMAIL PROTECTED]> wrote: Addendum: I guess the format should actually be %O (unsigned long) instead of %o (unsigned int) since it's defined as an unsigned l

Re: Core Data Entity object

2008-08-25 Thread Kyle Sluder
On Mon, Aug 25, 2008 at 4:33 PM, R T <[EMAIL PROTECTED]> wrote: > A Core Data Entity object added to a XIB on a sheet of a document window is > created but the add & remove buttons are not highlighted. Why? Because you did something wrong? You really haven't provided enough meaningful informatio

Re: Semi-transparent, blurred NSWindow background?

2008-08-25 Thread Seth Willits
On Aug 25, 2008, at 1:33 PM, Ricky Sharp wrote: There isn't a particularly fast way to do this, although I have experimented with it a bit in the past. You can use the CGWindow API to read the contents under your window and apply a blur to them using Core Image directly or indirectly via Co

Re: Help converting NSFilePosixPermissions to Octal representation

2008-08-25 Thread Nate Weaver
Addendum: I guess the format should actually be %O (unsigned long) instead of %o (unsigned int) since it's defined as an unsigned long, though the upper bits probably won't be filled at all. On Aug 25, 2008, at 3:42 PM, Nate Weaver wrote: unsigned long perms = [[fileAttributes objectForKey

Re: Semi-transparent, blurred NSWindow background?

2008-08-25 Thread Nate Weaver
I believe the built-in stuff (menus, sheets, etc.) uses the private functions mentioned earlier. Honestly, if you really need this function to work exactly the same, AFAIK the private stuff is the only real way to do it. Simulating it via a custom NSView just seems really hackish and error-

Re: Help converting NSFilePosixPermissions to Octal representation

2008-08-25 Thread Nate Weaver
unsigned long perms = [[fileAttributes objectForKey:NSFilePosixPermissions] unsignedLongValue]; NSString *permsInOctal = [NSString stringWithFormat:@"%o", perms]; HTH On Aug 25, 2008, at 3:03 PM, Charles E. Heizer wrote: Hello, I have been googaling and searching but I must be missing someth

Core Data Entity object

2008-08-25 Thread R T
A Core Data Entity object added to a XIB on a sheet of a document window is created but the add & remove buttons are not highlighted. Why? Thanks Rick ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

Re: Semi-transparent, blurred NSWindow background?

2008-08-25 Thread Ricky Sharp
On Aug 25, 2008, at 12:57 PM, David Duncan wrote: On 25/08/2008, at 2:45 AM, Tim Andersson wrote: Is there any way of creating a NSWindow that has a semi- transparent, blurred background? With "blurred background" I mean that whatever you see through the window/background is distorted (bl

Re: Preventing windows from being dragged

2008-08-25 Thread Sean McBride
On 8/22/08 4:25 PM, Jason Coco said: >It also appears that Leopard has added some support for this within >AppKit itself... three new methods were added to NSView: > >-(BOOL)enterFullScreenMode:(NSScreen *)screen withOptions: >(NSDictionary *)options; >-(void)exitFullScreenModeWithScreen:(NSScreen

Help converting NSFilePosixPermissions to Octal representation

2008-08-25 Thread Charles E. Heizer
Hello, I have been googaling and searching but I must be missing something. Can someone please tell me how to get the Octal representation from the returned value of [fileAttributes objectForKey:NSFilePosixPermissions]. Thanks, - Charles --

Re: Core Data Bindings with Table View

2008-08-25 Thread Quincey Morris
On Aug 25, 2008, at 12:20, John Joyce wrote: I must say that core data itself is easy, conceptually, having worked with Rails and ActiveRecord. It's Bindings in particular that always seems to stump me. Conceptually, Bindings are quite simple. Practically, quite difficult if you just don't k

Re: Core Data Bindings with Table View

2008-08-25 Thread Kyle Sluder
On Mon, Aug 25, 2008 at 3:20 PM, John Joyce <[EMAIL PROTECTED]> wrote: > The thing that worries me most about Bindings though, is the same thing that > worries me about Objective-C 2.0 Properties; > neither one has great debugging options that I can see... What do you mean "great debugging options

call "setContentBorderThickness:forEdge:" in Tiger

2008-08-25 Thread Georg Seifert
Hello, I have a problem: - (id)initWithContentRect:(NSRect)contentRect styleMask: (unsigned int)windowStyle backing:(NSBackingStoreType)bufferingType defer: (BOOL)deferCreation { BOOL useTextured = YES; if([self respondsToSelector:@selector(setContentBorderThickness:forEdge:)]) {

Re: Core Data Bindings with Table View

2008-08-25 Thread John Joyce
Thanks Tim! That did it. It makes sense, but it definitely wasn't the most intuitive. I kept trying to set a key path in the tableView or column bindings, which could logically make sense. I must say that core data itself is easy, conceptually, having worked with Rails and ActiveRecord. It'

Re: Semi-transparent, blurred NSWindow background?

2008-08-25 Thread Jonathan Dann
On 25 Aug 2008, at 16:58, Tim Andersson wrote: 24 aug 2008 kl. 23.20 skrev Jonathan Dann: On 24 Aug 2008, at 17:45, Tim Andersson wrote: YMMV but I'd start with a window as shown in this sample code http://developer.apple.com/samplecode/RoundTransparentWindow/index.html and then replace

Re: Built Menu not firing the action

2008-08-25 Thread Steve Cronin
Peter; Thanks for the tip on NSStringFromSelector()! On the responder chain: I'm not sure I precisely understand your question - where are you expecting me to call this? If I call it at the time the submenu is being constructed I get: appDelegate Since I can't get any response to selecting t

Re: monitoring file system

2008-08-25 Thread Marcelo Alves
>> Hi, >> I am developing an image browser in that user can watch photo from chosen >> directory. >> In this application I want to give functionality that whenever user add or >> delete any photo from storage media application should know it. >> Could any buddy give me idea about it . You can use

Re: Accessing Audio Samples in Cocoa

2008-08-25 Thread Jean-Daniel Dupas
That's why you have to set the output format. If you set it to be Interleaved 16 bits Integer, it will be UInt16 interleaved. And if you set the channel layout to kAudioChannelLayoutTag_Stereo, it will be as you expect: first left, second right, third left, etc… You cannot make any asusumptio

Re: monitoring file system

2008-08-25 Thread Nate Weaver
I think he wants to know when the directory contents change no matter what changes them (i.e., not his app). I'd look into the FSEvents framework or kqueue. On Aug 25, 2008, at 11:16 AM, Negm-Awad Amin wrote: Am Mo,25.08.2008 um 16:21 schrieb MAnish Billore: Hi, I am developing an image

Re: Core Data Bindings with Table View

2008-08-25 Thread Tim Isted
You can make use here of the 'Content Set' binding on an NSArrayController. So, bind your Files table view column to Files.arrangedObjects.path and then set the Content Set of the Files NSArrayController to point to the Apps array controller selection.files. If you have Add/Remove buttons

Re: Built Menu not firing the action

2008-08-25 Thread Peter Ammon
On Aug 25, 2008, at 12:53 AM, Steve Cronin wrote: Folks; I'm building a data driven submenu programmatically. The submenu appears correctly in the UI with the correct titles but nothing happens when these items are selected. [...] I set a breakpoint at customAction: it NEVER gets calle

Core Data Bindings with Table View

2008-08-25 Thread John Joyce
I'm having a little difficulty making sense of the right bindings here. I'm using Core Data. No problem, simple modeling. Entity: App Attribute: name Relationship: relatedFile (to many) Entity: File Attribute: path Relationship: relatedApp (to one) NSArrayControllers: Apps, Files Both are bound

Re: Lazy Loading Archive

2008-08-25 Thread Shawn Erickson
On Mon, Aug 25, 2008 at 6:56 AM, Graff <[EMAIL PROTECTED]> wrote: > I have a large class I'm archiving that I would like to lazy-load. It's > basically a wrapper around a NSArray and what I'd like to do is load some > instance variables but leave the array archived until a later time in order > to

Re: Semi-transparent, blurred NSWindow background?

2008-08-25 Thread David Duncan
On 25/08/2008, at 2:45 AM, Tim Andersson wrote: Is there any way of creating a NSWindow that has a semi-transparent, blurred background? With "blurred background" I mean that whatever you see through the window/background is distorted (blurred). There isn't a particularly fast way to do thi

Re: Accessing Audio Samples in Cocoa

2008-08-25 Thread Joseph Ayers
Hi Jean-Daniel: My issue is with the structure of the actual buffer and how to access the individual audio data samples. For example, is each data sample a UInt16 and can one count on the first sample pointed at by the buffer pointer being the left channel, the second sample the right channel a

Re: Tabbed preference panels

2008-08-25 Thread Andreas Mayer
Am 22.08.2008 um 18:29 Uhr schrieb Sumner Trammell: Can anyone point me to some Cocoa programming guide docs, or programming topics docs, on tabbed preference panels? I don't have any docs. But I do have source: http://www.harmless.de/cocoa-code.php#prefpane Andreas ___

Re: Accessing Audio Samples in Cocoa

2008-08-25 Thread Jean-Daniel Dupas
Le 25 août 08 à 16:02, Joseph Ayers a écrit : I am interested in doing some signal processing on the audio channels of a QuickTime Movie. I can retrieve the buffer using MovieAudioExtractionFillBuffer, but the available examples specify the buffer as type Byte*. I am interested in decomposi

Re: Semi-transparent, blurred NSWindow background?

2008-08-25 Thread Tim Andersson
25 aug 2008 kl. 06.13 skrev Rob Keniger: >In 10.5 you can add any core image filter to a window using the >private function 'CGSAddWindowFilter'. > >typedef void * CGSConnectionID; > >extern OSStatus CGSNewConnection(const void **attr, CGSConnectionID >*id); > >- (void)enableBlurForWindow:(NSWind

Re: monitoring file system

2008-08-25 Thread Robert Martin
Check out: http://developer.apple.com/documentation/Darwin/Conceptual/FSEvents_ProgGuide/Introduction/chapter_2_section_1.html Once you get that working, you just have to cache the 'old' snapshot for your directory tree, and implement a 'diff' to figure out what's been added, deleted, change

Re: [Moderator] Re: How to control the order of enumerating on a NSDictionary

2008-08-25 Thread JArod Wen
Sure, Scott. In fact I should have just forwarded that mail to you, but I made mistake to cc it to cocoa-dev. I have sent you an email early this morning for this. Please remove the post with title: Behaviors with discrimination from the michael-amorose.com guy Sorry for any disturbs on th

Re: not able to set NSTextFiled font

2008-08-25 Thread Kyle Sluder
On Mon, Aug 25, 2008 at 10:39 AM, MAnish Billore <[EMAIL PROTECTED]> wrote: > I am creating a text field and trying set font using following code but > when I run application font size remain unchanged . Why are you creating the text field in code? Haven't you already created one in Interface B

Re: monitoring file system

2008-08-25 Thread Negm-Awad Amin
Am Mo,25.08.2008 um 16:21 schrieb MAnish Billore: Hi, I am developing an image browser in that user can watch photo from chosen directory. In this application I want to give functionality that whenever user add or delete any photo from storage media application should know it. Could any b

Re: FW: failing opening socket

2008-08-25 Thread Michael Ash
On Mon, Aug 25, 2008 at 2:28 AM, Luca Ciciriello <[EMAIL PROTECTED]> wrote: > > Thanks for the answer. > Yes, I'm working as root but I'm still unable to find a solution to my > problem. Unfortunately I've to implement this blessed ping function in C++ > inside my cocoa app. I've used the followi

Re: Semi-transparent, blurred NSWindow background?

2008-08-25 Thread Tim Andersson
24 aug 2008 kl. 23.20 skrev Jonathan Dann: On 24 Aug 2008, at 17:45, Tim Andersson wrote: YMMV but I'd start with a window as shown in this sample code http://developer.apple.com/samplecode/RoundTransparentWindow/ index.html and then replace the view with a custom view, and apply a CI fil

[Moderator] Re: How to control the order of enumerating on a NSDictionary

2008-08-25 Thread Scott Anguish
I think this situation has had enough airtime, and I prefer to handle the moderator stuff in private email. Let's stick to discussing Cocoa & its environs. Thanks Scott [Moderator] ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

[Moderator] Re: Behaviors with discrimination from the michael-amorose.com guy

2008-08-25 Thread CocoaDev Admins
I think this situation has had enough airtime, and I prefer to handle the moderator stuff in private email. Let's stick to discussing Cocoa & its environs. Thanks Scott [Moderator] On 25-Aug-08, at 9:53 AM, JArod Wen wrote: ___ Cocoa-dev maili

Re: NSTableView, bindings and datasource

2008-08-25 Thread Jeff Johnson
[sending again, because I accidentally posted with the wrong, non- subscribed email address] On Aug 25, 2008, at 1:55 AM, Pierre Chatelier wrote: Hello, I was wondering something... I have an NSTableView which is automatically filled by binding. So, I did not set any dataSource. But I want

Re: using OpenPanel to select volumes?

2008-08-25 Thread Corbin Dunn
On Aug 23, 2008, at 11:07 PM, Angelo Chen wrote: Hi, I use following code to select a volume, it works, but it also give the user chance to select directory as well, how to disable selection of directories, only allow volumes? thanks, NSOpenPanel *oPanel = [OpenPanel openPanel]; [oPanel

Re: *** -[NSSavePanel _blocksActionWhenModal:]: message sent to deallocated instance 0x15a05e50

2008-08-25 Thread Corbin Dunn
On Aug 24, 2008, at 3:03 PM, Cate Tony wrote: This was a surprise. Here's the relevant code: - (void)saveDocumentAs:(id)sender { NSSavePanel *panel = [NSSavePanel savePanel]; [panel setRequiredFileType:@"abcd"]; [panel beginSheetForDirectory: [documentPath stringByD

not able to set NSTextFiled font

2008-08-25 Thread MAnish Billore
Hi , I am creating a text field and trying set font using following code but when I run application font size remain unchanged . What I am doing wrong here. NSRect brect = NSMakeRect(140, y, 300, 22); MCTextField *textField = [[MCTextField alloc] initWithFrame:brect ]

monitoring file system

2008-08-25 Thread MAnish Billore
Hi, I am developing an image browser in that user can watch photo from chosen directory. In this application I want to give functionality that whenever user add or delete any photo from storage media application should know it. Could any buddy give me idea about it . Thanks Bill Manish

Lazy Loading Archive

2008-08-25 Thread Graff
I have a large class I'm archiving that I would like to lazy-load. It's basically a wrapper around a NSArray and what I'd like to do is load some instance variables but leave the array archived until a later time in order to save time and memory. When I implement the NSCoding protocol meth

Re: *** -[NSSavePanel _blocksActionWhenModal:]: message sent to deallocated instance 0x15a05e50

2008-08-25 Thread Corbin Dunn
On Aug 24, 2008, at 10:50 PM, Graham Cox wrote: On 25 Aug 2008, at 11:09 am, Kyle Sluder wrote: On Sun, Aug 24, 2008 at 6:03 PM, Cate Tony <[EMAIL PROTECTED]> wrote: If I put a retain on the panel, the error stops, but isn't it now leaking? No. You took ownership of the NSSavePanel when

Re: NSTableView, bindings and datasource

2008-08-25 Thread Corbin Dunn
On Aug 24, 2008, at 11:55 PM, Pierre Chatelier wrote: Hello, I was wondering something... I have an NSTableView which is automatically filled by binding. So, I did not set any dataSource. But I want to implement "tableView:writeRowsWithIndexes:toPasteboard:", which is a dataSource method

Accessing Audio Samples in Cocoa

2008-08-25 Thread Joseph Ayers
I am interested in doing some signal processing on the audio channels of a QuickTime Movie. I can retrieve the buffer using MovieAudioExtractionFillBuffer, but the available examples specify the buffer as type Byte*. I am interested in decomposing the buffer into the left and right channel data

Re: 64-bit => Objc 2.0????

2008-08-25 Thread Jean-Daniel Dupas
Le 25 août 08 à 15:18, Stéphane Sudre a écrit : Probably a stupid question but I don't see anything in the objc headers or in some old slides corroborating this. When you build a project for a 64-bit architecture (such as x86_64), does this imply the Objective-C version for this architectu

Behaviors with discrimination from the michael-amorose.com guy

2008-08-25 Thread JArod Wen
Hi guys, I don't want to take much of your time on this issue, but since I got this rude reply, several guys had sent me mails on the same experiences from this michael-amorose guy(not only in lists.apple.com, but also others like omnigroup). Thanks to Scott, thank you for your job; I rea

Re: 64-bit => Objc 2.0????

2008-08-25 Thread Phil
On Tue, Aug 26, 2008 at 1:18 AM, Stéphane Sudre <[EMAIL PROTECTED]> wrote: > Probably a stupid question but I don't see anything in the objc headers or > in some old slides corroborating this. > > When you build a project for a 64-bit architecture (such as x86_64), does > this imply the Objective-C

64-bit => Objc 2.0????

2008-08-25 Thread Stéphane Sudre
Probably a stupid question but I don't see anything in the objc headers or in some old slides corroborating this. When you build a project for a 64-bit architecture (such as x86_64), does this imply the Objective-C version for this architecture is going to be 2.0? ___

Re: Object change to NSView update

2008-08-25 Thread Paul Bruneau
On Aug 22, 2008, at 9:44 PM, Graham Cox wrote: Keep all of the tree stuff in your data model. When you need to refresh any given item, flag that to your parent item, which flags that to its parent item and so on back to the root. The root object could have one or more controllers which in t

Re: How to control the order of enumerating on a NSDictionary

2008-08-25 Thread Negm-Awad Amin
Am Mo,25.08.2008 um 09:40 schrieb Scott Anguish: On 25-Aug-08, at 2:05 AM, Negm-Awad Amin wrote: What an *** … Amin Negm-Awad [EMAIL PROTECTED] while I can fully understand your reaction (and I'm guessing you meant to send this off list) language like this is inappropriate. I'm sorr

Re: Modal window

2008-08-25 Thread Jean-Daniel Dupas
Le 25 août 08 à 12:04, Marcus a écrit : 25 aug 2008 kl. 11.03 skrev Macarov Anatoli: When modal window is started up the application stops carrying out other processes. How to work out this issue? Cod: - (void)showCustomDialog: (NSWindow *)window widi:(NSPanel *)windowDialog { if (!

Re: Modal window

2008-08-25 Thread Marcus
25 aug 2008 kl. 11.03 skrev Macarov Anatoli: When modal window is started up the application stops carrying out other processes. How to work out this issue? Cod: - (void)showCustomDialog: (NSWindow *)window widi:(NSPanel *)windowDialog { if (!windowDialog) [NSBundle loadNibNam

Sourcebits seeks Cocoa Programmer

2008-08-25 Thread Aby
Software Developer for MAC OS / iPhone Platform Sourcebits Technologies is a full service consulting firm on Macintosh & iPhone platform and is among the top Mac & iPhone software development companies in India. We are currently seeking talented and experienced software developers to join our team

Modal window

2008-08-25 Thread Macarov Anatoli
When modal window is started up the application stops carrying out other processes. How to work out this issue? Cod: - (void)showCustomDialog: (NSWindow *)window widi:(NSPanel *)windowDialog {     if (!windowDialog)     [NSBundle loadNibNamed: @"MyCustomDialog" owner: self];     [NSApp beginS

Re: *** -[NSSavePanel _blocksActionWhenModal:]: message sent to deallocated instance 0x15a05e50

2008-08-25 Thread Negm-Awad Amin
Am Mo,25.08.2008 um 08:45 schrieb Graham Cox: On 25 Aug 2008, at 4:24 pm, Graham Cox wrote: On 25 Aug 2008, at 4:17 pm, Negm-Awad Amin wrote: Don't care about this. IF it is a singleton, retaining is no problem. IF it is NOT, retaining is the right way to handle it. Sure, no problem f

Built Menu not firing the action

2008-08-25 Thread Steve Cronin
Folks; I'm building a data driven submenu programmatically. The submenu appears correctly in the UI with the correct titles but nothing happens when these items are selected. submenu build code: menu1 = [[[NSMenu alloc] initWithTitle:@"__"] retain]; [menu1 setAutoenablesItems

[moderator] Re: How to control the order of enumerating on a NSDictionary

2008-08-25 Thread Scott Anguish
This incident is currently being investigated. I'm assuming this should be obvious, but sending that kind of message to a list subscriber, even in private email, is wholly unacceptable. Doing so will result in moderation at a minimum and further action at the admins' discretion. Also, pleas

Re: How to control the order of enumerating on a NSDictionary

2008-08-25 Thread Scott Anguish
On 25-Aug-08, at 2:05 AM, Negm-Awad Amin wrote: What an *** … Amin Negm-Awad [EMAIL PROTECTED] while I can fully understand your reaction (and I'm guessing you meant to send this off list) language like this is inappropriate.___ Cocoa-dev m

Problems running bannersample example project.

2008-08-25 Thread Patrick Neave
Hi, I am trying to get the bannersample example project working but with very little luck. Firstly, on a G4 PowerBook running Leopard. With bannersample installed I go to the Login menu as suggested in the readme file, but when I log in I do not see any sign of the banner. I have also tr

NSTableView, bindings and datasource

2008-08-25 Thread Pierre Chatelier
Hello, I was wondering something... I have an NSTableView which is automatically filled by binding. So, I did not set any dataSource. But I want to implement "tableView:writeRowsWithIndexes:toPasteboard:", which is a dataSource method. So, I set some object to be the dataSource, implementin