开发者

UML and iOS Frameworks

开发者 https://www.devze.com 2023-03-06 18:15 出处:网络
What is the most correct 开发者_JAVA技巧way to express a iOS framework in UML? Package diagram or component diagram?It depends on the context - what do you want to depict. Package diagrams have a spec

What is the most correct 开发者_JAVA技巧way to express a iOS framework in UML? Package diagram or component diagram?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消