Using a component in project

From rootshell wiki

(Difference between revisions)
Jump to: navigation, search
(Minimal guide for using components in new projects)
Line 2: Line 2:
SuperMonko Components are stored in the common repository, addressed below : <br>
SuperMonko Components are stored in the common repository, addressed below : <br>
-
<code>http://svn2.xp-dev.com/svn/Monko-Components/Source</code>
+
<code>https://svn2.xp-dev.com/svn/tov_components/trunk/Source</code>
To use a component in a project, follow these steps :
To use a component in a project, follow these steps :
Line 10: Line 10:
#* If there exists any Components directory, it means, you've currently imported the repository and you can skip to next step
#* If there exists any Components directory, it means, you've currently imported the repository and you can skip to next step
#* Edit the external items list using <pre>svn propedit svn:externals .</pre>
#* Edit the external items list using <pre>svn propedit svn:externals .</pre>
-
#* Add the following line to the list <pre>Components  http://svn2.xp-dev.com/svn/Monko-Components/Source</pre>
+
#* Add the following line to the list <pre>Components  https://svn2.xp-dev.com/svn/tov_components/trunk/Source</pre>
#* Save the list and exit
#* Save the list and exit
#* Update your code repository to check out the new external item to your project <pre>svn update</pre>
#* Update your code repository to check out the new external item to your project <pre>svn update</pre>
Line 18: Line 18:
-
* Please '''don't import the whole Components directory''' into the project and follow those steps stated above to select individual components you need.
+
* Please '''don't import the whole Components directory''' into the xcode project and follow those steps stated above to select individual components you need.
{{SuperMonkoFooter}}
{{SuperMonkoFooter}}

Revision as of 04:41, 28 June 2010

Processes

Index

This page belongs to Turned On Ventures Guideline Series.


SuperMonko Components are stored in the common repository, addressed below :
https://svn2.xp-dev.com/svn/tov_components/trunk/Source

To use a component in a project, follow these steps :

  1. Check out the component repository
    • Open a terminal
    • Switch current directory to Classes folder under your sub-project
    • If there exists any Components directory, it means, you've currently imported the repository and you can skip to next step
    • Edit the external items list using
      svn propedit svn:externals .
    • Add the following line to the list
      Components   https://svn2.xp-dev.com/svn/tov_components/trunk/Source
    • Save the list and exit
    • Update your code repository to check out the new external item to your project
      svn update
  2. Open your xcodeproj file using XCode and create a new Group called Components if it doesn't exists
  3. Right-click on Components group and select Add => Existing Files
  4. Navigate to Components folder under Classes directory and select individual components you want to import


  • Please don't import the whole Components directory into the xcode project and follow those steps stated above to select individual components you need.




HierarchyPrevious.gif Starting A New Component | Management HierarchyNext.gif


Copyright Turned On Ventures 2010, turnedonventures.com

Personal tools