Re: QuickTime Animation Rendering

2009-08-28 Thread Jean-Daniel Dupas
Le 28 août 2009 à 03:31, Kevin Cathey a écrit : (1) Is there a way for me to create the animations with CoreAnimation Layers (CALayer and sublayers) and simply tell some object to write to file? If so, how? Yes, check out CARenderer. This will require some knowledge of OpenGL to do it com

Re: Reasons why QL would fail to create thumbnail?

2009-08-28 Thread Julien Jalon
Still, trying "qlmanage -t /path/to/file" on failing machine might help a lot ("qlmanage -t -d4 /path/to/file" on SnowLeopard).Also, check that the path you give is correct even on a case-sensitive FS. -- Julien On Fri, Aug 28, 2009 at 2:01 AM, Graham Cox wrote: > > On 28/08/2009, at 5:12 AM,

Re: Reasons why QL would fail to create thumbnail?

2009-08-28 Thread Graham Cox
On 28/08/2009, at 5:56 PM, Julien Jalon wrote: Still, trying "qlmanage -t /path/to/file" on failing machine might help a lot ("qlmanage -t -d4 /path/to/file" on SnowLeopard). Also, check that the path you give is correct even on a case- sensitive FS. Well, I can give it a shot - but I do

Curious about $SUBST_VARS within a SUBQUERY of a fetch request template

2009-08-28 Thread luke
I just created a fetch request template in my MOM that looked like: SUBQUERY(platformInfos, $each, $each.platformName == $PLATFORM_NAME)@count == 0 I then looked up the template in the code and attempted to use it in the usual manner with: fetchRequestFromTemplateWithName:substitutionVariables

Re: Alert dialog in agent app?

2009-08-28 Thread Gabriel Zachmann
Now I would like to display an alert dialog. Unfortunately, this does not work; it even seems it makes the application hang LSBackgroundOnly apps can connect to the window server, but can't display a UI, IIRC. Thanks a lot for your response, but I don't quite understand: what do you mean by

Re: Launching a document-based app with no document

2009-08-28 Thread Ken Thomases
On Aug 27, 2009, at 2:49 PM, Dylan McNamee wrote: Which hook should I use to detect that my document-based app has been launched without a document having been dropped on it (or double-clicked upon)? Right now my app just launches and shows its menu. What I'd like to do is catch this case,

Get error message about registered observers when Object receives dealloc message

2009-08-28 Thread Andreas Grosam
I'm using key-value-observing where an instance of class MyObservee has been registered for KVO with other objects which observe a value in a key path (e.g.: @"drives.model.port"): The observee itself unregisters all observers in its dealloc method: @implementation MyObservee - (void) deallo

Re: Making failed NSAsserts crash an app

2009-08-28 Thread Kyle Sluder
On Aug 27, 2009, at 10:27 PM, Joar Wingfors wrote: Terminology aside, I think that he accurately describes how the Cocoa provided assertion macros are implemented and used in general. These macros allow the developer to describe things that always must be true, and ensures that a failure p

Snow Leopard SDK for non "Premier" or "Select" ADC members

2009-08-28 Thread Daniel Demiss
Hi guys, I'm currently checking ADC each hour for Snow Leopard development resources. However, when I log into the Mac Dev Center I always get the Access to Mac OS X Snow Leopard You must be an ADC Premier or Select member to access the development resources for Snow Leopard. Not an ADC Pr

Re: QuickTime Animation Rendering

2009-08-28 Thread Kevin Cathey
You might be able to get more help on the quartz-dev mailing list. Kevin On 28 Aug 2009, at 02:32, Jean-Daniel Dupas wrote: Le 28 août 2009 à 03:31, Kevin Cathey a écrit : (1) Is there a way for me to create the animations with CoreAnimation Layers (CALayer and sublayers) and simply tell

Re: Snow Leopard SDK for non "Premier" or "Select" ADC members

2009-08-28 Thread Jean-Daniel Dupas
Le 28 août 2009 à 16:34, Daniel Demiss a écrit : Hi guys, I'm currently checking ADC each hour for Snow Leopard development resources. However, when I log into the Mac Dev Center I always get the Access to Mac OS X Snow Leopard You must be an ADC Premier or Select member to access the d

Re: Get error message about registered observers when Object receives dealloc message

2009-08-28 Thread Reinhard Segeler
It simply tells you, that if you have removed observation for an instance of your class MYObservee somewhere in your code, so it can't remove observation again. I would try remove observation for the mentioned key path only, just to see if happens with that again. That's what I read from th

Re: Starting editing for a Row as soon as it is Added.

2009-08-28 Thread Joshua Garnham
Thanks Very Much Sean. Just 2 Questions, Where do I put the Code? and How will the method know when a Row is Added? Cheers, Josh. > >From: Sean McBride >To: Joshua Garnham ; cocoa-dev@lists.apple.com >Sent: Thursday, 27 August, 2009 20:18:10 >Subject: Re: Startin

Re: Get error message about registered observers when Object receives dealloc message

2009-08-28 Thread Roland King
I think this is one of those unfortunate messages which comes out before the dealloc method even runs, just entering the dealloc method with registered observers logs it. It's possible it would be better if it was only logged at the point say NSObject dealloc was called, but it's not, it's

Auto complete accepts on space, any way to change?

2009-08-28 Thread Ben Lachman
My app, SousChef, uses the AppKit autocomplete functionality in a bunch of places. Currently if a user types "So" they are presented with a list of completions and the first actual completion ("Soup") is used inline and selected so that this completed part is used if the user tabs to the n

Re: Alert dialog in agent app?

2009-08-28 Thread Nick Zitzmann
On Aug 28, 2009, at 3:20 AM, Gabriel Zachmann wrote: Thanks a lot for your response, but I don't quite understand: what do you mean by that? My background-only app has a regular window with title bar and buttons and sliders in them ... According to

Re: Snow Leopard SDK for non "Premier" or "Select" ADC members

2009-08-28 Thread Martin Hewitson
As far as I can tell, even with the SL DVD and XCode 3.2 installed, you still can't access the documentation without being a Select or Premier developer. I guess it's a matter of time Martin On Aug 28, 2009, at 4:49 PM, Jean-Daniel Dupas wrote: Le 28 août 2009 à 16:34, Daniel Demiss a

Snow leopard build number

2009-08-28 Thread Arun
Hi All, Can anyone share the released build number od Snow leopard? Thanks Arun ___ 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

Re: Snow leopard build number

2009-08-28 Thread Martin Hewitson
I have: System Version: Mac OS X 10.6 (10A432) On Aug 28, 2009, at 6:35 PM, Arun wrote: Hi All, Can anyone share the released build number od Snow leopard? Thanks Arun ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post adm

Re: Launching a document-based app with no document

2009-08-28 Thread Dylan McNamee
On Aug 28, 2009, at 2:54 AM, Ken Thomases wrote: On Aug 27, 2009, at 2:49 PM, Dylan McNamee wrote: Which hook should I use to detect that my document-based app has been launched without a document having been dropped on it (or double-clicked upon)? Right now my app just launches and shows

[ANN] AppKiDo 0.983 works with Snow Leopard

2009-08-28 Thread Andy Lee
I've uploaded a new release of AppKiDo and AppKiDo-for-iPhone. * Works with the Xcode 3.2 docs (i.e., Snow Leopard). * Added NSDate to the "Strings, data, collections" quicklist. * If you switch to a different app while AppKiDo is loading,

Re: Snow Leopard SDK for non "Premier" or "Select" ADC members

2009-08-28 Thread Shawn Erickson
Snow Leopard information appears to be live now... http://developer.apple.com/mac/library/navigation/ -Shawn ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the modera

Re: Snow Leopard SDK for non "Premier" or "Select" ADC members

2009-08-28 Thread Jean-Daniel Dupas
Le 28 août 2009 à 19:48, Shawn Erickson a écrit : Snow Leopard information appears to be live now... http://developer.apple.com/mac/library/navigation/ Does not look like what I'm used to. Are you sure this is the reference Library link ; -) _

Re: Snow Leopard SDK for non "Premier" or "Select" ADC members

2009-08-28 Thread Shawn Erickson
On Fri, Aug 28, 2009 at 10:54 AM, Jean-Daniel Dupas wrote: > > Le 28 août 2009 à 19:48, Shawn Erickson a écrit : > >> Snow Leopard information appears to be live now... >> >> http://developer.apple.com/mac/library/navigation/ > > Does not look like what I'm used to. Are you sure this is the referen

Re: Snow Leopard SDK for non "Premier" or "Select" ADC members

2009-08-28 Thread Allan Donald
>> Does not look like what I'm used to. Are you sure this is the reference >> Library link ; -) > > It is a brave new world! It's working on the site, but Xcode's doc viewer still shows the ADC error page for me. More worryingly, I can't see iPhone reference docs in the UI at all, despite having i

Right-to-Left / Bidi / Arabic / Hebrew support in my app

2009-08-28 Thread Marc Wandschneider
Hello! I recently received an Arabic translation for my application JustLooking, and have started looking at how to integrate the strings I was given. Unfortunately, I'm not finding much documentation or visual indications in apps like Interface Builder on how to enable RTL support. Specifically:

[NSDate dateWithNaturalLanguageString:] on iPhone 3.0

2009-08-28 Thread Jason Brennan
In the Documentation for NSDate on iPhone OS 3.0, in the overview section -dateWithNaturalLanguageString:locale: is mentioned, but is not documented elsewhere on the page. When I attempt to use - dateWithNaturalLanguageString: I get a warning that the method can't be found. However, it still

Agent application will not pop up menu on mouse movement

2009-08-28 Thread Kalpesh Gedia
Hi My agent application will not automatically respond mouse movement. Please suggest if there any property. that is ...Select a menu bar item, like "File", "Date and Time", etc... it will automatically pop up menu. BUT when cursor moves over my application, it is not poping up menu. _

learning the NSView structure of an app?

2009-08-28 Thread sag lists
Hi, As a relatively new cocoa developer, one thing I struggle with is determining on visual inspection how an app is constructed in terms cocoa views. Some things are obvious like splitter views, the toolbar, etc. But some are not. Does anyone know if there is a way to examine the vie

Re: [NSDate dateWithNaturalLanguageString:] on iPhone 3.0

2009-08-28 Thread Kyle Sluder
On Thu, Aug 27, 2009 at 1:47 PM, Jason Brennan wrote: > In the Documentation for NSDate on iPhone OS 3.0, in the overview section > -dateWithNaturalLanguageString:locale: is mentioned, but is not documented > elsewhere on the page. When I attempt to use -dateWithNaturalLanguageString: > I get a war

Re: Snow Leopard SDK for non "Premier" or "Select" ADC members

2009-08-28 Thread Martin Hewitson
if you go to the XCode preferences and look under Documentation, you can install the docs from there. On Aug 28, 2009, at 8:33 PM, Allan Donald wrote: Does not look like what I'm used to. Are you sure this is the reference Library link ; -) It is a brave new world! It's working on the

Re: pulldown in custom NSCell

2009-08-28 Thread Corbin Dunn
On Aug 21, 2009, at 7:16 AM, Corbin Dunn wrote: On Aug 21, 2009, at 3:48 AM, Georg Seifert wrote: Hi, I want to build a custom cell similar to the one in "Transfer" list in Cyberduck. I need several pulldowns and input fields. I did looked at the code of Cyberduck but as it is written i

outlineView:dataCellForTableColumn:item: repeated called w null tableColumn on Snow Leopard

2009-08-28 Thread David Melgar
Running into a problem getting my application to run under Snow Leopard. In this case I have an outline view with a data source. The method, outlineView:dataCellForTableColumn:item: is being repeated called on my delegate with a null tableColumn, not just the first time as the documentation

Re: outlineView:dataCellForTableColumn:item: repeated called w null tableColumn on Snow Leopard

2009-08-28 Thread I. Savant
On Aug 28, 2009, at 2:58 PM, David Melgar wrote: In this case I have an outline view with a data source. The method, outlineView:dataCellForTableColumn:item: is being repeated called on my delegate with a null tableColumn, not just the first time as the documentation states. The code return

Snow Leopard Development Discussion

2009-08-28 Thread Rick Langschultz
Hey Moderators, Is it alright to discuss Snow Leopard Development and all the underlying technologies under 10.6 since it is available today? Thanks, Rick Langschultz ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: outlineView:dataCellForTableColumn:item: repeated called w null tableColumn on Snow Leopard

2009-08-28 Thread Corbin Dunn
On Aug 28, 2009, at 11:58 AM, David Melgar wrote: Running into a problem getting my application to run under Snow Leopard. In this case I have an outline view with a data source. The method, outlineView:dataCellForTableColumn:item: is being repeated called on my delegate with a null tabl

Re: Snow Leopard SDK for non "Premier" or "Select" ADC members

2009-08-28 Thread Daniel Demiss
Am 28.08.2009 um 18:32 schrieb Martin Hewitson: As far as I can tell, even with the SL DVD and XCode 3.2 installed, you still can't access the documentation without being a Select or Premier developer. D'oh! I guess it's a matter of time Then I'm going to keep my fingers crossed tha

Re: Snow Leopard Development Discussion

2009-08-28 Thread Jean-Daniel Dupas
You can at least discuss everything that is published on the Snow Leopard dev center as it's public. Le 28 août 2009 à 21:35, Rick Langschultz a écrit : Hey Moderators, Is it alright to discuss Snow Leopard Development and all the underlying technologies under 10.6 since it is available to

Re: Snow Leopard SDK for non "Premier" or "Select" ADC members

2009-08-28 Thread Martin Hewitson
The iphone sdk downloads page (http://developer.apple.com/iphone/index.action#downloads ) lists a snow leopard download. I installed this and it seems to work fine. At least I can create new projects, etc. On Aug 28, 2009, at 9:49 PM, Daniel Demiss wrote: Am 28.08.2009 um 18:32 schrieb Mar

Why would NSViewController loadView fail?

2009-08-28 Thread Eric Gorr
I am pretty sure I've got my .xib setup correctly, but when I call loadView on my View Controller, my application crashes. Unfortunately, I am not getting any useful information out of the crash. The only thing I appear to have is a stack trace, but I am not sure what it is telling me. #0

libcrypto on Snow Leopard

2009-08-28 Thread David Riggle
I converted my project to the 10.6 SDK, but now my app won't launch on Leopard: myApp[595]: dyld: Library not loaded: /usr/lib/libcrypto.0.9.8.dylib myApp[595]: Referenced from: /Users/dave/Desktop/myApp.app/Contents/ myApp myAppl[595]: Reason: image not found If I select the older libcry

Re: libcrypto on Snow Leopard

2009-08-28 Thread Nick Zitzmann
On Aug 28, 2009, at 2:41 PM, David Riggle wrote: Anybody know where that symbol was defined in 10.5? I don't think it was. OpenSSL does not have a stable API, and from what I understand, it won't until version 1.0 ships. I really don't like this Frankenstein's SDK that I'm having to cob

Re: Right-to-Left / Bidi / Arabic / Hebrew support in my app

2009-08-28 Thread Gideon King
NSCell, NSControl, NSText, NSParagraphStyle etc all have baseWritingDirection getters and setters which may be of some help...I believe the writing direction is determined on a paragraph by paragraph basis, but unless explicitly set uses the Unicode Bidi Algorithm rules P2 and P3. In many

Implementing delegates with formal protocols

2009-08-28 Thread Rick Mann
I'm trying to implement a delegate pattern in my code, where the delegate conforms to a formal protocol. But when I make the delegate ivar id and try to send it performSelectorOnMainThread:..., it complains that that action is "not found in protocol(s). I have a similar issue when trying

Re: Implementing delegates with formal protocols

2009-08-28 Thread David Duncan
On Aug 28, 2009, at 2:36 PM, Rick Mann wrote: I'm trying to implement a delegate pattern in my code, where the delegate conforms to a formal protocol. But when I make the delegate ivar id and try to send it performSelectorOnMainThread:..., it complains that that action is "not found in pr

Re: Implementing delegates with formal protocols

2009-08-28 Thread tyler
Use NSObject. Instead of id<...> Sent from my phone On Aug 28, 2009, at 2:36 PM, Rick Mann wrote: I'm trying to implement a delegate pattern in my code, where the delegate conforms to a formal protocol. But when I make the delegate ivar id and try to send it performSelectorOnMainThread:.

Re: Implementing delegates with formal protocols

2009-08-28 Thread tyler
Sorry, NSObject* delegate; Note the * Sent from my phone On Aug 28, 2009, at 2:36 PM, Rick Mann wrote: I'm trying to implement a delegate pattern in my code, where the delegate conforms to a formal protocol. But when I make the delegate ivar id and try to send it performSelectorOnMainT

Re: Implementing delegates with formal protocols

2009-08-28 Thread tyler
Usually delegates are weak references and not retained to avoid retain cycles or loops. Sent from my phone On Aug 28, 2009, at 2:36 PM, Rick Mann wrote: I have a similar issue when trying to retain and release the delegate (which I think can sometimes be avoided but should be used for st

Re: Implementing delegates with formal protocols

2009-08-28 Thread Rick Mann
Thanks for the suggestions. I have one suggestion saying to extend my protocol to conform to NSObject, and another saying I should use NSObject instead of ID. Is one approach better than the other? TIA! On Aug 28, 2009, at 14:43:16, David Duncan wrote: On Aug 28, 2009, at 2:36 PM, Rick Ma

Re: Implementing delegates with formal protocols

2009-08-28 Thread Corbin Dunn
On Aug 28, 2009, at 2:57 PM, Rick Mann wrote: Thanks for the suggestions. I have one suggestion saying to extend my protocol to conform to NSObject, and another saying I should use NSObject instead of ID. Is one approach better than the other? Yes; David's suggestion is preferred. It is

Re: Implementing delegates with formal protocols

2009-08-28 Thread Rick Mann
On Aug 28, 2009, at 15:02:13, Corbin Dunn wrote: On Aug 28, 2009, at 2:57 PM, Rick Mann wrote: Thanks for the suggestions. I have one suggestion saying to extend my protocol to conform to NSObject, and another saying I should use NSObject instead of ID. Is one approach better than the o

Re: outlineView:dataCellForTableColumn:item: repeated called w null tableColumn on Snow Leopard

2009-08-28 Thread David Melgar
I printed out all the calls. What happening is: 1. My data source/delegate/controller initWithCoder method is invoked. But its pointer to the document is not valid yet so it doesn't have data. 2. outlineView:numberOfChildrenOfItem: method is invoked. It cannot access the document and return

Re: outlineView:dataCellForTableColumn:item: repeated called w null tableColumn on Snow Leopard

2009-08-28 Thread Corbin Dunn
On Aug 28, 2009, at 3:07 PM, David Melgar wrote: I printed out all the calls. What happening is: 1. My data source/delegate/controller initWithCoder method is invoked. But its pointer to the document is not valid yet so it doesn't have data. 2. outlineView:numberOfChildrenOfItem: method is

Re: Snow Leopard Development Discussion

2009-08-28 Thread Scott Anguish
On Aug 28, 2009, at 3:35 PM, Rick Langschultz wrote: Hey Moderators, Is it alright to discuss Snow Leopard Development and all the underlying technologies under 10.6 since it is available today? Yes! Lid is off. ___ Cocoa-dev mailing list (C

CoreImage and NSImage on 10.6

2009-08-28 Thread RhapSoft
Hi, I have a very annoying crash/hang on snow leopard 10A432 when converting CIImage to NSImage. Here is the stack : #0 0x7fff88588994 in fe_tree_node_simplify #1 0x7fff885879f4 in fe_tree_refactor_transforms_ #2 0x7fff8858857e in fe_tree_refactor_transforms_ #3 0x7fff8858

bin2c GUI tool?

2009-08-28 Thread Erg Consultant
Does anyone make a GUI version of bin2c for OS X? Thanks, Erg ___ 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.app

Re: libcrypto on Snow Leopard

2009-08-28 Thread Steven Degutis
The solution to this is pretty simple, don't link to libcrypto. Instead, just #import in your file and use the CC_ prefixed functions in your app, such as CC_MD5. -- Steven Degutis http://www.thoughtfultree.com/ http://www.degutis.org/ On Fri, Aug 28, 2009 at 3:41 PM, David Riggle wrote: > I

Re: Get error message about registered observers when Object receives dealloc message

2009-08-28 Thread Graham Cox
Hi Andreas, There is a strong code smell here. How does your observee know who its observers are? Since KVO doesn't normally provide that knowledge to the observee, you must have arranged this yourself, possibly going considerably out of your way to do so. Whenever you find yourself having

Re: Implementing delegates with formal protocols

2009-08-28 Thread tyler
On Aug 28, 2009, at 3:02 PM, Corbin Dunn wrote: On Aug 28, 2009, at 2:57 PM, Rick Mann wrote: Thanks for the suggestions. I have one suggestion saying to extend my protocol to conform to NSObject, and another saying I should use NSObject instead of ID. Is one approach better than the oth

Re: outlineView:dataCellForTableColumn:item: repeated called w null tableColumn on Snow Leopard

2009-08-28 Thread David Melgar
On Aug 28, 2009, at 6:13 PM, Corbin Dunn wrote: On Aug 28, 2009, at 3:07 PM, David Melgar wrote: I printed out all the calls. What happening is: 1. My data source/delegate/controller initWithCoder method is invoked. But its pointer to the document is not valid yet so it doesn't have dat

Re: bin2c GUI tool?

2009-08-28 Thread I. Savant
Don't know. Did you ask Google? -- I.S. On Aug 28, 2009, at 7:47 PM, Erg Consultant wrote: Does anyone make a GUI version of bin2c for OS X? Thanks, Erg ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requ

Re: pulldown in custom NSCell

2009-08-28 Thread Andreas Mayer
Am 21.08.2009 um 12:48 Uhr schrieb Georg Seifert: What I found is that the Cell, in its drawwithFrame method, adds subview to the TableView and this subview handles all the drawing and handling. Is this appropriate or is there a better solution. In case you don't need a fully fledged Table

Testing 32/64 bit and/or PPC

2009-08-28 Thread Chris Idou
If you have a universal binary, 32/64 and/or PPC, is there a way to force it to run one way or the other for testing purposes? __ Find local businesses and services in your area with Yahoo!7 Local. Get sta

Using multiple fonts in a UITextView

2009-08-28 Thread lorenzo7620
I'd like to use two different fonts in a UITextView, in much the same way a UITableviewCell has its detailTextLabel. My ultimate goal is to create a table cell that can handle multiple lines of text and an additional 'detailtextLabel' in a different font, while still maintaining the datadet

Re: Testing 32/64 bit and/or PPC

2009-08-28 Thread Keitaroh Kobayashi
On Sat, Aug 29, 2009 at 12:31 AM, Keitaroh Kobayashi wrote: > look up "arch" in the manpages > > > On Fri, Aug 28, 2009 at 11:13 PM, Chris Idou wrote: > >> >> >> >> If you have a universal binary, 32/64 and/or PPC, is there a way to force >> it to run >> >> one way or the other for testing purpos

Setting default button to Window containing box.

2009-08-28 Thread Vijay Kanse
Hello list, My application have window containing button, box , ImageView and Labels. box contains some text field and popup buttons. I am making one Button as default button cell for Window, and running the application, Mouse is Vibrating under the Application window Area. I tried to set default

strncat on Leopard vs. Snow Leopard

2009-08-28 Thread David Riggle
When I compile my app on Snow Leopard and run it on Leopard, strncat erroneously aborts with "detected buffer overflow". I think there was a bug in the Leopard version of strncat that was fixed in the Snow Leopard version. http://www.opensource.apple.com/source/Libc/Libc-498/secure/strncat_

Re: core-data app design question

2009-08-28 Thread Michael Thon
On Aug 28, 2009, at 8:37 AM, Martin Hewitson wrote: Dear list, I have a question, or rather, I'm looking for advice, on the design of an application. Essentially I'm wanting to write a labbook-type application. My plan was to use core-data for the model. In the model will be an Entry ent