Skip to content

Rename frameworks according to Cocoa convention#60

Merged
jeanbarrossilva merged 2 commits into
mainfrom
framework-renaming
Mar 6, 2026
Merged

Rename frameworks according to Cocoa convention#60
jeanbarrossilva merged 2 commits into
mainfrom
framework-renaming

Conversation

@jeanbarrossilva
Copy link
Copy Markdown
Collaborator

@jeanbarrossilva jeanbarrossilva commented Mar 6, 2026

Apple adopts a naming convention for all of its system frameworks. Oddly, such convention is not documented officially. There is, however, an implicit understanding of the meaning of each suffix included in their names:

  • Foundation
    Low-level, client-agnostic framework providing support for general programming concepts, such as string or floating-point manipulation. This category of frameworks does not introduce a new domain; rather, it implements those that are already established in the discipline and can be used by any domain specific to whichever applications.
  • Core
    Similar to a foundation framework, differing in that it is specific to a domain of the operating system or application.
  • Kit
    Provides client-specific implementations of the abstractions exposed by a core framework. E.g., a DatabaseProtocol may be defined in a DatabaseCore framework; a DatabaseKit framework may, then, expose an SQLDatabase implementation conforming to that protocol.
  • UI
    Less common as system frameworks, the primary role of a UI framework in Deus is to expose views for rendering on the screen of the device on which the application is being run. These views are not tied to a given domain of the application, and may be referenced by multiple feature frameworks.
  • Feature
    Even less common than UI frameworks as system frameworks, feature frameworks provide one or multiple user interfaces of a domain of the application, which may be rendered on the screen. This type of framework may use views defined in a UI framework, and differs from the latter in that it is specific to a domain.

@jeanbarrossilva jeanbarrossilva self-assigned this Mar 6, 2026
@jeanbarrossilva jeanbarrossilva added the dev Developer-facing change, unnoticeable by the end user label Mar 6, 2026
@jeanbarrossilva jeanbarrossilva merged commit 37c89b2 into main Mar 6, 2026
2 checks passed
@jeanbarrossilva jeanbarrossilva deleted the framework-renaming branch March 6, 2026 21:15
@jeanbarrossilva jeanbarrossilva restored the framework-renaming branch March 6, 2026 21:15
@jeanbarrossilva jeanbarrossilva deleted the framework-renaming branch March 6, 2026 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dev Developer-facing change, unnoticeable by the end user

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant