QTKitPlayer and IB 3.0

2008-05-17 Thread Wolf
not find any references to my problem. Best regards, Wolf ___ 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/Un

Re: CAScrollLayer scrollToPoint: suppress animation

2010-05-11 Thread Simon Wolf
) kCFBooleanTrue forKey: > kCATransactionDisableActions]; > [CATransaction commit]; Try something like this: [CATransaction begin]; [CATransaction setValue:[NSNumber numberWithFloat:0.0f] forKey:kCATransactionAnimationDuration]; [scrollLayer scrollToPoint:...]; [CATransaction commit

Re: Mail Frameworks

2010-06-02 Thread Simon Wolf
d a problem with spaces in attachment names. Again, you can read about it in their forums at: http://www.mulle-kybernetik.com/forum/viewtopic.php?f=5&t=59 However the framework is easy to use and has been reliable and I worked around the last

Re: Appropriate -setWantsLayer: timing

2010-02-18 Thread Simon Wolf
h may not (in my experience ever) be in the current run loop. Simon Wolf Website: http://www.ottersoftware.com Twitter: http://www.twitter.com/sgaw On 16 Feb 2010, at 20:52, Keith Duncan wrote: > I'm wondering when writing a layer hosting view, when the most appropriate > time is to s

Re: Appropriate -setWantsLayer: timing

2010-02-18 Thread Simon Wolf
initWithFrame: and in -awakeFromNib without any problems. At the very least you could check in -awakeFromNib to see if the view is already layer-backed and only call setWantsLayer: if it is not. Simon Wolf Website: http://www.ottersoftware.com Twitter: http://www.twitter.com/sgaw iChat: simo

Re: Appropriate -setWantsLayer: timing

2010-02-19 Thread Simon Wolf
On 19 Feb 2010, at 03:50, Scott Anguish wrote: > > On Feb 16, 2010, at 5:45 PM, Simon Wolf wrote: > >>> >>> I'm wondering when writing a layer hosting view, when the most appropriate >>> time is to set the layer and call -setWantsLayer:YES? >>&g

Re: XML schema support (Stuart Malin)

2008-05-19 Thread Richard Wolf
Just an FYI, NSXMLDocument's initWithContentsOfURL:options:error: and initWithData:options:error: methods allow you to verify an XML document using a DTD or XMLSchema XSD. One of the "options" you can XOR is NSXMLDocumentValidate. As verifying against a DTD or XSD are, pretty much, the

Re: Newbie Question re Allocation & Initialization

2008-05-19 Thread Simon Wolf
On 20 May 2008, at 01:18, Brad Gibbs wrote: On pages 36-7 of Aaron Hillegass' new book, he provides sample code for a Foundation Tool called Lottery. The code is below: NSMutableArray *array; array = [[NSMutableArray alloc] init]; int i; for (i = 0; i < 10; i++) {

Re: DirWatch

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

URL Text Color in NSTextView

2008-08-11 Thread Simon Wolf
I am using an NSTextView to display the contents of a Credits.html file. The credits file contains URLs which I am specifying as HTML links. For example, one line in my Credits.html file may be: "Distributed under a http://creativecommons.org/licenses/by/3.0/ " target="_blank">Creative Commo

Re: URL Text Color in NSTextView

2008-08-11 Thread Simon Wolf
On 11 Aug 2008, at 14:27, Uli Kusterer wrote: On 11.08.2008, at 14:45, Simon Wolf wrote: All of my attempts to change the foreground color via NSForegroundColorAttributeName have failed so far as have attempts to set the color in the Credits.html file (CSS works for standard text, not

Re: Reading XML (Mr. Gecko)

2008-05-04 Thread Richard Wolf
Is there any like framework that will let you do that? Is there an example for how to read xml? Is there a tutorial? Yes, yes, and yes. Mr. Gecko, In answer to your queries ... one word. XQuery. NSXMLNode's objectsForXQuery:error: and objectsForXQuery:constants:error: do exactly what you w

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

2008-05-05 Thread Richard Wolf
Christian, It's just like I posted to Mr. Gecko. XQuery is your friend. XPath returns nodes, XQuery allows you to return values. An XQuery to return the text inside your DiaIndex/Items is simple ... it would look like this: let $result := ./DiaIndex/Item return $result Notice that X

Re: Accessing attributes of XML (Christian Graus)

2008-05-05 Thread Richard Wolf
On May 5, 2008, at 6:49 PM, [EMAIL PROTECTED] wrote: I had to pick up the XPath stuff recently for a project I was working on, and I've got to say that once you get yourself thinking in that way, it's really very nice for inspecting XML files, giving you great, readable control for grabbing

NSApplicationMain & Main NIB File

2008-05-09 Thread Simon Wolf
I'm going to apologise here in my first contribution to this list for the potential stupidity of my questions. I'm a VB developer who has been a Mac user for several years but I'm only now starting to dip my toe into XCode and I think that I'm going to have loads of questions, some practica

Re: NSApplicationMain & Main NIB File

2008-05-09 Thread Simon Wolf
dit Active Target" then under the properties tab you'll see "Main Nib Class". This is where is it defined. Stephan Le 9 mai 08 à 11:10, Simon Wolf a écrit : I'm going to apologise here in my first contribution to this list for the potential stupidity of my questions.

Re: NSApplicationMain & Main NIB File

2008-05-09 Thread Simon Wolf
On 9 May 2008, at 12:48, Paul Sargent wrote: On 9 May 2008, at 10:10, Simon Wolf wrote: I'm going to apologise here in my first contribution to this list for the potential stupidity of my questions. I'm a VB developer who has been a Mac user for several years but I'm only

Re: NSApplicationMain & Main NIB File

2008-05-09 Thread Simon Wolf
On 9 May 2008, at 16:11, Jens Alfke wrote: On 9 May '08, at 6:41 AM, Simon Wolf wrote: So much to learn ... but what a fantastically refreshing change from VB6 and .Net. So I gather :) I just read this excellent article on ArsTechnica by a Windows developer who's recently switc

NSNumberFormatter Changes Reflected In NSTextField

2008-05-09 Thread Simon Wolf
I have an NSTextField with an associated NSNumberFormatter which I am using to format the values shown to a specific number of decimal places. I have a second NSTextField which I am using to display and edit the number of decimal places that I want shown and I have used the controlTextDidEn

Re: NSNumberFormatter Changes Reflected In NSTextField

2008-05-12 Thread Simon Wolf
On 9 May 2008, at 16:59, Simon Wolf wrote: I have an NSTextField with an associated NSNumberFormatter which I am using to format the values shown to a specific number of decimal places. I have a second NSTextField which I am using to display and edit the number of decimal places that I

Re: Cocoa Programming iPing exercise

2008-10-02 Thread Simon Wolf
On 1 Oct 2008, at 18:25, Shawn Protsman wrote: I finally decided to take a dive into Objective-C with Xcode. I'm looking at the iPing example in Hillegass' latest book, Cocoa Programming. iPing works fine as coded in the book. Next, I decided to replace `ping` with a binary I wrote called `

Re: NSDateFormatter strangeness

2008-11-18 Thread Simon Wolf
it's clear that there is a problem converting from the string to date. Is there an issue with creating static NSDateFormatters? Its curious because some of the date formatters in my app work as expected, others do not. Set your date format string to "dd/MM/" [formatter setD

Core Animation: How to swicth off all implicit animations?

2008-11-22 Thread Wolf Hauser
there a (simple) way to switch all these implicit behaviors off (while keeping the possibility to stack the two views in layers)? Any suggestions would be very appreciated... Wolf ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Re: Core Animation: How to swicth off all implicit animations?

2008-11-22 Thread Wolf Hauser
ind is a possibility to switch the effects off completely. Not only for specific classes, where I have no influence on subviews, not only for one specific transaction, where I do not exactly know when it is triggered, but entirely, completely, off. For all

Re: Core Animation: How to swicth off all implicit animations?

2008-11-23 Thread Wolf Hauser
But now I have tried (1) and (2) of your suggestions, and both work great! So my problem is resolved. Many thanks again. Wolf Le 23 nov. 08 à 03:11, Michael Ash a écrit : 1) Ditch the layers, and simply place your view in front of the WebView. Ignore the stuff you've been reading

NSXMLDocument xsi:noNamespaceSchemaLocation attribute accepted in validateAndReturnError method?

2008-02-28 Thread Richard Wolf
But the validateAndReturnError method in NSXMLDocument does not see that attribute ... only xsi:schemaLocation. Am I just missing something obvious here? :) Many thanks in advance for any insight. Richard K. WolfUniversity of Illinois at Chicago [EMAIL PROTECTED] (work)

NSFileHandleDataAvailableNotification doesn't clear the [[notification userInfo] objectForKey:NSFileHandleNotificationDataItem]

2010-11-25 Thread Wolf Stephan Kappesser
buffer, I can't clear. The effect is that the engine answer to input which is depreciated. I can't determine this behavior. There are someone how knows, were I can get help, or have a solution directly. If need I can send you code snips and log files. Best regards

[SOLVED] Re: NSFileHandleDataAvailableNotification doesn't clear the [[notification userInfo] objectForKey:NSFileHandleNotificationDataItem]

2010-11-26 Thread Wolf Stephan Kappesser
I have solved the problem while using NSFileHandleNotificationDataItem and the Notification constant NSFileHandleReadCompletionNotification. Am 24.11.2010 um 15:45 schrieb Wolf Stephan Kappesser: > Hello, > > I am trying to connect a chess engine (via UCI) to my obj-c program. >

Re: Problems with ScriptingBridge and iTunes

2008-03-01 Thread Jonathan &#x27;Wolf' Rentzsch
ame thing -- Scripting Bridge may play games isKindOfClass: that bite us. My work-around is to test by class name: if ([[track className] isEqualToString:@"ITunesURLTrack"]) { /* ... */ } | Jonathan 'Wolf' Rentzsch http://rentzsch.com | Red Shed S