Re: NSDictionary mutability test

2008-12-08 Thread [EMAIL PROTECTED]
Thanks for the insight into this. Some subtle stuff here. On 8 Dec 2008, at 21:54, Bill Bumgarner wrote: On Dec 8, 2008, at 1:43 PM, [EMAIL PROTECTED] wrote: This decisions was purposeful, explicit, and intentional. I find this an interesting point. Why was such a decision made? It seems

Re: NSDictionary mutability test

2008-12-08 Thread [EMAIL PROTECTED]
On 8 Dec 2008, at 21:25, Bill Bumgarner wrote: On Dec 8, 2008, at 11:53 AM, [EMAIL PROTECTED] wrote: I would disagree. I see nothing wrong with the logically necessity of testing for mutability. It's just a property. The AppKit and Foundation were designed with the decision to not

Re: NSDictionary mutability test

2008-12-08 Thread [EMAIL PROTECTED]
at everyone is at it. <[EMAIL PROTECTED]> wrote: This is explained in the thread you referenced. All NSDictionary objects are instances of NSCFDictionary. Thus the only way to check if they are mutable through public API is to try mutating them and see if Cocoa throws a hissy fit. You can u

Re: NSDictionary mutability test

2008-12-08 Thread [EMAIL PROTECTED]
n: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

Re: NSDictionary mutability test

2008-12-08 Thread [EMAIL PROTECTED]
On 8 Dec 2008, at 18:53, Sherm Pendley wrote: On Dec 8, 2008, at 12:38 PM, [EMAIL PROTECTED] wrote: I am aware of why the assertion is never applied but the thread I referenced was several years old and I was hoping that there had been some progress on this. Your use of the word

Re: NSDictionary mutability test

2008-12-08 Thread [EMAIL PROTECTED]
mple, if a method returns a pointer to an NSArray object, you should not use this method to see if the array is mutable, as shown in the following code: // DO NOT DO THIS! if ([myArray isKindOfClass:[NSMutableArray class]]) { // Modify the object } On Dec 8, 2008, at 12:15 PM, [EMAIL PROTEC

NSDictionary mutability test

2008-12-08 Thread [EMAIL PROTECTED]
pple.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/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

NSTreeController, NSOutlineView, and a leak?

2008-12-07 Thread [EMAIL PROTECTED]
m) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

MDQuery and searching within application package

2008-12-06 Thread [EMAIL PROTECTED]
email sent to [EMAIL PROTECTED]

Re: Writing Array of Dictionaries to Defaults (CFPreferences)

2008-12-03 Thread [EMAIL PROTECTED]
I will begin by saying that I figured this out at about 9:30 last night. On Dec 1, 2008, at 7:08 PM, [EMAIL PROTECTED] wrote: // Notifies of change of data in table view. Make sure to reflect changes in datasource. - (void)tableView:(NSTableView *)aTableView setObjectValue: (id)anObject

Re: Writing Array of Dictionaries to Defaults (CFPreferences)

2008-12-02 Thread [EMAIL PROTECTED]
Here's an example of how to do it with no code... http://www.stevenriggs.com/Site/Cocoa_Programming.html Good luck, Steven Riggs On Dec 1, 2008, at 8:08 PM, [EMAIL PROTECTED] wrote: Hey All- I'm working on a Preference Pane for my app (System Preferences plugin) and need to

Writing Array of Dictionaries to Defaults (CFPreferences)

2008-12-02 Thread [EMAIL PROTECTED]
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/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

propblems w/ outline view delegate and notifications

2008-11-20 Thread [EMAIL PROTECTED]
ot post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

RE:Window title bar accessory view

2008-11-19 Thread [EMAIL PROTECTED]
ons/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

Re: Regex

2008-11-18 Thread [EMAIL PROTECTED]
cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

Re: A finished moving notification for a window?

2008-11-06 Thread [EMAIL PROTECTED]
hive.com This email sent to [EMAIL PROTECTED]

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 Mess

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=ye

Re: performSelectorOnMainThread and exceptions

2008-10-28 Thread [EMAIL PROTECTED]
At 6:51 PM -0500 10/27/08, Ken Thomases wrote: On Oct 27, 2008, at 4:05 PM, [EMAIL PROTECTED] wrote: if i call -[anObject performSelectorOnMainThread:aSelector withObject:nil waitUntilDone:NO] and then later throw an exception (of my own), which i catch, the deferred execution of aSelector

. Re: Code signing validation

2008-10-28 Thread [EMAIL PROTECTED]
/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

Code signing validation

2008-10-28 Thread [EMAIL PROTECTED]
break; } if (status != CodesignOkay) { NSLog(@"codesign failure: %@", self.resultString); } [

Re: performSelectorOnMainThread and exceptions

2008-10-27 Thread [EMAIL PROTECTED]
At 6:51 PM -0500 10/27/08, Ken Thomases wrote: On Oct 27, 2008, at 4:05 PM, [EMAIL PROTECTED] wrote: if i call -[anObject performSelectorOnMainThread:aSelector withObject:nil waitUntilDone:NO] and then later throw an exception (of my own), which i catch, the deferred execution of aSelector

performSelectorOnMainThread and exceptions

2008-10-27 Thread [EMAIL PROTECTED]
e.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

Re: table bindings, value transformer per row?

2008-10-18 Thread [EMAIL PROTECTED]
7;s not sortable/filterable. Otherwise, you should really just add accessors to your model objects if you can (or create wrappers for them if you have to) that give you the transformed properties. ---------- RONZILLA On Oct 16, 2008, at 4:59 PM, <mailto:[EMAIL PROTE

Re: table bindings, value transformer per row?

2008-10-16 Thread [EMAIL PROTECTED]
i was asking about the "value transformer" that is specified for the binding. i am aware that it is quite easy to change formatters. thanx anyway, ken At 5:49 PM -0600 10/16/08, Keary Suska wrote: On Oct 15, 2008, at 7:35 PM, [EMAIL PROTECTED] wrote: i've got a bound ta

table bindings, value transformer per row?

2008-10-15 Thread [EMAIL PROTECTED]
admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

Changing system volume

2008-10-05 Thread [EMAIL PROTECTED]@ßĦ
moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

Re: Problem redirecting NSLog() output to stderr

2008-08-18 Thread [EMAIL PROTECTED]
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

Problem redirecting NSLog() output to stderr

2008-08-17 Thread [EMAIL PROTECTED]
.com This email sent to [EMAIL PROTECTED]

Re: Threading problem using AsyncSocket (Matthew Youney)

2008-08-14 Thread [EMAIL PROTECTED]
cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

Re: NSTextField Bug? Can't be!

2008-08-12 Thread [EMAIL PROTECTED]
ug simply because >> *somebody* would have noticed and fixed it by now, but I can't >> understand why this would be desirable behavior. > ___ 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/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

Re: Using performSelector: on super

2008-08-05 Thread [EMAIL PROTECTED]
On 5 Aug 2008, at 23:38, James Bucanek wrote: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> wrote (Tuesday, August 5, 2008 2:19 PM +0100): Sorry for the inaccuracy. No problem. I of course mean that the SuperSocket class responds to the -close method but does not declare it

Re: Using performSelector: on super

2008-08-05 Thread [EMAIL PROTECTED]
4:31 PM, James Bucanek <[EMAIL PROTECTED]> wrote: The OP did override -close in their subclass and were attempting to call [super close] from the subclass' -close method. The OP stated that they couldn't simply use [super close] because -close was "private," which di

Using performSelector: on super

2008-08-05 Thread [EMAIL PROTECTED]
ontact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

Re: bug in PhotoSearch

2008-07-29 Thread [EMAIL PROTECTED]
At 4:38 PM -0700 7/25/08, Corbin Dunn wrote: On Jul 25, 2008, at 3:52 PM, [EMAIL PROTECTED] wrote: also, is there a specific reason for caching the cell in iMouseCell? i've done away with the caching in my app (and thus also don't have to override preparedCellAtColumn:row:), and n

bug in PhotoSearch

2008-07-25 Thread [EMAIL PROTECTED]
ev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

Re: NSTableView NSTrackingArea and mouse clicks

2008-07-25 Thread [EMAIL PROTECTED]
ould you suggest a work-around? thanx, ken At 7:44 AM -0700 7/25/08, Corbin Dunn wrote: On Jul 24, 2008, at 6:16 PM, [EMAIL PROTECTED] wrote: i have an NSTableView that uses a data source (no bindings, but i don't think this is relevant). one column uses a custom cell that is actually

Re: NSTableView NSTrackingArea and mouse clicks

2008-07-25 Thread [EMAIL PROTECTED]
could you suggest a work-around? thanx, ken At 7:44 AM -0700 7/25/08, Corbin Dunn wrote: On Jul 24, 2008, at 6:16 PM, [EMAIL PROTECTED] wrote: i have an NSTableView that uses a data source (no bindings, but i don't think this is relevant). one column uses a custom cell that is actually

NSTableView NSTrackingArea and mouse clicks

2008-07-24 Thread [EMAIL PROTECTED]
cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

Re: NSPredicateEditorRowTemplate and ANY predicate

2008-07-23 Thread [EMAIL PROTECTED]
>De: [EMAIL PROTECTED] > >On Jul 22, 2008, at 12:05 PM, Frédéric Testuz wrote: > >> Hello, >> >> Is it possible to prepare a row template for a NSPredicateEditor in >> IB for a predicate like "ANY keyPath == 'aValue'" ? >> > >

GetDblTime, 64-bit, and cocoa

2008-07-22 Thread [EMAIL PROTECTED]
admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

Re: [NSString stringWithContentsOfURL:...], threads, and 10.5.4, xcode 3.1

2008-07-22 Thread [EMAIL PROTECTED]
At 7:50 AM -0400 7/22/08, Kyle Sluder wrote: On Mon, Jul 21, 2008 at 5:02 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: NSString* csvString = [NSString stringWithContentsOfURL: lookupURL encoding: NSUTF8StringEncoding error: &lookupError]; This line right here r

[NSString stringWithContentsOfURL:...], threads, and 10.5.4, xcode 3.1

2008-07-21 Thread [EMAIL PROTECTED]
%40mail-archive.com This email sent to [EMAIL PROTECTED]

debugging runaway allocations under gc

2008-07-07 Thread [EMAIL PROTECTED]
_ 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/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

NSTokenField and NSFormatter

2008-07-03 Thread [EMAIL PROTECTED]
sts.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/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

NSTextFieldCell subclass template image inversion

2008-06-26 Thread [EMAIL PROTECTED]
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/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

Re: What's the NSMailDelivery replacement for Leopard and Beyond?

2008-06-04 Thread [EMAIL PROTECTED]
for simple email, i've used +[NSURL URLWithString:] to create a mailto: url: <mailto://[EMAIL PROTECTED]> and then open the url. u can also add parameters such as subject and body but i forget the details at the moment (i think its something like ?subject

core data: awakeFromFetch, awakeFromInsert, didTurnIntoFault

2008-06-02 Thread [EMAIL PROTECTED]
n/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

Re: Set view in bottom right corner of NSTableView

2008-05-17 Thread [EMAIL PROTECTED]
The PlacardScrollView subclass at http://cocoa.karelia.com/AppKit_Classes/PlacardScrollView__.m demonstrates this technique well. On 16 May 2008, at 18:15, Kyle Sluder wrote: On Fri, May 16, 2008 at 10:49 AM, Stéphane <[EMAIL PROTECTED]> wrote: This might not be that easily possible

Re: Set view in bottom right corner of NSTableView

2008-05-16 Thread [EMAIL PROTECTED]
Once again Kyle, thanks. This looks like just the ticket. On 16 May 2008, at 18:15, Kyle Sluder wrote: On Fri, May 16, 2008 at 10:49 AM, Stéphane <[EMAIL PROTECTED]> wrote: This might not be that easily possible as the positions of the views inside the scrollview are recomputed quite

Re: Set view in bottom right corner of NSTableView

2008-05-16 Thread [EMAIL PROTECTED]
ag it back with. A slight GUI redesign might be needed. Jonathan On 16 May 2008, at 15:49, Stéphane wrote: On May 16, 2008, at 3:58 PM, [EMAIL PROTECTED] wrote: Hello List I have been using NSTableView -setCornerView: to provide additional drag thumb image views for tables embedded in

Set view in bottom right corner of NSTableView

2008-05-16 Thread [EMAIL PROTECTED]
requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

Re: NSDictionaryController with NSTableView and sorting of numeric data

2008-05-16 Thread [EMAIL PROTECTED]
ev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

Re: NSDictionaryController with NSTableView and sorting of numeric data

2008-05-16 Thread [EMAIL PROTECTED]
Thanks For the reply Kyle On 16 May 2008, at 06:43, Kyle Sluder wrote: On Thu, May 15, 2008 at 5:30 PM, <[EMAIL PROTECTED]> wrote: It would seem that NSDictionaryController keys have to be strings. Yes. It is very common that, despite NSDictionary accepting any object as a key, yo

NSDictionaryController with NSTableView and sorting of numeric data

2008-05-13 Thread [EMAIL PROTECTED]
@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/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

command-period doesn't close NSComboBox popup window

2008-05-08 Thread [EMAIL PROTECTED]
ev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

User authentication example (CRAM-MD5)

2008-03-25 Thread [EMAIL PROTECTED]
post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

Re: Check box cell in NSTableView

2008-03-11 Thread [EMAIL PROTECTED]
ments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

Pragmatic use of private framework class (in this case OSADictionary)

2008-03-11 Thread [EMAIL PROTECTED]
/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

Viability of OSADictionaryView and OSADictionaryController.

2008-03-09 Thread [EMAIL PROTECTED]
Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

Detecting resolution changes?

2008-03-09 Thread [EMAIL PROTECTED]
post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

Re: Intel mac required for iPhone development

2008-03-06 Thread [EMAIL PROTECTED]
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]