Starting A New Component

From rootshell wiki

Jump to: navigation, search


This page belongs to Turned On Ventures Guideline Series.

When you are creating a new component, note that :

  • We hold only one copy of each component, which is located in Super-Monko Component repository
  • Components should be written with reusing concept in mind, without any project-specific codes
  • Components should deliver their events to the client using Objective-C Protocols

Steps to create a new component :

  • Create a header file for component event delivery protocol
  • Document each interface message and describe about the overall behavior, arguments and the return value.
  • Commit the component into the following svn repository under the Source folder:
  • Create a new test project under UnitTests Folder and import the component
  • Implement test cases and verify the component behavior
  • Check the component for memory leaks using Instruments

HierarchyPrevious.gif Starting Project | Using a component in project HierarchyNext.gif

Copyright Turned On Ventures 2010,

Personal tools