App protocol
E215101
The App protocol is a core SwiftUI construct that defines an app’s entry point and overall lifecycle, replacing the traditional UIApplicationDelegate-based setup.
All labels observed (1)
| Label | Occurrences |
|---|---|
| App protocol canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T1935726 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: App protocol Context triple: [SwiftUI, usesConcept, App protocol]
-
A.
Google app
The Google app is a mobile application by Google that provides integrated search, personalized information, and smart assistant features on Android and iOS devices.
-
B.
Files app
The Files app is Apple’s file management application for iPadOS that lets users browse, organize, and access documents and cloud storage in a unified interface.
-
C.
Syl Apps
Syl Apps was a Canadian professional ice hockey centre and Hall of Famer best known as a star player for the Toronto Maple Leafs in the 1930s and 1940s.
-
D.
STM mobile app
STM mobile app is the official mobile application of Montréal’s public transit agency, providing users with tools to plan trips, check schedules, and access real-time transit information.
-
E.
Appar
Appar was a prominent 7th-century Tamil Shaivite saint and poet whose devotional hymns greatly shaped the Bhakti movement in South India.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: App protocol Target entity description: The App protocol is a core SwiftUI construct that defines an app’s entry point and overall lifecycle, replacing the traditional UIApplicationDelegate-based setup.
-
A.
Google app
The Google app is a mobile application by Google that provides integrated search, personalized information, and smart assistant features on Android and iOS devices.
-
B.
Files app
The Files app is Apple’s file management application for iPadOS that lets users browse, organize, and access documents and cloud storage in a unified interface.
-
C.
Syl Apps
Syl Apps was a Canadian professional ice hockey centre and Hall of Famer best known as a star player for the Toronto Maple Leafs in the 1930s and 1940s.
-
D.
STM mobile app
STM mobile app is the official mobile application of Montréal’s public transit agency, providing users with tools to plan trips, check schedules, and access real-time transit information.
-
E.
Appar
Appar was a prominent 7th-century Tamil Shaivite saint and poet whose devotional hymns greatly shaped the Bhakti movement in South India.
- F. None of above. chosen
Statements (46)
| Predicate | Object |
|---|---|
| instanceOf | SwiftUI protocol ⓘ |
| bodyReturnType | Scene ⓘ |
| canCoexistWith |
AppKit lifecycle via NSApplicationDelegateAdaptor
ⓘ
UIKit lifecycle via UIApplicationDelegateAdaptor ⓘ |
| category | application lifecycle API ⓘ |
| commonlyUsedSceneType |
DocumentGroup
ⓘ
Settings ⓘ WindowGroup ⓘ |
| configuredIn | Swift source file ⓘ |
| conformsTo | Swift protocol ⓘ |
| definedIn |
SwiftUI
ⓘ
surface form:
SwiftUI framework
|
| designGoal |
simplify app lifecycle management
ⓘ
unify app structure across Apple platforms ⓘ |
| documentedAt | Apple Developer Documentation ⓘ |
| enables |
SwiftUI-only app lifecycle
ⓘ
declarative app structure ⓘ |
| entryPointDefinedBy | @main struct MyApp: App ⓘ |
| integratesWith | Environment values such as scenePhase ⓘ |
| introducedIn |
Swift
ⓘ
surface form:
Swift 5.3
|
| introducedInOSVersion |
iOS 14
ⓘ
macOS 11 ⓘ tvOS 14 ⓘ watchOS ⓘ
surface form:
watchOS 7
|
| language | Swift ⓘ |
| lifecycleModel | scene-based lifecycle ⓘ |
| ownedBy | Apple Inc. ⓘ |
| primaryRole |
define app entry point
ⓘ
manage app lifecycle ⓘ |
| relatedTo |
NSApplicationDelegate
ⓘ
Scene protocol (SwiftUI) ⓘ UIApplicationDelegate ⓘ WindowGroup (SwiftUI) ⓘ |
| replaces |
NSApplicationDelegate-based app setup
ⓘ
UIApplicationDelegate-based app setup ⓘ |
| replacesFileType |
@UIApplicationMain entry
ⓘ
NSApplicationMain entry ⓘ main.m ⓘ |
| requiresProperty | var body: some Scene ⓘ |
| supportsFeature |
multiple windows on supported platforms
ⓘ
scene phase handling ⓘ |
| supportsPlatform |
iOS
ⓘ
macOS ⓘ tvOS ⓘ watchOS ⓘ |
| typicalUsage | @main struct MyApp: App { var body: some Scene { WindowGroup { ContentView() } } } ⓘ |
| usedWithAttribute | @main ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: App protocol Description of subject: The App protocol is a core SwiftUI construct that defines an app’s entry point and overall lifecycle, replacing the traditional UIApplicationDelegate-based setup.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.