Re: A directory site for open-source Cocoa components?

2008-05-23 Thread Nathan Kinsinger
There is also http://codebeach.org/ On May 22, 2008, at 10:29 AM, Jens Alfke wrote: There are quite a lot of open source Cocoa components these days — everything from small utility classes, to new controls, to entire frameworks — but no easy way to find them all. I keep running into

Re: A documetation suggestion (was Re: Cocoa et al as HCI usability problem)

2008-05-23 Thread Gerriet M. Denkmann
On 23 May 2008, at 01:38, [EMAIL PROTECTED] wrote: On May 22, 2008, at 11:15 AM, Jonathan Hendry wrote: Perhaps a better way of doing this would be a web or WebKit app with two panes. One that shows the Apple docs at Apple's site, and the other pane points to a page at a non-Apple wiki site

Re: DirWatch

2008-05-23 Thread Robert Cerny
On 23.5.2008, at 6:42, Ken Thomases wrote: On May 22, 2008, at 10:56 PM, Ken Thomases wrote: On May 22, 2008, at 6:57 PM, Lorenzo wrote: I can't. Think about the FNSubscribe tells me that there is something new because the user copied 2 new files into that folder, but only one file is

Re: A documetation suggestion (was Re: Cocoa et al as HCI usability problem)

2008-05-23 Thread Scott Anguish
On May 23, 2008, at 2:23 AM, Gerriet M. Denkmann wrote: 1. For me the documentation would be very hard to use without the excellent AppKiDo. 2. It really should be Apple's job to provide something like AppKiDo. There is new browsing facilities in Xcode 3.0. Research Assistant, and

Re: DirWatch

2008-05-23 Thread Lorenzo
Thank you so much Ken, I would like to use the BSD/POSIX file access routines. May you give me a pointer? Best Regards -- Lorenzo email: [EMAIL PROTECTED] From: Ken Thomases [EMAIL PROTECTED] Date: Thu, 22 May 2008 23:42:00 -0500 To: Lorenzo [EMAIL PROTECTED] Cc: Jens Alfke [EMAIL

Re: DirWatch

2008-05-23 Thread Simon Wolf
On 23 May 2008, at 00:33, Jerry Krinock wrote: On 2008 May, 22, at 15:45, Robert Cerny wrote: On 23.5.2008, at 0:32, Lorenzo wrote: I need to watch at a given folder and check whenever a new file has been copied therein. At the beginning, I fired a timer periodically getting the list

Query about Zip command

2008-05-23 Thread parag vibhute
Hi all, I am developing cocoa application using NSApplescript class to do shell scripting which involves zip command. I am using zip command for zipping the files because there is no framework api available for it. Even though libz is available, it is not easy to use. (I can't use NSData because

Re: PDFPage Creation query

2008-05-23 Thread Amrit Majumdar
Heya... That completely does it!! I had overlooked - (Class) pageClass Thanks a ton. There are a couple of other queries I have. 1. How to display the thumbnails in a PDFThumbnailView without their corresponding labels ? 2. On double clicking on a PDFPage in an document I want to change the

Re: Properties GC (was Re: Cocoa et al as HCI usability problem)

2008-05-23 Thread Michael Ash
On Fri, May 23, 2008 at 4:30 PM, Sherm Pendley [EMAIL PROTECTED] wrote: Obviously - but *which* Cocoa developers? I suspect that many veterans would categorize these additions as premature optimization - I can't speak for anyone else, but it's been years since I needed to write an accessor

Re: Query about Zip command

2008-05-23 Thread Andrew Farmer
On 23 May 08, at 01:26, parag vibhute wrote: I am developing cocoa application using NSApplescript class to do shell scripting which involves zip command. I am using zip command for zipping the files because there is no framework api available for it. Even though libz is available, it is

Re: Query about Zip command

2008-05-23 Thread parag vibhute
I was looking for this answer only. Thanks a lot. Palav On Fri, May 23, 2008 at 2:23 PM, Andrew Farmer [EMAIL PROTECTED] wrote: On 23 May 08, at 01:26, parag vibhute wrote: I am developing cocoa application using NSApplescript class to do shell scripting which involves zip command. I am

Re: Properties GC (was Re: Cocoa et al as HCI usability problem)

2008-05-23 Thread Sherm Pendley
On Fri, May 23, 2008 at 4:45 AM, Michael Ash [EMAIL PROTECTED] wrote: On Fri, May 23, 2008 at 4:30 PM, Sherm Pendley [EMAIL PROTECTED] wrote: Does this sound similar? Objective-C obviously already has access limiters, but disassociating the object and property storage would eliminate the

RE:PDFPage Creation query

2008-05-23 Thread Amrit Majumdar
Appologise for shooting an incomplete email earlier! There are a couple of other queries I have. 1. How to display the thumbnails in a PDFThumbnailView without their corresponding labels? 2. On double clicking on a PDFPage in an document I want to change the color of the page,eg. I double

Re: DirWatch

2008-05-23 Thread Ken Thomases
On May 23, 2008, at 2:37 AM, Lorenzo wrote: Thank you so much Ken, I would like to use the BSD/POSIX file access routines. Wait, what? Why? The BSD/POSIX routines are the ones which _won't_ (by default) be useful for detecting if a file is still open in another program. If you attempt

Re: Appkido support for Iphone dev

2008-05-23 Thread I. Savant
On May 23, 2008, at 6:28 AM, nishant jain wrote: Hi all,I am little bit into iphone native application dev. Can anybody help me with xcode support for iphone API just like appkido or any other such tool. http://www.cocoabuilder.com/archive/message/cocoa/2008/5/15/206811 -- I.S.

Re: Appkido support for Iphone dev

2008-05-23 Thread nishant jain
Thanks for reminding me. On Fri, May 23, 2008 at 4:16 PM, I. Savant [EMAIL PROTECTED] wrote: On May 23, 2008, at 6:28 AM, nishant jain wrote: Hi all,I am little bit into iphone native application dev. Can anybody help me with xcode support for iphone API just like appkido or any other such

NSProgressIndicator

2008-05-23 Thread John Love
I have successfully been able to create a small project whose GUI consists of a NSProgressIndicator, or wheel, and a Button, titled Spin. In the .nib window, the Controller is ctrl-dragged to the wheel, specifying an outlet wheel and the Button is ctrl-dragged to the Controller, specifying an

NSProgressIndicator -- delete the first message with same title

2008-05-23 Thread John Love
I have successfully been able to create a small Cocoa multiple document project whose GUI consists of a NSProgressIndicator, or wheel, and a Button, titled Spin. In the .nib window, the Controller is ctrl-dragged to the wheel, specifying an outlet wheel and the Button is ctrl-dragged to the

RE: programmatically changing IKImageView's tool mode?

2008-05-23 Thread Karl von Moller
I have tried to figure out how to change the tool mode of an IKImageView's View programmatically. I have a simple button setup to cause the change in Mode from the user interface, and at the moment, I'm just printing to the Console what the current mode is. -

Re: CocoaDev spamming me?

2008-05-23 Thread Gregory Weston
On May 23, 2008, at 12:23 AM, [EMAIL PROTECTED] wrote: On Thu, May 22, 2008 at 10:13 PM, Duncan Campbell [EMAIL PROTECTED] wrote: Hey Guys - very off-topic, but is there a reason CocoaDev has gone from 1(ish) per day to every-40-minutes-or-so? Cocoa-Dev has always been pretty high

Re: NSProgressIndicator -- delete the first message with same title

2008-05-23 Thread Graham Cox
Why are you autoreleasing the NSProgressIndicator? That means that when the pool is released, your spinner pointer will go stale. Odds are it will crash - not sure why it isn't doing so in the first case. Also, if it's an IBOutlet why are you assigning to it? This isn't actually harmful,

Re: NSProgressIndicator -- delete the first message with same title

2008-05-23 Thread Graham Cox
On a further check of the docs this is probably not it, because init is the designated initializer. But in any case, you ought to start logging and/or asserting your expectations, so that any invalid pointers and so on stand out like a sore thumb in the log - you'll get to the bottom of

'Configure Sheet' fails when containing a WebView

2008-05-23 Thread harry greenmonster
Hi I have a screensaver which I'm building, I have created a 'configure sheet' accessed by the 'options' button in 'system preferencesscreensaver'. In IB I drag WebView onto my 'configure sheet', then when I test the screensaver the 'options button' fails to open the sheet. If I delete

Re: A documetation suggestion (was Re: Cocoa et al as HCI usability problem)

2008-05-23 Thread Julius Guzy
On 22 May 2008, at 23:19, Scott Anguish wrote: On May 22, 2008, at 10:39 AM, Julius Guzy wrote: On 22 May 2008, at 4:55, David Casseres wrote: That's a really good idea, your wiki-that's-more-than-a-wiki. You're in charge! 8^{) Ha Ha But just as a matter of interest, how would one

Re: 'Configure Sheet' fails when containing a WebView

2008-05-23 Thread Robert Cerny
On 23.5.2008, at 14:28, harry greenmonster wrote: Hi I have a screensaver which I'm building, I have created a 'configure sheet' accessed by the 'options' button in 'system preferencesscreensaver'. In IB I drag WebView onto my 'configure sheet', then when I test the screensaver the

Weird visibleRect

2008-05-23 Thread Norio
Hi, What cases make visibleRect.origin to be NSZeroPoint? Since my matrix view didn't draw its cells, I put a log code before and after its super view's drawRect to show the visible rectangle like following: @interface MyMatrix : NSMatrix @implement MyMatrix -(void)drawRect:(NSRect)rect {

Re: Cocoa et al as HCI usability problem

2008-05-23 Thread Ilan Volow
IMHO Objective-C 2.0 looks like Apple's attempt to make Objective-C competitive with existing scripting languages, given the addition of the dot syntax for accessors and garbage collection changes. Given that the real strength of scripting languages is tons of useful community supplied

Re: Weird visibleRect

2008-05-23 Thread Graham Cox
On 23 May 2008, at 11:04 pm, Norio wrote: Hi, What cases make visibleRect.origin to be NSZeroPoint? The common case when your view's top,left (or bottom, left if unflipped) corner is visible. Did you expect something else? What? G. ___

a Weird visibleRect

2008-05-23 Thread Norio
Hi, Sorry for the previous incomplete message. By the way, what I want to know is: What cases make visibleRect.origin to be NSZeroPoint? Since my matrix view didn't draw its cells, I put a log code before and after its super view's drawRect to show the visible rectangle like following:

Re: a Weird visibleRect

2008-05-23 Thread norio
Let me correct some of the previous. The bound rectangle of the view contains the visibleRect. And argument was also the same as the visibleRect. The matrix was on a clip view and the clip view was on a scrollview. And the scrollview is usually hidden when the window where the scroll view

Re: Cocoa et al as HCI usability problem

2008-05-23 Thread Gérard Iglesias
Le 23/05/08 à 15:26, Ilan Volow [EMAIL PROTECTED] a écrit : IMHO Objective-C 2.0 looks like Apple's attempt to make Objective-C competitive with existing scripting languages, given the addition of the dot syntax for accessors and garbage collection changes. No scripting languages, maybe Java

Re: a Weird visibleRect

2008-05-23 Thread Norio
FYI, When the scroll view doesn't need to scroll at all, the documentView is shown, this is, its cells are visible. 2008/5/23 norio [EMAIL PROTECTED]: Let me correct some of the previous. The bound rectangle of the view contains the visibleRect. And argument was also the same as the

Re: 'Configure Sheet' fails when containing a WebView

2008-05-23 Thread Mike Abdullah
I believe there is an issue where WebViews don't work quite right under a modal panel (they rely on certain specifics of the run loop). Have a look through the archives, I know someone posted a link to a solution recently. Mike. On 23 May 2008, at 13:28, harry greenmonster wrote: Hi I

Breakpoint for unknown selector

2008-05-23 Thread Paul Sargent
In the same way that there are that there are breakpoints that will catch all the Objective C exceptions that are thrown... Is there a good place to set a breakpoint to catch selectors that aren't recognised by the receiving object? I want to get in and have a good look around when it

inter process NSView sharing

2008-05-23 Thread Jonathan Cochrane
Hi I have 2 applications, one is written in java, the other in C. For reasons I wont go into to I need to have the C application perform hardware accelerated opengl rendering to a window created by the Java application. This is currently working on Windows. On this platform the java application

Re: IB outlets and NSCollectionViews

2008-05-23 Thread Marcel Borsten
Could you give a bit more information on how you solved this. I'm trying to do something similar, but I can't get it to work. Hm ...I had to bind it to a NSCollectionItemView subclass that routes to the AppController. cheers -- Torsten On Apr 7, 2008, at 18:04, Torsten Curdt wrote: Hm

Gaussian blur with core image, using CPU or GPU?

2008-05-23 Thread Jordan Woehr
First, I sent this once but I don't think it made it onto the list. I've done a quick search of the archives and couldn't find it. I apologize in advance if this end up being a double post. Hi everyone, I'm trying to write a bilateral filter using Core Image with the specific goal of having it

Re: Breakpoint for unknown selector

2008-05-23 Thread Hank Heijink (Mailinglists)
Try the NSObject method -doesNotRecognizeSelector: The runtime system invokes this method whenever an object receives an aSelector message it can’t respond to or forward. This method, in turn, raises an NSInvalidArgumentException, and generates an error message. Hank On May 23, 2008, at

Re: inter process NSView sharing

2008-05-23 Thread Kyle Sluder
On Fri, May 23, 2008 at 9:59 AM, Jonathan Cochrane [EMAIL PROTECTED] wrote: Now, on OSX the java app gets a NSView/cocoaviewref. Is there some member of NSView similar to the HWND on windows that I can pass to my C process? The C process can then create a hardware accelerated opengl rendering

Re: check if app opens with a document on startup

2008-05-23 Thread John Stiles
Note that these delegate methods will not work properly until your Info.plist has been updated to reflect the file types which your app supports. I've recently opened a radar on this because it doesn't appear to be well-documented and I spent a while trying to figure out why my delegates were

Re: NSTExtView

2008-05-23 Thread Jens Alfke
On 22 May '08, at 9:34 PM, [EMAIL PROTECTED] wrote: I hope you could understand my question, You didn't understand my answer, unfortunately. But at least you've finally posted enough information that I can see what's going on. NSStrings don't have any formatting, of course, just plain

Re: inter process NSView sharing

2008-05-23 Thread Jonathan Cochrane
apologies if ive been misunderstood, but no, i havent taken a pointer from the java app and passed it to the c app, i know that wont work. what i was asking if there something similar to the MS Windows HWND, or a window id, i could pass between processes, not a pointer ive just had a look at

Re: inter process NSView sharing

2008-05-23 Thread Kyle Sluder
On Fri, May 23, 2008 at 11:14 AM, Jonathan Cochrane [EMAIL PROTECTED] wrote: apologies if ive been misunderstood, but no, i havent taken a pointer from the java app and passed it to the c app, i know that wont work. Ok, good. :) what i was asking if there something similar to the MS Windows

Re: Gaussian blur with core image, using CPU or GPU?

2008-05-23 Thread Vijay Malhan
On 23-May-08, at 7:41 PM, Jordan Woehr wrote: First, I sent this once but I don't think it made it onto the list. I've done a quick search of the archives and couldn't find it. I apologize in advance if this end up being a double post. Hi everyone, I'm trying to write a bilateral filter

Re: IB outlets and NSCollectionViews

2008-05-23 Thread David Carlisle
I solved a similar problem when putting a pop up menu into a collectionView item. There might be an easier way, but I assume that to put a button in a collectionViewItem, the button would have to send a message to a subclass of NSCollectionViewItem, which you would then cause to send a

Re: Query about Zip command

2008-05-23 Thread Jens Alfke
On 23 May '08, at 1:26 AM, parag vibhute wrote: I am developing cocoa application using NSApplescript class to do shell scripting which involves zip command. Don't use AppleScript to run a command-line tool! It's incredibly wasteful, like chartering an airliner to take you to the

Re: NSBrower selectedCells lies

2008-05-23 Thread Martin Redington
I instrumented all my delegate methods, and they don't seem to get called at all during the redraw in either the normal or pathological cases. looking at the case where NSFocusRingTypeNone causes the same symptoms, I put a breakpoint on drawInteriorWithFrame, and then set it to dump a backtrace.

Re: NSProgressIndicator -- delete the first message with same title

2008-05-23 Thread Jens Alfke
On 23 May '08, at 4:43 AM, John Love wrote: Changing the spin method to look like: - (void) spinIt:(BOOL)begin { if (begin) [spinner startAnimation:nil]; else[spinner stopAnimation:nil]; } Looks good. @interface MyDocument:NSDocument { IBOutlet Controller *theControl; }

Re: check if app opens with a document on startup

2008-05-23 Thread Torsten Curdt
On May 23, 2008, at 16:52, John Stiles wrote: Note that these delegate methods will not work properly until your Info.plist has been updated to reflect the file types which your app supports. Sure All good. But I was wondering if it is possible to find out if the application has been

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

2008-05-23 Thread Gorazd Krosl
-- Message: 3 Date: Fri, 23 May 2008 07:43:31 -0400 From: John Love [EMAIL PROTECTED] Subject: NSProgressIndicator -- delete the first message with same title To: Cocoa Development cocoa-dev@lists.apple.com Message-ID: [EMAIL PROTECTED]

Removing the Filename flag in Doc. based Application

2008-05-23 Thread vince
thanks. How do I set my document based application to omit the filename reference at the top of each opened document window? thanks again. v. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: NSControllers, NSLocks, NSThread, Setters and Getters

2008-05-23 Thread Todd Heberlein
On May 22, 2008, at 9:21 PM, Ken Thomases wrote: KVO change notifications are sent and received on the same thread where the change is made. Thanks! Yeah, that will definitely screw up my plans. Thanks for the heads up. Ideally, a background thread should be given all of the data it

Re: Appkido support for Iphone dev

2008-05-23 Thread Fritz Anderson
On 23 May 2008, at 5:28 AM, nishant jain wrote: Hi all,I am little bit into iphone native application dev. Can anybody help me with xcode support for iphone API just like appkido or any other such tool. For business reasons, I have kept myself free of iPhone exposure, so I can answer out

Re: Gaussian blur with core image, using CPU or GPU?

2008-05-23 Thread Paul Sargent
Just FYI, Core Image is normally dealt with n the Quartz list rather than here, but not to worry. On 22 May 2008, at 22:36, Jordan Woehr wrote: Does this mean that it is not possible to write a bilateral filter which does the computations on the GPU? Filters of variable kernel size are

Re: NSTextField does not lose focus

2008-05-23 Thread Torsten Curdt
On May 23, 2008, at 03:32, Ken Thomases wrote: On May 22, 2008, at 5:53 AM, Torsten Curdt wrote: On May 22, 2008, at 11:15, Torsten Curdt wrote: I've got a NSTextField (on a NSTabView). I open the window. I click the text field and enter some text. Now I click on a button next to it.

Re: inter process NSView sharing

2008-05-23 Thread Ken Thomases
On May 23, 2008, at 10:14 AM, Jonathan Cochrane wrote: ive just had a look at 'son of a grab' source and it seems there is the concept of a CGWindowID, maybe this is what i need ? below is an excerpt from the NSWindow Class Reference: These constants and data type represent the access

Contextual menu on an NSTableView

2008-05-23 Thread Allan Greenier
I've got some working code that puts up a Contextual menu on my own NSView subclass. Works like a charm. When I try to call setMenu on a NSTableView using the same menu, I crash. How do I put up a contextual menu on an NSTableView? Thanks, Allan ___

NSTextView without word wrap?

2008-05-23 Thread David Carlisle
I've spent the last few hours trying to create an NSTextView without word wrap. The BiScrollAspect.m file in the textSizingExample project file is no help at all. Searching on wrap is no help either. I've checked and unchecked various settings in IB. After much searching I settled on

Re: NSTextView without word wrap?

2008-05-23 Thread Douglas Davidson
On May 23, 2008, at 10:33 AM, David Carlisle wrote: I've spent the last few hours trying to create an NSTextView without word wrap. The BiScrollAspect.m file in the textSizingExample project file is no help at all. No help in that it doesn't do what you want, or no help in that you

Re: Query about Zip command

2008-05-23 Thread parag vibhute
Thanks for suggestion. I will definitely give a try. Palav On 5/23/08, Jens Alfke [EMAIL PROTECTED] wrote: On 23 May '08, at 1:26 AM, parag vibhute wrote: I am developing cocoa application using NSApplescript class to do shell scripting which involves zip command. Don't use AppleScript

File's Owner

2008-05-23 Thread Johnny Lundy
I decided to once again go verbatim through Cocoa Fundamentals. So far it has been largely uh-huh, yep, but the File's Owner, my nemesis, comes up again. http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaFundamentals/CommunicatingWithObjects/chapter_6_section_3.html You connect

Re: File's Owner

2008-05-23 Thread Matt Long
I'm trying to figure out why the big hang up on needing to understand it fully. Not understanding it should not prevent you from developing applications. So why the hangup? What is the actual problem? Just set your own NSObject based app delegate as the File's Owner delegate in IB and

Re: Setting iTunes album art with ScriptingBridge

2008-05-23 Thread Bill Monk
On May 23, 2008, at 10:06 AM, Jens Alfke wrote: The biggest issue with the album art is simply getting the image into PICT format, since last I checked, iTunes won't accept any other format. Unfortunately NSImage can read but not generate PICT. The only way I found to do it was to use ick

Re: NSTableView

2008-05-23 Thread David Wilson
On Fri, May 23, 2008 at 4:03 PM, john darnell [EMAIL PROTECTED] wrote: - (id) directoryTable: (NSTableView *) aTableView objectValueForTableColumn:(NSTableColumn *) aTableColumn row: (int) rowIndex { NSLog(@Row index is %d, rowIndex); NSString *file = [arrayOfFiles

NSTableView header offsets when scrolled

2008-05-23 Thread Ken Worley
Hi all, I've got a strange problem with a programatically created NSTableView (inside a programatically created NSScrollView). The table is showing three columns and has a standard header, each showing the title of the column. Columns are set to resize proportionally with the table. The

Core Data, transient properties and saving

2008-05-23 Thread Jonathan Dann
Hi Guys, Has anyone come across this before? I've looked online and I think I know the problem but the solution is evading me! I have an NSManagedObject that represents a text file, the text itself is saved to a text file and the file's attributes are stored in the persistent store (much

Re: NSTableView

2008-05-23 Thread Erik Buck
Your question was very good. My only criticism of the way you asked you question is the vague title of the post. Ask as many questions like this per day as you want. change the following: - (id) directoryTable: (NSTableView *) aTableView objectValueForTableColumn:(NSTableColumn *)

Re: Query about Zip command

2008-05-23 Thread Kyle Sluder
On Fri, May 23, 2008 at 2:13 PM, parag vibhute [EMAIL PROTECTED] wrote: I tried using NSTask but it failed. I think NSTask is only useful to launch plain unix exectuable (which does not resources, info.plist) This isn't strictly true (you were probably improperly using NSTask), but for

NSCollectionView problems

2008-05-23 Thread Markus Spoettl
Hello List, I have an NSCollectionView set up with bindings to visualize an NSMutableArray. When I call arrayController:setContent: the view (which initially doesn't have a content assigned) displays the items. So far so good. The problems are these: If there are two many items for one

Re: NSTableView

2008-05-23 Thread Brian Stern
On May 23, 2008, at 4:03 PM, john darnell wrote: The code meant to be used in response for the requirement in the Companion article to return the value of a given cell in the table looks like this: - (id) directoryTable: (NSTableView *) aTableView objectValueForTableColumn:(NSTableColumn

RE: NSTableView

2008-05-23 Thread john darnell
David: Thank you. That works. To be sure, my first attempt used that name, and it did not work. Obviously, I had more than one thing wrong with the code waay back then... I need to ask for just a little bit of clarification, however. Your last line says, you can use that pointer to

Re: File's Owner

2008-05-23 Thread Shawn Erickson
On Fri, May 23, 2008 at 11:49 AM, Johnny Lundy [EMAIL PROTECTED] wrote: I sent feedback on this as File's Owner is mentioned several times and not defined. There seems to be some huge problem with File's Owner. Even Aaron Hillegass says that people have trouble understanding File's Owner - and

RE: How to change Tool modes programmatically for a Image View?

2008-05-23 Thread Karl von Moller
Posted this question last night and maybe it was missed by most??!! Hi, I'm trying to find out if it's possible to change the tool mode of an IKImageView's View programmatically? These are the tool modes provided by IKImageView's header file IKToolModeNone; IKToolModeMove;

Re: Cocoa et al as HCI usability problem

2008-05-23 Thread Andy Lee
On May 22, 2008, at 9:36 PM, Graham Cox wrote: On 23 May 2008, at 3:20 am, Andy Lee wrote: That may be, but that is different from demanding that Apple lower the barriers by changing Cocoa itself to resemble those platforms. I think many of the additions in Object-C 2.0 and the addition of

Re: Properties GC (was Re: Cocoa et al as HCI usability problem)

2008-05-23 Thread Andy Lee
On May 22, 2008, at 11:21 PM, Bill Bumgarner wrote: The design goals of properties and GC were to make Cocoa developers more productive and to give Cocoa developers a better set of tools to take advantage of modern Macintosh hardware. That the technologies lower the barriers to entry is

RE: NSTableView

2008-05-23 Thread john darnell
Thanks for the feedback on my messages. I'll work to do better on the subject. And as you can see from other responses, your answer was correct (but you already know that). Take care, John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erik Buck Sent:

Re: NSTableView

2008-05-23 Thread Shawn Erickson
On Fri, May 23, 2008 at 1:22 PM, john darnell [EMAIL PROTECTED] wrote: If I did have, say, three tables on a dialog, how would the code know which function was for which table if that first element (or some other element) is not differentiated? An example of one way to do it follows...

Pasteboard question

2008-05-23 Thread Davide Scheriani
helo guys. I wanted to use the PasteBoard to use for may drag'n drop table view, and I wish to save a mutable array i the pastboard. I wrote this but I get null back: = CODE = [pboard declareTypes:[NSArray arrayWithObject:NSGeneralPboard] owner:self];

Re: How to change Tool modes programmatically for a Image View?

2008-05-23 Thread Randall Meadows
On May 23, 2008, at 2:31 PM, Karl von Moller wrote: Posted this question last night and maybe it was missed by most??!! Hi, I'm trying to find out if it's possible to change the tool mode of an IKImageView's View programmatically? These are the tool modes provided by IKImageView's header

Re: Pasteboard question

2008-05-23 Thread Shawn Erickson
On Fri, May 23, 2008 at 1:36 PM, Davide Scheriani [EMAIL PROTECTED] wrote: helo guys. I wanted to use the PasteBoard to use for may drag'n drop table view, and I wish to save a mutable array i the pastboard. I wrote this but I get null back: = CODE =

Re: How to change Tool modes programmatically for a Image View?

2008-05-23 Thread Karl von Moller
Many thanks for this. I read through the documentation and some how missed this. I knew there had to be a simple answer and this works perfectly! Cheers Karl [myView setCurrentToolMode:IKToolModeSelect]; which can also be written as myView.currentToolMode = IKToolModeSelect;

Re: File's Owner

2008-05-23 Thread Andy Lee
On May 23, 2008, at 2:49 PM, Johnny Lundy wrote: I decided to once again go verbatim through Cocoa Fundamentals. So far it has been largely uh-huh, yep, but the File's Owner, my nemesis, comes up again. I tried to answer your File's Owner and NSApp questions last week (copied below). If

Re: NSTextView without word wrap?

2008-05-23 Thread David Carlisle
I made some guesses at which statements to copy from BiScrollAspect.m and came up with the following awakeFromNib. I'm not sure which statements are the most relevant, and why, but it seems to do what I need. - (void) awakeFromNib { const CGFloat LargeNumberForText = 1.0e7;

Re: Synching Animations Across CALayers

2008-05-23 Thread Dmitri Goutnik
On May 23, 2008, at 11:18 AM, Bridger Maxwell wrote: Perhaps there is a way to see how far along the animation is for a given layer, and be able to make another layer synch to the same time. Surely this has to be possible. Haven't tried this myself but it should be possible to get

Re: A documetation suggestion (was Re: Cocoa et al as HCI usability problem)

2008-05-23 Thread Gerriet M. Denkmann
On 23 May 2008, at 11:49, Ken Thomases wrote: On May 23, 2008, at 3:09 AM, Gerriet M. Denkmann wrote: I do seem to remember that there was something to write files and folders to a CDs using an Objective-C interface. - entered disk into AppKido - nothing except NSURLCache. - entered disk

Re: Cover Flow in Cocoa?

2008-05-23 Thread Nick Zitzmann
On May 23, 2008, at 3:33 PM, Wayne Shao wrote: I am thinking to use Cover Flow in cocoa app. - Is this a good idea for a desktop/laptop app? Why not? - What APIs are available? The only built-in one is private. You can make your own using CoreAnimation though; search your drive for

Re: Cover Flow in Cocoa?

2008-05-23 Thread Wayne Shao
Thanks, On Fri, May 23, 2008 at 2:37 PM, Nick Zitzmann [EMAIL PROTECTED] wrote: On May 23, 2008, at 3:33 PM, Wayne Shao wrote: I am thinking to use Cover Flow in cocoa app. - Is this a good idea for a desktop/laptop app? Why not? I never tried this on non-touch based devices. Not

Re: Setting iTunes album art with ScriptingBridge

2008-05-23 Thread has
Bill Monk wrote: The biggest issue with the album art is simply getting the image into PICT format, since last I checked, iTunes won't accept any other format. Unfortunately NSImage can read but not generate PICT. The only way I found to do it was to use ick QuickDraw APIs to create a GWorld,

Re: Cover Flow in Cocoa?

2008-05-23 Thread Nick Zitzmann
On May 23, 2008, at 3:39 PM, Wayne Shao wrote: I never tried this on non-touch based devices. Not sure on the scrolling/selection experience. Any standard Apple apps with this interface? Finder and iTunes both use cover flow. Nick Zitzmann http://www.chronosnet.com/

Re: Cover Flow in Cocoa?

2008-05-23 Thread Wayne Shao
On Fri, May 23, 2008 at 2:40 PM, Nick Zitzmann [EMAIL PROTECTED] wrote: On May 23, 2008, at 3:39 PM, Wayne Shao wrote: I never tried this on non-touch based devices. Not sure on the scrolling/selection experience. Any standard Apple apps with this interface? Finder and iTunes both use

Re: Cocoa et al as HCI usability problem

2008-05-23 Thread has
Sherm Pendley wrote: I think Apple is interested in making Cocoa in general more competitive, not just Objective-C. In fact, I suspect that their recent increased interest in supporting scripting bridges for Cocoa may be at least partly motivated by a need to compete with .NET's

How to tell if iTunes is running.

2008-05-23 Thread Mr. Gecko
How can I tell if iTunes is running with cocoa. I am working on a program for iTunes and I am going to add a Quit iTunes and Start iTunes menu. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: Cocoa et al as HCI usability problem

2008-05-23 Thread Sherm Pendley
On Fri, May 23, 2008 at 5:34 PM, Bill Bumgarner [EMAIL PROTECTED] wrote: On May 23, 2008, at 3:49 PM, Sherm Pendley wrote: The implementation of foreach appears almost expressly designed to better support scripting languages. The ObjC foreach() syntax is just chrome - the fast comes from

Re: How to tell if iTunes is running.

2008-05-23 Thread Nick Zitzmann
On May 23, 2008, at 4:01 PM, Mr. Gecko wrote: How can I tell if iTunes is running with cocoa. In this particular case, you should be able to get that information using -[NSWorkspace launchedApplications]... Nick Zitzmann http://www.chronosnet.com/

Re: A documetation suggestion (was Re: Cocoa et al as HCI usability problem)

2008-05-23 Thread Steve Weller
The documentation is for the most part oriented around the implementation of the technologies offered (inside out view) rather than the solving of the challenged faced (outside in view). For experts this is no great barrier, because they are already arguably inside. But see how this

Re: How to capture data from NSImageView and display in NSView

2008-05-23 Thread Michael Vannorsdel
On May 23, 2008, at 3:32 PM, Stephen Herron wrote: The goal: A window with two views. The view on the left, NSImageView, displays the NSImage from - (void)openPanelDidEnd:. The right view, NSView, displays the result of a CIFilter using the pixel data displayed in the right-hand view.

Re: File's Owner

2008-05-23 Thread Steve Weller
The hang up that I see is that this documentation give no clue as to the reason for File's Owner's existence. What problem does it solve? Fundamentals mean nothing unless they read like a story: you have to give each thing a reason to exist so that the reader has a place to mentally

Re: Core Data, transient properties and saving

2008-05-23 Thread Jonathan Dann
Thanks for the quick reply Ben and your explanation of what's going on. I've just re-read the Fetching section of the Core Data Programming Guide and its glaring at me not to fetch using transient attributes. I appreciate your help. Jon On 23 May 2008, at 22:32, Ben Trumbull wrote: As a

Re: Errors from NSTreeController (or NSOutlineView?)

2008-05-23 Thread Kyle Sluder
On Fri, May 23, 2008 at 6:11 PM, Brent Fulgham [EMAIL PROTECTED] wrote: I'm not sure if this: a) indicates IP address conflicts that cause the same IP address to attempt to be added multiple times This should not be causing you to add the same object more than once. Your model or controller

Re: Cocoa et al as HCI usability problem

2008-05-23 Thread Sherm Pendley
On Fri, May 23, 2008 at 5:58 PM, has [EMAIL PROTECTED] wrote: Sherm Pendley wrote: I think Apple is interested in making Cocoa in general more competitive, not just Objective-C. In fact, I suspect that their recent increased interest in supporting scripting bridges for Cocoa may be at

  1   2   >