Using a component in project

From rootshell wiki

Revision as of 06:27, 15 May 2010 by Admin (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Processes

Index

This page belongs to Turned On Ventures Guideline Series.


SuperMonko Components are stored in the common repository, addressed below :
http://svn2.xp-dev.com/svn/Monko-Components/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   http://svn2.xp-dev.com/svn/Monko-Components/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 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