Is it still possible to share Keychain items between apps under iOS 9?

2016-04-01 Thread Laurent Daudelin
ted by Apple. Anybody has any idea or pointer? Thanks in advance! -Laurent. -- Laurent Daudelin laur...@nemesys-soft.com AIM/iChat/Skype:*LaurentDaudelin* http://www.nemesys-soft.com/ Logiciels Nemesys Software ___ Cocoa-dev mailing list (Cocoa-dev@l

How to perform CoreData deletion in the background?

2016-08-05 Thread Laurent Daudelin
a or suggestion gladly accepted! -Laurent. -- Laurent Daudelin laur...@nemesys-soft.com AIM/iChat/Skype:*LaurentDaudelin* http://www.nemesys-soft.com/ Logiciels Nemesys Software ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: Getting/Setting FinderInfo attributes using native Cocoa API?

2016-10-13 Thread Laurent Daudelin
I use the NSFileManager when accessing file’s attributes. That’s the only way I know in Cocoa. -Laurent. -- Laurent Daudelin laur...@nemesys-soft.com <mailto:laur...@nemesys-soft.com> AIM/iChat/Skype:LaurentDa

Re: Resize NSCollectionView items after resize

2016-10-20 Thread Laurent Daudelin
have any choice in the layout of the UICollectionView. -Laurent. -- Laurent Daudelin laur...@nemesys-soft.com <mailto:laur...@nemesys-soft.com> AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/

Re: Resize NSCollectionView items after resize

2016-10-21 Thread Laurent Daudelin
Sorry I misunderstood your question. What about windowDidResize from NSWindowDelegate? -Laurent. -- Laurent Daudelin laur...@nemesys-soft.com <mailto:laur...@nemesys-soft.com> AIM/iChat/Skype:LaurentDa

Re: Documentation Workflow

2016-11-17 Thread Laurent Daudelin
What’s the 2 “gist” files you are mentioning? -Laurent. -- Laurent Daudelin laur...@nemesys-soft.com <mailto:laur...@nemesys-soft.com> AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/

No prompt for Location Services

2017-02-14 Thread Laurent Daudelin
. I deleted the app from the device, re-installed but I’m never prompted to allow access to Location Services. What am I missing? -Laurent. -- Laurent Daudelin laur...@nemesys-soft.com <mailto:laur...@nemesys-soft.com>

Re: No prompt for Location Services

2017-02-14 Thread Laurent Daudelin
Yeah, that was it. Completely missed that one. Thanks Saagar. -Laurent. -- Laurent Daudelin laur...@nemesys-soft.com <mailto:laur...@nemesys-soft.com> AIM/iChat/Skype:LaurentDaudelin http://www.n

Crash on SIGILL

2014-11-21 Thread Laurent Daudelin
I've never seen this. Anybody has any clue what could cause a method cache corrupted? I haven't got any report from anyone else but that user. Any info, pointer or help appreciated! -Laurent. -- Laurent Daudelin laur...@nemesys-soft.com AIM/iChat/Skype:*LaurentDaudelin* http://www.nemes

Re: Crash on SIGILL

2014-11-21 Thread Laurent Daudelin
Thank you, all, I’m going to turn on GuardMalloc, Zombies and the likes. -Laurent. -- Laurent Daudelin laur...@nemesys-soft.com <mailto:laur...@nemesys-soft.com> AIM/iChat/Skype:LaurentDaudelin

Xcode 6.1 - IB giving constraints warnings

2014-11-30 Thread Laurent Daudelin
. -- Laurent Daudelin laur...@nemesys-soft.com <mailto:laur...@nemesys-soft.com> AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ <http://www.nemesys-soft.com/> Logiciels Neme

Converting SQL delete statement to Core Data

2015-07-21 Thread Laurent Daudelin
elete possible duplicates in a table where a record is deemed a duplicate if property1, property2 and property3 are equal to another record. How can I do that? Thanks in advance! -Laurent. -- Laurent Daudelin laur...@nemesys-soft.com AIM/iChat/Skype:*LaurentDaudelin* http://www.nemesys-sof

What version of OpenGL bundled in El Capitan?

2015-08-13 Thread Laurent Daudelin
he past, I prefer to wait a bit). So, anybody running El Capitan can check to see which OpenGL version is bundled at this time? Thanks in advance! -Laurent. -- Laurent Daudelin laur...@nemesys-soft.com AIM/iChat/Skype:*LaurentDaudelin* http://www.nemesys-soft.com/ Logiciels Nemesy

Can't perform selectors after delay in a secondary thread?

2009-09-01 Thread Laurent Daudelin
that second method is never called. What am I missing? Thanks in advance! -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@verizon.net

Re: Can't perform selectors after delay in a secondary thread?

2009-09-01 Thread Laurent Daudelin
Am I to assume that this loop is actually the main run loop? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@verizon.net Photo Ga

No Fix & Continue all of a sudden

2009-09-04 Thread Laurent Daudelin
n why the menu option is disabled. When moving the mouse cursor over it, the tooltip says "Fix is not supported by this debugger". I checked the full transcript of the compile command and the "-mfix-and-continue" is there. A bit annoying. What am I missing? An

No Fix & Continue all of a sudden

2009-09-04 Thread Laurent Daudelin
fix and continue. Not sure where the problem is. The debugger must not be ready for 64-bit that my MacBook Pro is capable of. I imagine that if I was working on a 32-bit machine, the problem would not happen, but this is just speculation... -Laurent. -- Laurent Daudelin AIM/iChat/Skype:Laur

Problem with fontDescriptorWithFontAttributes:

2009-09-18 Thread Laurent Daudelin
tribute = LucidaGrande; NSFontSizeAttribute = 11; } As a result, I can't set the font color. What am I doing wrong? This is with 10.5 as base SDK. Anybody has any idea? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org

Re: Problem with fontDescriptorWithFontAttributes:

2009-09-21 Thread Laurent Daudelin
the NSColor attribute? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@verizon.net Photo Gallery

Re: Problem with fontDescriptorWithFontAttributes:

2009-09-21 Thread Laurent Daudelin
Simple: I want to set the font as a gray to show that the text field cell is disabled, e.g. cannot be selected. -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesy

Re: Problem with fontDescriptorWithFontAttributes:

2009-09-21 Thread Laurent Daudelin
On Sep 21, 2009, at 14:47, Steve Christensen wrote: On Sep 21, 2009, at 2:29 PM, Laurent Daudelin wrote: On Sep 21, 2009, at 14:23, Kyle Sluder wrote: Fonts really don't have colors. I don't know why NSFontColorAttribute is defined in NSFontDescriptor.h, but none of the other

Re: Problem with fontDescriptorWithFontAttributes:

2009-09-21 Thread Laurent Daudelin
On Sep 21, 2009, at 14:30, Kyle Sluder wrote: On Mon, Sep 21, 2009 at 2:29 PM, Laurent Daudelin wrote: Simple: I want to set the font as a gray to show that the text field cell is disabled, e.g. cannot be selected. Okay, what you really want to do is set the NSForegroundColorAttributeName

"Save as PDF"?

2009-10-13 Thread Laurent Daudelin
printing, ending as a pdf file? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@verizon.net Photo Gallery Store: http://laurentdaudelin.s

Re: "Save as PDF"?

2009-10-13 Thread Laurent Daudelin
be possible to instruct a given application to print a document to a PDF file automatically, without intervention from the user? The functionality is there as you can do it from the print dialog, but I'm wondering if it can be programmatically be done. -Laurent. -- Lauren

How to switch the default printer?

2009-10-15 Thread Laurent Daudelin
I tried different options to transparently switch the default printer and restore it (lpoptions called from my app) but although it works under SL, it doesn't seem to work so well for Leopard. Anybody has any suggestion on how to do that? Thanks in advance! -Laurent. -- Laurent Daudeli

Re: How to switch the default printer?

2009-10-15 Thread Laurent Daudelin
not only for my app, so NSPrintInfo is of no use in my situation :-( -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@verizon.net

Re: How to switch the default printer?

2009-10-15 Thread Laurent Daudelin
x27;t do any printing from my own app but I want to have various applications that can print to convert a given document to PDF... -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Sof

Re: How to switch the default printer?

2009-10-15 Thread Laurent Daudelin
A "print" Apple Event? Can you elaborate a bit? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@verizon.net Photo Gal

Re: How to switch the default printer?

2009-10-15 Thread Laurent Daudelin
On Oct 15, 2009, at 11:42, Kyle Sluder wrote: > On Thu, Oct 15, 2009 at 11:27 AM, Laurent Daudelin > wrote: >> A "print" Apple Event? Can you elaborate a bit? > > Apple Events are the IPC mechanism underlying AppleScript and > Automator. I won't go into

Re: How to switch the default printer?

2009-10-15 Thread Laurent Daudelin
Any more suggestion on this problem? After I reported that the little script I tried was not working, everybody suddenly went mute. I'm still having to find a solution to this nagging and, quite stupid problem. Thanks in advance. -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDau

iSync: getting events attachments?

2009-10-15 Thread Laurent Daudelin
Hi. Am I missing something or is it not possible to retrieve events' attachments when using iSync? I don't see any property in the default event schema. Anyone? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org

Re: How to switch the default printer?

2009-10-15 Thread Laurent Daudelin
en to suggestions, though! -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@verizon.net Photo Gallery Store: http://laurentdaudelin.s

Re: How to switch the default printer?

2009-10-17 Thread Laurent Daudelin
Thanks, Scott! I had started to look at the printing prefs file as it contained information about the printers in use. Appreciate the sharing! Cheers! -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys

Problem executing lpadmin from NSTask

2009-10-19 Thread Laurent Daudelin
executable. Anybody has any idea? Thanks in advance. -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@gmail.com Photo

[Solved] Problem executing lpadmin from NSTask

2009-10-19 Thread Laurent Daudelin
Nevermind. I just realized I had a path set incorrectly for one of the argument to the NSTask. Was misled in thinking it was the launch path but it was that argument path that was wrong. Sorry for wasting bandwidth. -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin

How to retrieve document type?

2009-11-05 Thread Laurent Daudelin
I've been searching for this but haven't found any info. I'd like to retrieve the document type of a given file and display it like the Finder does, like "Portable Document Format (PDF)" or "Microsoft Word document". How can I do that? -Laur

Re: How to retrieve document type?

2009-11-05 Thread Laurent Daudelin
On Nov 5, 2009, at 12:11, Fritz Anderson wrote: > On 5 Nov 2009, at 1:58 PM, Laurent Daudelin wrote: > >> I'd like to retrieve the document type of a given file and display it like >> the Finder does, like "Portable Document Format (PDF)" or "Microsoft W

Re: How to retrieve document type?

2009-11-05 Thread Laurent Daudelin
On Nov 5, 2009, at 12:49, Ken Thomases wrote: > On Nov 5, 2009, at 2:11 PM, Fritz Anderson wrote: > >> On 5 Nov 2009, at 1:58 PM, Laurent Daudelin wrote: >> >>> I'd like to retrieve the document type of a given file and display it like >>> the Finder

Authorization Samples for Cocoa?

2009-11-15 Thread Laurent Daudelin
array of functions that perform an array of things, just a plain, simple example would do. Thanks in advance. -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software

Re: Authorization Samples for Cocoa?

2009-11-16 Thread Laurent Daudelin
On Nov 16, 2009, at 09:37, Nick Zitzmann wrote: > > On Nov 15, 2009, at 7:09 PM, Laurent Daudelin wrote: > >> The BLAuthentication class uses "AuthorizationExecuteWithPrivileges" which >> doesn't seem to allow to pass a description like "AuthorizationRi

Bindings and Observing

2010-03-24 Thread Laurent Daudelin
ferences set in IB. Maybe it's late but I fail to understand this. -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@

Re: Bindings and Observing

2010-03-25 Thread Laurent Daudelin
On Mar 25, 2010, at 00:32, Quincey Morris wrote: > On Mar 24, 2010, at 23:42, Laurent Daudelin wrote: > >> In the Preferences.nib file, the checkbox and the textfield are bound to the >> defaults controller. So far, so good. In the application delegate's >> a

Re: Bindings and Observing

2010-03-25 Thread Laurent Daudelin
On Mar 25, 2010, at 11:29, Sean McBride wrote: > On Thu, 25 Mar 2010 11:25:46 -0700, Laurent Daudelin said: > >> I see. I thought about observing those properties managed by the user >> defaults controller but after I read the document "Controller Key-Value >> Obse

Random crashes in release but not in debug

2010-03-31 Thread Laurent Daudelin
same application built with the release configuration will crash randomly? Thanks in advance for any pointer! -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software

Re: Random crashes in release but not in debug

2010-03-31 Thread Laurent Daudelin
On Mar 31, 2010, at 11:51, Ken Thomases wrote: > On Mar 31, 2010, at 1:35 PM, Laurent Daudelin wrote: > >> In any case, what would cause an application built with the debug >> configuration to not exhibit this bug at all while the same application >> built with the re

Creating thumbnail of PDF document first page?

2010-03-31 Thread Laurent Daudelin
the first page. Thanks in advance! -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@gmail.com Photo Gall

Re: Creating thumbnail of PDF document first page?

2010-03-31 Thread Laurent Daudelin
w if that's > documented anywhere. > > ~Martin Martin (and Warren), Thanks a million! That works beautifully! -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software

Re: Random crashes in release but not in debug

2010-03-31 Thread Laurent Daudelin
On Mar 31, 2010, at 11:51, Ken Thomases wrote: > On Mar 31, 2010, at 1:35 PM, Laurent Daudelin wrote: > >> In any case, what would cause an application built with the debug >> configuration to not exhibit this bug at all while the same application >> built with the re

Removing alpha channel (transparency) from NSImage?

2010-04-01 Thread Laurent Daudelin
Anybody has a quick way to remove the alpha channel from an NSImage before I save it as a PNG? I've looked everywhere I didn't find anything obvious. Thanks in advance! -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.

Re: Removing alpha channel (transparency) from NSImage?

2010-04-01 Thread Laurent Daudelin
On Apr 1, 2010, at 16:38, Jens Alfke wrote: > On Apr 1, 2010, at 4:29 PM, Laurent Daudelin wrote: > >> Anybody has a quick way to remove the alpha channel from an NSImage before I >> save it as a PNG? I've looked everywhere I didn't find anything obvious. > >

Wondering about that iPad page curling

2010-04-05 Thread Laurent Daudelin
I got my hands on an iPad today. I was really impressed with the built-in book reader. When you flip the page while holding your finger down, the page will curl and follow your finger. Very impressive! Anybody has any idea how one would be able to achieve such effect? -Laurent. -- Laurent

Re: Wondering about that iPad page curling

2010-04-05 Thread Laurent Daudelin
On Apr 5, 2010, at 18:02, Graham Cox wrote: > CIFilter has a page curl transition effect. Just map the 't' value to the > mouse/finger location. > > --Graham > > > On 06/04/2010, at 10:55 AM, Laurent Daudelin wrote: > >> I got my hands on an iPad toda

Re: Wondering about that iPad page curling

2010-04-05 Thread Laurent Daudelin
That would be a problem, wouldn't it? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@gmail.com Photo Gallery Store:

Re: Wondering about that iPad page curling

2010-04-06 Thread Laurent Daudelin
So, no other response from the regular crowd of "resident experts" on how Apple engineers did this? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesy

Re: Wondering about that iPad page curling

2010-04-06 Thread Laurent Daudelin
Thanks, Alex. -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@gmail.com Photo Gallery Store: http

Re: NSImageView Will Not Alias Images

2010-04-06 Thread Laurent Daudelin
umbnail icon of a pdf document and I get pretty much the same results. It doesn't seem to matter whether I use NSInterpolationHigh or NSInterpolationNone, at least I couldn't see any difference in the resulting image in Preview even when magnified. -Laurent. -- Laurent Daudelin

Re: OS X Game Programming

2010-04-07 Thread Laurent Daudelin
wnload the whole package? I looked around and besides downloading each item individually, I didn't see anything like a dmg or zip or svn link. Thanks! -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemes

Selecting rows in NSOutlineView from menuForEvent:?

2010-04-09 Thread Laurent Daudelin
selection to the row(s) that were clicked by the right-click. How can I do that? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude

Re: Selecting rows in NSOutlineView from menuForEvent:?

2010-04-09 Thread Laurent Daudelin
On Apr 9, 2010, at 14:10, Nick Zitzmann wrote: > > On Apr 9, 2010, at 2:46 PM, Laurent Daudelin wrote: > >> I wrote a subclass of NSOutlineView to handle menuForEvent: so that I can >> provide my own menu of items that can be performed. It works well but I did >&g

Re: Selecting rows in NSOutlineView from menuForEvent:?

2010-04-09 Thread Laurent Daudelin
On Apr 9, 2010, at 15:17, Nick Zitzmann wrote: > > On Apr 9, 2010, at 3:42 PM, Laurent Daudelin wrote: > >> However, the selection is the standard highlight, not the outline I see in >> any other table views in other Apple applications. > > I think the "drop

Playing DVD Programmatically?

2010-04-14 Thread Laurent Daudelin
Maybe not a Cocoa question but I couldn't find any list on lists.apple.com that seems related to that. How can I play a DVD (commercial or not) programmatically, preferably using Cocoa? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin

Re: Playing DVD Programmatically?

2010-04-14 Thread Laurent Daudelin
On Apr 14, 2010, at 11:29, David Duncan wrote: > On Apr 14, 2010, at 11:14 AM, Laurent Daudelin wrote: > >> Maybe not a Cocoa question but I couldn't find any list on lists.apple.com >> that seems related to that. >> >> How can I play a DVD (commercial o

Supporting different orientations with UITabBarView?

2010-04-17 Thread Laurent Daudelin
zes itself. However, if I have tab view based app, nothing happens. The tab view has 2 views which are both based on navigation views. What am I missing? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logici

Re: Supporting different orientations with UITabBarView?

2010-04-17 Thread Laurent Daudelin
why it doesn't work. I'm still missing something it seems... -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@gmail.com

Re: Supporting different orientations with UITabBarView?

2010-04-17 Thread Laurent Daudelin
Looking sheepishly down: I found my mistake. There was still one view controller subclass that wasn't overriding the method. It's working now, but thanks for reminding me! -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.

Forcing plist preferences file to be saved as text?

2010-04-22 Thread Laurent Daudelin
Is there any way to force the NSUserDefaults instances to save preferences of an application as a text-only plist file in 10.5 as it does on 10.6? For some reason, that seems to be happening only on 10.5. Thanks! -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin

Re: menu madness with retain count

2010-04-27 Thread Laurent Daudelin
Can you guys maybe agree that you disagree and put it to rest? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@gmail.com Photo

Floating window on iPhone OS?

2010-04-28 Thread Laurent Daudelin
I've seen in a few apps a little rounded corners status window appearing, often with a progress indicator. I tried to reproduce the same with a plain view with a 50% opacity but it doesn't seem to look as nice as the others. Anybody knows how to do that? -Laurent. -- Laurent Da

Re: Floating window on iPhone OS?

2010-04-28 Thread Laurent Daudelin
On Apr 28, 2010, at 15:25, Sixten Otto wrote: > On Wed, Apr 28, 2010 at 6:11 PM, Laurent Daudelin > wrote: >> I've seen in a few apps a little rounded corners status window appearing >> [snip] >> Anybody knows how to do that? > > http://github.com/jdg/MBPro

Re: 10.5 vs. 10.6 [NSMenu accessibilityIsIgnored] exception

2010-05-07 Thread Laurent Daudelin
Well, it looks as if accessibilityIsIgnored is a 10.6 only method, it doesn't exist on 10.4 or 10.5. You should build against the 10.4 SDK to catch those problems. -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndn

Detecting modifier key down when opening a menu?

2010-05-18 Thread Laurent Daudelin
What's the best way to detect if a modifier key is held down when the user click to open a menu? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Sof

Re: Detecting modifier key down when opening a menu?

2010-05-18 Thread Laurent Daudelin
On May 18, 2010, at 10:59, Nick Zitzmann wrote: > > On May 18, 2010, at 11:38 AM, Laurent Daudelin wrote: > >> What's the best way to detect if a modifier key is held down when the user >> click to open a menu? > > [[NSApp currentEvent] modifierFlags] oug

Re: Detecting modifier key down when opening a menu?

2010-05-18 Thread Laurent Daudelin
On May 18, 2010, at 11:57, Eric Schlegel wrote: > > On May 18, 2010, at 11:35 AM, Laurent Daudelin wrote: > >> Thanks, Nick. That works. But now I realize I would need something a little >> more dynamic. I see that NSResponder has "flagsChanged:" when a modi

Re: Detecting modifier key down when opening a menu?

2010-05-18 Thread Laurent Daudelin
On May 18, 2010, at 12:07, Eric Schlegel wrote: > > On May 18, 2010, at 12:05 PM, Laurent Daudelin wrote: > >> Well, I'd like to track the option key down when a menu is opened so that I >> can change one of the menu item title dynamically. > > I was hopi

Crash trying to unarchive webview from IB document

2010-05-25 Thread Laurent Daudelin
he webview. Anyone has any idea? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@gmail.com Photo Gallery S

Re: Crash trying to unarchive webview from IB document

2010-05-25 Thread Laurent Daudelin
On May 25, 2010, at 12:13, Sherm Pendley wrote: > On Tue, May 25, 2010 at 3:10 PM, Laurent Daudelin > wrote: >> I was doing a little demo to a colleague this morning and built a simple app >> consisting of a text field and a web view in IB. I was able to run the thing >

Problem running CocoaDVDPlayer sample

2010-06-17 Thread Laurent Daudelin
body has any clue? I can't find any error 45 and it's certainly not a DVD Framework possible errors because they are all in the -70001 to -70029 range. -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://www

Re: Problem running CocoaDVDPlayer sample

2010-06-18 Thread Laurent Daudelin
On Jun 17, 2010, at 19:17, Nick Zitzmann wrote: > > On Jun 17, 2010, at 4:52 PM, Laurent Daudelin wrote: > >> I'm just starting to explore DVD playback and downloaded the >> "CocoaDVDPlayer" sample. Did a build and started it in the debugger. As soon &

Re: autorelease: how does this work!? (if at all)

2010-06-18 Thread Laurent Daudelin
eally is no indication that you own theImage (there is no alloc/init, copy or retain) so you shouldn't release it, unless I'm missing something with blocks. -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin

Problems with UIButton still calling renamed method

2010-06-28 Thread Laurent Daudelin
s sent to my controller! I removed the button and put a new one. Wired it to send 'retailerSignIn:'. Ran in the simulator again and the button still sends a 'signIn:' message to my controller! What am I missing? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDau

Re: Problems with UIButton still calling renamed method

2010-06-28 Thread Laurent Daudelin
and ran my app, the button automagically had "Sign in" as its title! I'm pulling my hair now on that stupid problem. -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ L

Re: Problems with UIButton still calling renamed method

2010-06-29 Thread Laurent Daudelin
b files. What am I missing? I've never seen this problem before... -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ Logiciels Nemesys Software laur...@nemesys-soft.com

Re: Problems with UIButton still calling renamed method

2010-06-29 Thread Laurent Daudelin
y other copy of that xib file anywhere in my project. I just reproduced it. I did quit IB, made the files localizable again, then opened one in IB, made a visual change, saved, came back in Xcode, did a clean, build and run in the simulator in debug mode and my change is not visible. Can an

Re: Problems with UIButton still calling renamed method

2010-06-29 Thread Laurent Daudelin
empty. Does anybody see this? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ Logiciels Nemesys Software laur...@nemesys-soft.com On Jun 29, 2010, at 03:29, Alexander Spohr wr

Re: Problems with UIButton still calling renamed method

2010-06-29 Thread Laurent Daudelin
my changes were then visible. This is a nasty gotcha -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ Logiciels Nemesys Software laur...@nemesys-soft.com On Jun 29, 2010

class_respondsToSelector() in runtime.h?

2010-06-30 Thread Laurent Daudelin
er might be? No, it's not in /usr/include... -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ Logiciels Nemesys Software laur...@nemesys-soft.com

Re: class_respondsToSelector() in runtime.h?

2010-06-30 Thread Laurent Daudelin
On Jun 30, 2010, at 16:55, Greg Parker wrote: > On Jun 30, 2010, at 12:43 PM, Laurent Daudelin wrote: >> I need to check for backward compatibility whether a given class object >> responds to a selector. I found the function 'class_respondsToSelector()' >> w

Re: class_respondsToSelector() in runtime.h?

2010-06-30 Thread Laurent Daudelin
On Jun 30, 2010, at 17:41, Kyle Sluder wrote: > On Jun 30, 2010, at 2:35 PM, Laurent Daudelin > wrote: > >> On Jun 30, 2010, at 16:55, Greg Parker wrote: >> >>> >>> Is there some reason you can't call -respondsToSelector: on the class >>>

Re: class_respondsToSelector() in runtime.h?

2010-06-30 Thread Laurent Daudelin
On Jun 30, 2010, at 17:48, Greg Parker wrote: > On Jun 30, 2010, at 2:42 PM, Laurent Daudelin wrote: >> Yes, I know that, but can you send an instance method to a class object? > > Yes, you can. Every class object is itself an instance of NSObject. > Therefore, every class ob

Re: Finder-like conversion of a fileURL to 'user-friendly' path

2010-07-01 Thread Laurent Daudelin
Didn't you read the message from Ken Thomases about using [NSFileManager componentsToDisplayForPath:]? I think that's what you want to use. -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ Logiciels Nemesy

Display problem when drag session interrupted

2010-07-08 Thread Laurent Daudelin
x27;m missing. Anybody knows? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ Logiciels Nemesys Software laur...@nemesys-soft.com __

NSURLConnection and authenticating against OpenID

2010-07-13 Thread Laurent Daudelin
o respond to an authentication challenge for an OpenID session. Anybody knows? Thanks in advance! -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ Logiciels Nemesys Software laur...@n

NSURLConnection and authenticating against OpenID

2010-07-13 Thread Laurent Daudelin
sword but I'm not sure how the OpenID works. Anybody has any idea? Thanks in advance! -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ Logiciels Nemesys Software

Re: NSURLConnection and authenticating against OpenID

2010-07-13 Thread Laurent Daudelin
On Jul 13, 2010, at 17:36, Jerry Krinock wrote: > > On 2010 Jul 13, at 09:40, Laurent Daudelin wrote: > >> I guess everybody was sleeping yesterday when I sent this so, I'll resend :-) > > Well, although that was true in my case, it's also likely that no one k

Re: Basic Q: Where is the best place to open a drawer?

2010-07-19 Thread Laurent Daudelin
were no longer in the favors of the powers that be. Where is this mentioned, out of curiosity and my self edification? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ Logiciels Nemesys Software

Problem with category and obj-c++?

2010-07-21 Thread Laurent Daudelin
e. I have tried linking against the static library version of the zipkit. Everything compiles and links fine. Anybody has any idea? Thanks in advance! -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ Logiciels N

Re: Problem with category and obj-c++?

2010-07-21 Thread Laurent Daudelin
On Jul 21, 2010, at 12:14, Karl Moskowski wrote: > On 2010-07-21, at 1:26 PM, Laurent Daudelin wrote: > >> Is there some limitation on how categories perform or can be used when >> invoked by an Objective-C++ class? >> >> I started using the zipkit with an Ob

Re: Main menu update problem

2011-08-10 Thread Laurent Daudelin
t; Thanks, > Michael Did you try to make the window key, as in "makeKeyAndOrderFront:"? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ Logiciels Nemesys Software laur...@ne

Problems with UIAlertView

2011-08-15 Thread Laurent Daudelin
, called from [AppleSpell init]->[UITextChecker _checker]->… Is there anyway to get that real stacktrace in the navigation pane or displayed somewhere like Xcode 3 used to do? Any idea why the code crashes on 4.3 but not on 3.2? Thanks in advance for any help, pointer or info.

Problems with UIAlertView (2)

2011-08-15 Thread Laurent Daudelin
Forget my question about Xcode 4 and the stacktrace. I found the slider that controls how much details is displayed in the navigation view. My problem with UIAlertView still stands, though :-/ -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http

  1   2   3   4   >