Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I'm working on an iPhone application and I created a component diagram. I defined interfaces for each component. For example I have an AI component and I have made some interfaces for it.

How should I carry on? Should I create a class diagram to go into details, should I go into details of each interface or should I just start implementing my interfaces?

I am a bit confused on how to proceed.

share|improve this question

migrated from stackoverflow.com Feb 22 '12 at 15:53

This question came from our site for professional and enthusiast programmers.

1  
@Eugene Please don't post in multiple sites, questions can be automatically moved to the right site... I deleted the other question, since this one already has an answer. –  Yannis Rizos Feb 22 '12 at 15:58
add comment

2 Answers

up vote 0 down vote accepted

As rule of thumb, you start with the logic of your application and then continue with the implementation.

So you should first complete your interface declarations.

Continue to the class diagram to model your classes.

Finally write the code itself.

share|improve this answer
add comment

For your class:

you should ask your instructor what is expected and do that

For the real world:

you should stop drawing pointless diagrams and implement something already

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.