What is the most correct way to express a iOS framework in UML? Package diagram or component diagram?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It depends on the context – what do you want to depict. Package diagrams have a special stereotype for frameworks –
<<framework>>, packages can be hierarchically composed, imported, contain other classifiers and they can be merged, where as in component diagrams you can depict different kinds of realtionships between components – requires and provides, which is interesting for the dependency analysis, and components are instantiable. There are many differences, as said, it depends on your intent.