Revision: 7149
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7149&view=rev
Author:   hofman
Date:     2011-03-11 13:16:12 +0000 (Fri, 11 Mar 2011)

Log Message:
-----------
declare method non-deprecated when using the 10.6 SDK because Apple refuses to 
fix this

Modified Paths:
--------------
    trunk/SKDocumentController.m

Modified: trunk/SKDocumentController.m
===================================================================
--- trunk/SKDocumentController.m        2011-03-11 12:56:48 UTC (rev 7148)
+++ trunk/SKDocumentController.m        2011-03-11 13:16:12 UTC (rev 7149)
@@ -81,6 +81,13 @@
 
 NSString *SKDocumentControllerDocumentKey = @"document";
 
+#if MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_5
+@interface NSDocumentController (SKDeprecated)
+// we don't want this to be flagged as deprecated, because Apple's replacement 
using UTIs is too buggy, and there's no replacement for this method
+- (NSArray *)fileExtensionsFromType:(NSString *)documentTypeName;
+@end
+#endif
+
 @implementation SKDocumentController
 
 + (void)initialize {


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to