[PyObjC-svn] r2116 - trunk/pyobjc/pyobjc-framework-Cocoa/Lib/PyObjCTools

[email protected]
Newsgroups gmane.comp.python.pyobjc.cvs
Message-ID <[email protected]>
Author: ronaldoussoren
Date: Sun Mar 22 12:54:55 2009
New Revision: 2116

Log:
Officially deprecate PyObjCTools.NibClassBuilder


Modified:
   trunk/pyobjc/pyobjc-framework-Cocoa/Lib/PyObjCTools/NibClassBuilder.py

Modified: trunk/pyobjc/pyobjc-framework-Cocoa/Lib/PyObjCTools/NibClassBuilder.py
==============================================================================
--- trunk/pyobjc/pyobjc-framework-Cocoa/Lib/PyObjCTools/NibClassBuilder.py	(original)
+++ trunk/pyobjc/pyobjc-framework-Cocoa/Lib/PyObjCTools/NibClassBuilder.py	Sun Mar 22 12:54:55 2009
@@ -3,6 +3,15 @@
 """NibClassBuilder.py -- Tools for working with class definitions in
 "Next Interface Builder" files ("nibs").
 
+NOTE: This module is deprecated and is not supported with modern versions
+of Interface Builder because those uses a NIB format that is not compatibility
+with NibClassBuilder. We have no intention whatsoever to fix the compatibility
+issues, use explicit definitions instead. On a more possitive note: IB 3.0
+fully supports reading class definitions from Python files, which removes
+the reason why we wrote this module in the first place.
+
+
+
 
 Extracting class definitions from nibs.
 
@@ -60,6 +69,9 @@
 import os
 import objc
 
+import warnings
+warnings.warn("PyObjCTools.NibClassBuilder is deprecated, use explicit definitions instead", DeprecationWarning)
+
 
 __all__ = ["AutoBaseClass", "NibInfo", "extractClasses"]
 

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.