EXC_BAD_ACCESS on NSImageView::setImage

2009-03-10 Thread Dev
-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

Re: EXC_BAD_ACCESS on NSImageView::setImage

2009-03-13 Thread Dev
So i guess the image have been retained 2 times -- I. _______ 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 He

Re: EXC_BAD_ACCESS on NSImageView::setImage

2009-03-15 Thread Dev
use Instruments to see > if you leak or over alloc. > > Volker > > Am 14.03.2009 um 01:23 schrieb Dev: > >> On Wed, Mar 11, 2009 at 9:33 AM, Scott Ribe >> wrote: >>> >>> Does your setImage method retain the image? >>> >> The object Exter

Re: EXC_BAD_ACCESS on NSImageView::setImage

2009-03-15 Thread Dev
]; } } =CODE= On Sun, Mar 15, 2009 at 10:08 AM, Dev wrote: > I just change my NSWindow from NSBackingStoreBuffered to a NonRetain one and > my > application do not crash anymore. > > Unfortunatly, as expected, my window is clipping

CIImage resize optimisation

2009-04-14 Thread Dev
oblem, the rendering of CIImage to a bitmap is worse than the filter usage. here my question, Is there a way of accessing directly the CIImage representation so that i can pick my pixels very quickly ? the aim is to be very efficient of course ... thanks to all that w

Matching braces and [NSTextView selectionRangeForProposedRange:granularity:];

2009-09-14 Thread Iceberg-Dev
mouse cursor, it is invoked again and the number of clickCount is still 2. It might be possible to use some time measures to differentiate these 2 paths but this does not look like a good solution at all. Any idea? _______ Cocoa-dev mai

[SOLVED] Re: Matching braces and [NSTextView selectionRangeForProposedRange:granularity:];

2009-09-17 Thread Iceberg-Dev
Using - (void) textViewDidChangeSelection:(NSNotification *) inNotification instead. Works fine. On Sep 14, 2009, at 11:53 PM, Iceberg-Dev wrote: I'm currently trying to match braces in a text editor and intend to use selectionRangeForProposedRange:granularity: for that. While I don&

[NSTextView] Shift left / Undo manager

2009-09-30 Thread Iceberg-Dev
ither (though the result is better than mine) Any idea? ___ 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

[Performance issue] Resizing an alert sheet => blinks

2009-10-05 Thread Iceberg-Dev
n on a PowerMac G5 running Mac OS X 10.4.11. ___ 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/Unsubscr

Re: [Performance issue] Resizing an alert sheet => blinks

2009-10-06 Thread Iceberg-Dev
On Oct 6, 2009, at 1:29 AM, Jens Alfke wrote: On Oct 5, 2009, at 3:12 PM, Iceberg-Dev wrote: Is it the intended behavior that resizing an Alert Sheet in Mac OS X 10.5.8 on a MacBook Pro produces a lot of blinking? I have a custom alert sheet that can be resized and when I resize it on a

[UTI] Anyway to retrieve the UTI of a file without having to use a FSRef?

2009-10-12 Thread Iceberg-Dev
SURL to a FSRef? I'm mainly interested in finding the type of a text file (txt, html, rtfd, rtf) from its path. Mac OS X 10.5. _______ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to t

Re: [UTI] Anyway to retrieve the UTI of a file without having to use a FSRef?

2009-10-13 Thread Iceberg-Dev
On Oct 13, 2009, at 12:42 AM, Jim Correia wrote: On Mon, Oct 12, 2009 at 6:36 PM, Iceberg-Dev wrote: From what I've found in the documentation, the UTI type of a file can be retrieved using the LaunchServices APIs. This requires to provide a FSRef. Wouldn't there be an API I

Finder open / close notifications

2010-06-23 Thread dev . digest
bled with Uli UKKQueue but don't seem to receive open / close notifications. Was wondering is there a way to register for the finders notifications? possibly something new in 10.6? any suggestions would be greatly appreciated. _______ Cocoa-dev mai

Limiting the area of an NSShadow

2009-12-11 Thread Cocoa Dev
way around the bezier path, and not just on the top. Is there a way for my to limit the NSShadow so that it only draws on the top part of the bezier path? Thanks so much, Carter Allen _______ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not

[textView:shouldChangeTextInRanges:replacementStrings:] When does this type of event occur?

2009-12-23 Thread Iceberg-Dev
What kind of event can trigger a non-linear selection to be replaced by multiple strings in different ranges? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

Re: [textView:shouldChangeTextInRanges:replacementStrings:] When does this type of event occur?

2009-12-24 Thread Iceberg-Dev
ection and insert the new text in the first selection range (tested in TextEdit). ___ 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

[NSOpenPanel] Is there a way to access the contextual information?

2009-12-27 Thread Iceberg-Dev
indow. ___ 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%4

Re: [NSOpenPanel] Is there a way to access the contextual information?

2009-12-27 Thread Iceberg-Dev
On Dec 27, 2009, at 11:48 PM, Graham Cox wrote: On 28/12/2009, at 9:40 AM, Iceberg-Dev wrote: Problem: what if you need to access the contextual info from the panel:shouldShowFilename: method? I haven't found a method to access the contextual information in NSSavePanel, NS

Commit Editing Changes as I Type

2010-01-06 Thread cocoa-dev
extField window] endEditingFor:nil] // which worked but the NSTextField loses focus so that's not a good solution. Any ideas?_______ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Conta

Better Way to Add an Entity to an ArrayController

2010-01-23 Thread cocoa-dev
nil: Track *newTrack = [[Track alloc] init]; Assuming I do successfully create a new Track entity do I just add it to the tracks set? You can see I'm confused. Any help would be appreciated. Thank you_______ Cocoa-dev mailing list (Cocoa-dev

Re: Localization help

2010-01-27 Thread Iceberg-Dev
you do not have "key" ="something" = "something else"; - Check the spelling of the keys in your Italian.strings file ___________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator com

Help with NSData dataWithContentsOfURL

2010-02-03 Thread cocoa-dev
data of a wrapper and a folder? Thanks___ 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

Re: Help with NSData dataWithContentsOfURL

2010-02-03 Thread cocoa-dev
ther. Too bad. On Feb 3, 2010, at 9:19 AM, Graham Cox wrote: > > On 04/02/2010, at 1:08 AM, cocoa-dev wrote: > >> Is there an alternative to capture the data of a wrapper and a folder? > > Not really, because of what these things are. At best a folder could be > reduced t

NSViewAnimation vs Distributed Notification: Bug?

2010-02-27 Thread Iceberg-Dev
orks fine [IBwindow_ setFrame:tNewWindowFrame display:YES animate:YES]; _______ 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.

Re: NSViewAnimation vs Distributed Notification: Bug?

2010-02-27 Thread Iceberg-Dev
NSTimer with a 1/16.0f period. _______ 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 Subscr

Re: Custom view attached to a menu bar NSStatusItem application

2009-05-29 Thread Cocoa Dev
, border, add custom buttons on this Menu? ___ 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

Getting the list of users and groups (anything new?)

2009-07-14 Thread Iceberg-Dev
ovide metadata for them. ___ 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:

Is it possible to detour a drag and drop operation?

2009-08-15 Thread Iceberg-Dev
changed. ___ 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/arch

Re: Is it possible to detour a drag and drop operation?

2009-08-16 Thread Iceberg-Dev
On Aug 16, 2009, at 2:03 AM, Jerry Krinock wrote: On 2009 Aug 15, at 12:51, Iceberg-Dev wrote: When the drop is validated in the right window (type of item accepted), I would like to either display a window above the right window or change the right window content to give the user a list

LSUIElement vs applicationShouldTerminate:

2010-07-22 Thread Iceberg-Dev
OS X 10.6.4. ___ 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

Re: iTunes 10 UI

2010-09-02 Thread Iceberg-Dev
de a solution either). _______ 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/mailm

how to set the value of NSLevelIndicatorCell in tableView

2010-09-02 Thread cocoa-dev
ange it it displays but then it has nothing.How can i set the value ?any suggestion?_______ 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)l

[NSImage] Bug in System Preferences?

2010-10-21 Thread Iceberg-Dev
bytesPerRow:0 bitsPerPixel:0 ]; buffer_=[imageRep_ bitmapData]; image_=[[NSImage alloc] initWithSize:imageRect_.size]; [image_ addRepresentation:imageRep_]; ______

Re: [NSImage] Bug in System Preferences? [solved]

2010-10-22 Thread Iceberg-Dev
On Oct 22, 2010, at 12:48 AM, Iceberg-Dev wrote: I'm currently playing with a screen saver. Problem: It draws correctly in fullscreen mode or in SaverLab but does not in the preview mode of the 'Desktop & Screen Saver' pane of the System Preferences. Basic

Re: [NSImage] Bug in System Preferences? [solved]

2010-10-25 Thread Iceberg-Dev
On Oct 23, 2010, at 2:41 AM, Ken Ferry wrote: On Oct 22, 2010, at 4:07 PM, Iceberg-Dev wrote: On Oct 22, 2010, at 12:48 AM, Iceberg-Dev wrote: I'm currently playing with a screen saver. Problem: It draws correctly in fullscreen mode or in SaverLab but does not i

Re: [NSImage] Bug in System Preferences? [solved]

2010-10-27 Thread Iceberg-Dev
Le 27 oct. 10 à 02:09, Gregory Weston a écrit : On Oct 26, 2010, at 16:29, Stephane Sudre wrote: On Tue, Oct 26, 2010 at 4:14 AM, Gregory Weston wrote: Iceberg-Dev wrote: When working with NSBitmapImageRep, calling -bitmapData is a signal that you may be editing the data. It is not

[CFBundleIdentifier] Is is really a hyphen or a minus?

2010-12-04 Thread Iceberg-Dev
rite minus? ___ 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/arch

Re: [CFBundleIdentifier] Is is really a hyphen or a minus?

2010-12-04 Thread Iceberg-Dev
On Dec 4, 2010, at 7:55 PM, Ken Thomases wrote: On Dec 4, 2010, at 12:42 PM, Iceberg-Dev wrote: By "hyphen", does the documentation actually mean a minus glyph (like the one on the numeric keypad) or really the hyphen typographic glyph? If the former, why not just write min

Calculating file size

2008-04-26 Thread Cocoa Dev
alue]]; } } But I was unsure on how to traverse the entire file tree within that directory, and give the same size results as the finder. Thanks, -Mike ___________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or mod

How to transform a NSString to a NSString C string format?

2009-02-05 Thread Iceberg-Dev
Is but I might missed it). _______ 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

NSNotificationCenter : multiple messages sent to the same observer?

2009-02-21 Thread Iceberg-Dev
I just discovered something recently. If you register an observer with the same name/object/selector twice, you get the notification twice when you post it. Isn't the NSNotificationCenter supposed to prevent this? ___ Cocoa-dev mailing list (

NSOutlineView : Incorrect Drag and Drop drawing?

2009-02-21 Thread Iceberg-Dev
background are white usually. This does not happen with a NSOutlineView with a standard highlight mode. Is this a known bug? (Mac OS X 10.5.6 clean install) ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin reques

Re: NSNotificationCenter : multiple messages sent to the same observer?

2009-02-22 Thread Iceberg-Dev
On Feb 22, 2009, at 1:37 AM, Michael Ash wrote: On Sat, Feb 21, 2009 at 6:06 PM, Iceberg-Dev wrote: I just discovered something recently. If you register an observer with the same name/object/selector twice, you get the notification twice when you post it. Isn'

Re: NSNotificationCenter : multiple messages sent to the same observer?

2009-02-22 Thread Iceberg-Dev
On Feb 22, 2009, at 6:39 PM, Bill Bumgarner wrote: On Feb 22, 2009, at 8:59 AM, Iceberg-Dev wrote: On Feb 22, 2009, at 1:37 AM, Michael Ash wrote: On Sat, Feb 21, 2009 at 6:06 PM, Iceberg-Dev wrote: I just discovered something recently. If you register an observer with the same name

Re: NSNotificationCenter : multiple messages sent to the same observer?

2009-02-22 Thread Iceberg-Dev
On Feb 22, 2009, at 7:06 PM, Bill Bumgarner wrote: On Feb 22, 2009, at 9:59 AM, Iceberg-Dev wrote: [...] The current behavior makes it possible to implement architectures where a client could take "more action" for any given notification by registering more than once. Not

AddressBook (Repost from objc-language)

2008-10-09 Thread App Dev
hed the same thing, that is adding a new person into my existing user addressbook, as opposed to generating a new addressbook... Did I misunderstand the documentation? TIA! Jeremy ___________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not p

[NSOpenPanel] How to disable folder selection but still access their contents?

2008-10-23 Thread Iceberg-Dev
. ___ 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

Re: [NSOpenPanel] How to disable folder selection but still access their contents?

2008-10-24 Thread Iceberg-Dev
On Oct 24, 2008, at 1:20 AM, Corbin Dunn wrote: On Oct 23, 2008, at 1:38 PM, Iceberg-Dev wrote: Solution not found in the cocoabuilder archive. Problem: I have a list of files and folders. I can add items to this list through a standard NSOpenPanel dialog. When a folder is

Re: [NSOpenPanel] How to disable folder selection but still access their contents?

2008-10-24 Thread Iceberg-Dev
On Oct 24, 2008, at 11:51 PM, Corbin Dunn wrote: On Oct 24, 2008, at 2:26 PM, Iceberg-Dev wrote: On Oct 24, 2008, at 1:20 AM, Corbin Dunn wrote: On Oct 23, 2008, at 1:38 PM, Iceberg-Dev wrote: Solution not found in the cocoabuilder archive. Problem: I have a list of files

Re: RE : How are we supposed to retrieve th e generic bundle icon?

2008-11-11 Thread Iceberg-Dev
eally trying to illustrate with this icon? Are you sure the Lego® block is the right thing to show? Standard Apple Plugins that use this icon. Yes, I'm sure. Message d'origine De: [EMAIL PROTECTED] de la part de Iceberg-Dev Date: mar. 11/11/2008 17:36 À: cocoa-dev@li

How are we supposed to retrieve the generic bundle icon?

2008-11-11 Thread Iceberg-Dev
can display a Word bundle icon instead of the correct one. - I haven't found so far a better solution while googling for one. Question: Is there a better way to retrieve the generic bundle icon? ___________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.co

Re: RE : How are we supposed to retrieve the generic bundle icon?

2008-11-11 Thread Iceberg-Dev
On Nov 11, 2008, at 9:39 PM, Kyle Sluder wrote: On Tue, Nov 11, 2008 at 2:50 PM, Iceberg-Dev <[EMAIL PROTECTED]> wrote: Standard Apple Plugins that use this icon. Yes, I'm sure. Are you attempting to use this icon for your own purposes, like plugins for your own app? No, I&#x

Re: How are we supposed to retrieve the generic bundle icon?

2008-11-11 Thread Iceberg-Dev
On Nov 11, 2008, at 9:44 PM, Gregory Weston wrote: Iceberg-Dev wrote: On Nov 11, 2008, at 8:15 PM, Gregory Weston wrote: What are you really trying to illustrate with this icon? Are you sure the Lego® block is the right thing to show? Standard Apple Plugins that use this icon. Yes, I&#

Re: How are we supposed to retrieve the generic bundle icon?

2008-11-12 Thread Iceberg-Dev
On Nov 11, 2008, at 10:39 PM, Stephen J. Butler wrote: On Tue, Nov 11, 2008 at 3:34 PM, Iceberg-Dev <[EMAIL PROTECTED]> wrote: On Nov 11, 2008, at 9:44 PM, Gregory Weston wrote: Perhaps I'm missing something, but why not then retrieve the icon for the file rather than for th

Re: Detect the login window is being displayed

2008-11-12 Thread Iceberg-Dev
On Nov 12, 2008, at 10:56 PM, Maggie Zhang wrote: Hi, Is there a way (like a notification or API) that the daemon can figure out when the login window is being displayed after the user logs out? SystemConfiguration Framework. ___ Cocoa-dev

Re: NSView positioning problems

2008-11-16 Thread Iceberg-Dev
view 2) Set these bounds to be the frame of your view (better if done before adding the view). ___________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Re: Simple single file renaming application ...

2008-11-19 Thread Iceberg-Dev
and loads up the current file name prepared for the edit. Does anyone know of any sample code that I can take a look at? NSFileManager: - (BOOL)movePath:(NSString *)source toPath:(NSString *)destination handler:(id)handler ? ___ Cocoa-d

Re: Best way to Change Window

2008-11-23 Thread Iceberg-Dev
f you want the control inside the window to look the same as non full-screen. If you take a look at iPhoto for instance, the look of the controls differs between fullscreen and standard mode. If you want the controls to look different, then maybe another nib is a solution. _____

Re: open package installer in bundle resources directory not working

2008-12-13 Thread Iceberg-Dev
a report from a user stating it does not open Installer.app but another application... _______ 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-admin

Re: Drawing NSTextFieldCell subclass in table view

2008-12-13 Thread Iceberg-Dev
of the issue in your case. _______ 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/

[NSTableView] How should a grid be drawn?

2009-03-16 Thread Iceberg-Dev
Rect),NSMinY(clippedHighlightRect)-0.5f)]; } [tBezierPath stroke]; [tBezierPath removeAllPoints]; highlightRect.origin.y += rowHeight; } } _______

Re: How to make letters appear in italics?

2009-03-17 Thread Iceberg-Dev
you want to remove the italic attribute, you should be using -convertFont:toNotHaveTrait:. Does one get the same results (Italic) when you use the NSObliquenessAttributeName attribute? Or are these totally different? ___________ Cocoa-dev mailing list (C

Re: [NSTableView] How should a grid be drawn?

2009-03-17 Thread Iceberg-Dev
On Mar 17, 2009, at 12:45 AM, Corbin Dunn wrote: On Mar 16, 2009, at 4:06 PM, Iceberg-Dev wrote: I'm trying to draw a custom grid for a table view. I' using the code at the end of this post. The problem is that when I scroll the tableview, some of the horizontal lines are not

[BUG?] - [NSLayoutManager usedRectForTextContainer:] returns incorrect value

2009-03-29 Thread Iceberg-Dev
NSLog(@"%@: %f %f %@",tString,tHeight,tMaxWidth,tFont); } @end ___ 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.

Re: [BUG?] - [NSLayoutManager usedRectForTextContainer:] returns incorrect value

2009-03-30 Thread Iceberg-Dev
Engine) but if there is a better solution, I'm still interested. _______ 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

Re: hud panel tiger

2009-04-20 Thread Cocoa Dev
, Rick Hi, I believe you are correct on your first point. As a substitution you could use Matt Gemmell's HUDWindow (which can be found at http://mattgemmell.com/source) . Cheers, Tim Andersson ___ Cocoa-dev mailing list (Coco

[NSOutlineView] _outlineCell and _trackingOutlineCell vs 64-bit

2009-04-22 Thread Iceberg-Dev
s the drawWithFrame:inView: method to get a different rendering. - (void)outlineView:(NSOutlineView *)outlineView willDisplayOutlineCell:(id)cell forTableColumn:(NSTableColumn *) tableColumn item:(id)item; is probably not what I'm looking for. ___ Cocoa-d

Re: [NSOutlineView] _outlineCell and _trackingOutlineCell vs 64-bit

2009-04-22 Thread Iceberg-Dev
On Apr 22, 2009, at 5:50 PM, Corbin Dunn wrote: Howdy, On Apr 22, 2009, at 4:37 AM, Iceberg-Dev wrote: What's the official way to replace _outlineCell and _trackingOutlineCell in Cocoa 64-bit? I do this for 32-bit: @implementation NSOutlineView (PrivateCells) - (NSButto

Re: [NSOutlineView] _outlineCell and _trackingOutlineCell vs 64-bit

2009-04-25 Thread Iceberg-Dev
ot perfect: The non highlighted images can be changed. The highlighted state can not be changed or tuned. But since it now builds and runs in 64-bit, I can't really complain. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

FSPathCopyObjectSync and symbolic links?

2009-04-26 Thread Iceberg-Dev
Is it possible to copy a symbolic link (the symbolic link file and not the item it references) using the FSPathCopyObjectSync API? No valuable info was found in the documentation, the list archive, google results. ___ Cocoa-dev mailing list

Re: FSPathCopyObjectSync and symbolic links?

2009-04-26 Thread Iceberg-Dev
On Apr 26, 2009, at 4:05 PM, Michael Hall wrote: On Apr 26, 2009, at 8:22 AM, Iceberg-Dev wrote: Is it possible to copy a symbolic link (the symbolic link file and not the item it references) using the FSPathCopyObjectSync API? No valuable info was found in the documentation, the list

[Moderator] iPhone SDK is still under NDA - Do not discuss openly.

2008-07-10 Thread Cocoa Dev Admins
urred. When the SDK is lifted an announcement will be made here. Thanks for your understanding Scott [moderator] comments should be sent to [EMAIL PROTECTED] ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin reques

[Moderator] iPhone SDK is still under NDA - Do not discuss here

2008-07-16 Thread Cocoa-Dev Admins
Apple. When the SDK is lifted members of the iPhone Developer Program will be specifically and personally notified by an authorized representative of Apple. Thanks for your understanding Scott [moderator] ___ Cocoa-dev mailing list (Coco

Calendar Store with non AddressBook participants?

2008-09-23 Thread Alexander Lamb (dev)
tient or add an exam for a patient. Again, how can I do this through the Cocoa API? Or, if not possible, through the CalDAV protocole. Thanks for any hint, Alexander _______ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin r

Loading mechanism with NSAtomicStore

2008-09-26 Thread Alexander Lamb (dev)
em are welcome! Thanks, Alexander _______ 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 S

Re: [NSCFNumber intValue]: unrecognized selector

2008-09-26 Thread cocoa-dev-owner
hread. But is there a way to make the model updates from the 2nd thread safe? _______ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lis

Notarization error: The signature algorithm used is too weak

2019-05-28 Thread Leo via Cocoa-dev
her Any help will be appreciated! Thanks, Leo ___________ 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

Is the list alive?

2019-05-29 Thread Leo via Cocoa-dev
Hmm... my earlier message today never got through. ___ 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

Re: Notarization error: The signature algorithm used is too weak

2019-05-29 Thread Leo via Cocoa-dev
On 5/28/19 9:26 PM, Richard Charles wrote: On May 28, 2019, at 3:43 PM, Leo via Cocoa-dev wrote: -I recently contacted Apple again and they pointed me to some resource page that was created back in 2016. It briefly mentions a similar error - but still without any info on how to solve it

Re: Is the list alive?

2019-05-29 Thread Leo via Cocoa-dev
On 5/29/19 9:02 AM, Steve Mills via Cocoa-dev wrote: On May 28, 2019, at 19:46:26, Leo via Cocoa-dev wrote: Hmm... my earlier message today never got through. Supposedly, these lists are to be done away with at some point. Someone started co...@apple-dev.groups.io, which many of us have

Re: Notarization error: The signature algorithm used is too weak

2019-05-29 Thread Leo via Cocoa-dev
On 5/29/19 1:53 PM, Richard Charles wrote: On May 28, 2019, at 8:18 PM, Leo via Cocoa-dev wrote: Can you please elaborate on this... Perhaps this will help. https://stackoverflow.com/questions/25152451/are-mac-app-store-code-sign-resource-envelopes-always-version-1 Thanks Richard

Re: How to get log from user

2019-06-14 Thread Leo via Cocoa-dev
___ 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: https

'altool' cannot be found

2019-06-14 Thread Leo via Cocoa-dev
n? Thanks for any help! Leo _______ 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: https://lists.apple.com/mailman/op

Re: 'altool' cannot be found

2019-06-16 Thread Leo via Cocoa-dev
should be able to find it. If you run xcode-select -p does it show the expected path? Keary Suska Esoteritech, Inc. "Demystifying technology for your home or business" On Jun 15, 2019, at 12:12 AM, Leo via Cocoa-dev wrote: Hi all, I wanted to start building a notarization automat

Re: Alerts in Xcode 11

2019-10-09 Thread davelist--- via Cocoa-dev
30, 2019, at 11:27 PM, Doug Hardie via Cocoa-dev > wrote: > > I tried that and swift complains that self is not defined. This is not in a > view controller but a stand alone function used in many view controllers. > Generally it is used during a segue, but I added one in a view

Re: Thoughts on Cocoa

2019-10-11 Thread tblenko--- via Cocoa-dev
overtthrows the older? Or not, but I’m pretty sure there is no compelling business argument for it. Tom > On Oct 11, 2019, at 2:54 PM, Charles Srstka via Cocoa-dev > wrote: > >> On Oct 11, 2019, at 12:44 AM, Jens Alfke wrote: >> >> >>> On Oct 10, 2

Re: Thoughts on Cocoa source code

2019-10-11 Thread 조성빈 via Cocoa-dev
> 2019. 10. 12. 오전 9:55, Richard Charles via Cocoa-dev > 작성: > >  >> On Oct 11, 2019, at 1:14 PM, Turtle Creek Software via Cocoa-dev >> wrote: >> >>>> I know this is the Cocoa devs list... but why not make a website? >>>> It would

Re: Thoughts on Cocoa source code

2019-10-12 Thread 조성빈 via Cocoa-dev
> 2019. 10. 12. 오후 7:52, Jean-Daniel 작성: >  > >>> Le 12 oct. 2019 à 03:07, 조성빈 via Cocoa-dev a >>> écrit : >>> >>> >>> 2019. 10. 12. 오전 9:55, Richard Charles via Cocoa-dev >>> 작성: >>> >>>  &

Re: FYI: info on our scary Mac rebooting iOS testing crash.

2019-10-20 Thread 조성빈 via Cocoa-dev
> 2019. 10. 19. 오전 9:17, Alex Zavatone via Cocoa-dev > 작성: > > Wow was this ever fun. > > Woo hoo! > > Let this be an exercise in the dangers of memory leaks. > > Our team uses VIPER with everything being strongly linked. Also in > Objective-C, there

Re: Thoughts on Objective-C++

2019-11-12 Thread GNDGN via Cocoa-dev
‘It’s like giving a glass of ice water to somebody in hell’ - Jobs (; > Am 12.11.2019 um 21:00 schrieb Richard Charles via Cocoa-dev > : > >  >> On Nov 11, 2019, at 6:05 PM, Turtle Creek Software via Cocoa-dev >> wrote: >> >> Unfortunately, software for

Re: Thoughts on Objective-C++

2019-11-12 Thread GNDGN via Cocoa-dev
hell’ - Jobs >> > > Apple released iTunes for Windows in October 2003. Apparently Cocoa and any > supporting frameworks were ported to Windows 16 years ago. So what is the > problem providing this to outside developers? > > --Richard Charles > ________

Re: NSDatePicker display format

2020-01-21 Thread robmartin--- via Cocoa-dev
Have you tried adding a NSDateFormatter to the DatePickerCell (in code or in the xib) and setting its format string to what you want? Haven't tried it, but might work... > On Jan 21, 2020, at 5:22 PM, Marco S Hyman via Cocoa-dev > wrote: > > Is there a way to change the da

Re: Sharing code between screensaver and regular app

2020-03-02 Thread Dave via Cocoa-dev
normal. All the Best Dave > On 1 Mar 2020, at 23:26, Gabriel Zachmann via Cocoa-dev > wrote: > > I am trying to replicate what this guy suggests: > > https://medium.com/better-programming/how-to-make-a-custom-screensaver-for-mac-os-x-7e1650c13bd8 > under section

Re: Sharing code between screensaver and regular app

2020-03-02 Thread Dave via Cocoa-dev
ll I get this boilerplate code > > > @interface AppDelegate : NSObject > > @end > > > No NSView. > > > > Best regards, Gabriel > ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post ad

RE: Re: Problem in the creation of Graphics context(NSGraphicsContext)

2020-03-04 Thread sravan.lakkimsetti--- via Cocoa-dev
___ 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: https

Re: Sharing NIB/XIB between different apps?

2020-03-09 Thread Dave via Cocoa-dev
docs are pretty good. The best way to find out more, is to find a Sample project that uses a Workspace and go from there. Hope this helps Dave > On 6 Mar 2020, at 16:19, Steve Mills via Cocoa-dev > wrote: > >> On Mar 6, 2020, at 09:04, Gabriel Zachmann via Cocoa-dev >&g

Re: applicationDidFinishLaunching not being called

2020-03-09 Thread Dave via Cocoa-dev
17:55, Gabriel Zachmann via Cocoa-dev > wrote: > > I must have done something very stupid, accidentally, > but the method applicationDidFinishLaunching in my AppDelegate is not being > called any more. > > I have googled and tried a few things, of course, to no avail. >

Re: Open a panel in secondary thread?

2020-03-21 Thread Vassilis via Cocoa-dev
Don't know if this helps you but you can look into dispatch_sync and dispatch_async. Cheers On Sat, Mar 21, 2020 at 9:16 PM Sandor Szatmari via Cocoa-dev < cocoa-dev@lists.apple.com> wrote: > You must run the panel on the main thread. > > Sandor > > > On Mar

Re: Open a panel in secondary thread?

2020-03-24 Thread Dave via Cocoa-dev
Hi, You may want to call performSelectorOnMainThread and pass YES as the wait until done flag. Cheer Dave > On 21 Mar 2020, at 20:05, Gabriel Zachmann via Cocoa-dev > wrote: > > Is it possible to open an NSOpenPanel in a secondary thread? > > I create th

Re: [OT] NSTimer +timerWithTimeInterval:

2020-05-03 Thread Dave via Cocoa-dev
Yes, that’s correct, nothing wrong with a method beginning with new as long as it follows the rules, I use it all the time. I’m not sure if it matters at all with ARC, but I stick by the rules anyway. Cheers Dave > On 30 Apr 2020, at 00:27, Sandor Szatmari via Cocoa-dev > wrote: >

  1   2   3   4   5   6   7   8   9   10   >