Commits

Bob Ippolito committed 919c5b9

Small corrections to the embedding tutorial.

  • Participants
  • Parent commits 00a527b
  • Branches pyobjc-ancient

Comments (0)

Files changed (3)

File Doc/tutorial_embed/extending_objc_with_python.html

 </li>
 <li>Add <code><span>dist/ITunesCommunication.plugin</span></code> to the Resources folder in your
 Xcode project.  You can do this by ctrl-clicking the Resources folder
-and choosing &quot;Add Existing Files...&quot;.</li>
+and choosing &quot;Add Existing Files...&quot;.  Make sure to choose
+&quot;Create Folder References for any added folders&quot;.</li>
 <li>Open <code><span>main.m</span></code>, it is in the &quot;Other Sources&quot; folder in your Xcode
 project, and change the main(...) function to the following:<pre>
 int main(int argc, const char *argv[]) {

File Doc/tutorial_embed/extending_objc_with_python.txt

 
 10. Add ``dist/ITunesCommunication.plugin`` to the Resources folder in your
     Xcode project.  You can do this by ctrl-clicking the Resources folder
-    and choosing "Add Existing Files...".
+    and choosing "Add Existing Files...".  Make sure to choose
+    "Create Folder References for any added folders".
 
 11. Open ``main.m``, it is in the "Other Sources" folder in your Xcode
     project, and change the main(...) function to the following::

File Doc/tutorial_embed/src/ITunesCommunication_2.py

 # Since the NIB files are in the application, NOT the plugin, we
 # need to specify this explicitly.  Typicaly, NIB files would be in the
 # plugins.
-NibClassBuilder.extractClasses("CDInfoDocument" bundle=NSBundle.mainBundle())
+NibClassBuilder.extractClasses("CDInfoDocument", bundle=NSBundle.mainBundle())
 
 class ITunesCommunication(NibClassBuilder.AutoBaseClass):
     def init(self):