Compiler Warning: 'NSDate' may not respond to '+dateWithTimeInterval:sinceDate:'

2010-03-26 Thread Alec Stewart
This compiler warning " 'NSDate' may not respond to '+dateWithTimeInterval:sinceDate:' "is driving me up the wall. I don't understand why I am getting the warning because, by all indications, +dateWithTimeInterval:sinceDate: has not been deprecated. I would be extremely grateful for any insight.

Re: Compiler Warning: 'NSDate' may not respond to '+dateWithTimeInterval:sinceDate:'

2010-03-26 Thread Alec Stewart
Thanks very much! That took care of the problem. On Fri, Mar 26, 2010 at 10:12 AM, David Duncan wrote: > On Mar 26, 2010, at 1:23 AM, Alec Stewart wrote: > > > This compiler warning " 'NSDate' may not respond to > '+dateWithTimeInterval:sinceDate:' &

View switching problem: can't delay execution of code until after UI elements in new view have finished loading

2010-06-10 Thread Alec Stewart
Dear Cocoa users, I'm trying to implement view switching based on the view switching example in Hillegass. I have a main window with a box that contains other views. The following method, in the view controller class for the main window, switches the views contained in the box and resizes the bo

Using XSLT functions with NSXMLDocument

2010-07-19 Thread Alec Stewart
Hello, I'm trying to transform a NSXML document using objectByApplyingXSLT. This is working okay as long as I don't use any XSLT functions in my xslt sheet. When I try to use the XSLT functions adjust-dateTime-to-timezone and dateTime in my XSLT sheet I get these errors at run time: mlXPathCom

Creating an NSXMLDocument without the xml declaration

2010-07-28 Thread Alec Stewart
Hello, Does anyone know of a way to create an NSXMLDocument that does not contain the the wrote: > A reminder. > > Xcode 4 is under non-disclosure. So you can’t talk about it here, or on the > xcode-users list. > > There are forums that are appropriate. Check the devforums.apple.com for > more i