Skip to content
Repos

DevPlaceApp

Markdown 3.9 KB50 lines Opens in site

Directory Raw Download

iOS to C++ mapping

Status: EXACT (same behavior), CLOSEST (nearest native equivalent, recorded as DIFF in PARITY_CHECKLIST.md), UNSUPPORTED (replacement stated). SDL3 version used: 3.4.2 (SDL3_ttf 3.2.2). Implicit approval of every CLOSEST and UNSUPPORTED row is this document.

iOS C++ Status Note
SwiftUI View tree ui::View tree rebuilt each frame (src/ui) EXACT same proposal/size layout protocol
@Observable ViewModel Screen subclass members + Observable stores EXACT UI redraws on demand
NavigationStack, navigationDestination ui::Navigator, Screen, push/pop with 0.35 s slide CLOSEST no glass bar (DIFF-08); edge swipe and Esc pop
TabView + badges ui::TabView floating capsule bar CLOSEST iOS 26 metrics estimated (A-02)
Form, Section, Toggle, Picker ui::Form, Switch, MenuPicker CLOSEST native control metrics estimated
DatePicker (compact) ui::DatePicker popover calendar CLOSEST
Alert, confirmationDialog ui::Overlays::alert/confirmationDialog CLOSEST
fullScreenCover, sheet Overlays::sheet(SheetStyle) CLOSEST
popover, Menu Overlays::popover/menu CLOSEST
TextField, SecureField, TextEditor ui::TextField/TextEditor CLOSEST no iOS keyboard, IME commit text only
ScrollView, refreshable ui::ScrollView with momentum, drag, wheel, pull to refresh CLOSEST pull is drag-down at top
LazyVStack VStack with draw culling EXACT
ViewThatFits ui::ViewThatFits EXACT horizontal axis
ProgressView ui::ProgressSpinner EXACT 12 spoke spinner
SF Symbols Lucide icons via Icons::resolve CLOSEST glyph shapes differ (DIFF-06)
SF Pro Inter 4.1 CLOSEST metrics via SF line-height table (DIFF-01)
Emoji Noto Color Emoji, downscaled CLOSEST glyph art differs from Apple Color Emoji
Color assets (Display-P3) spec/Theme.hpp sRGB CLOSEST ADR 0004
preferredColorScheme SettingsStore.appearance, SDL_GetSystemTheme EXACT default Dark
Dynamic Type fixed default size UNSUPPORTED replaced by fixed sizes (DIFF-09)
URLSession / KreeRequest NetworkService over aiohttpcpp EXACT
URLSessionWebSocketTask SocketSession over ws_connect EXACT
Codable / JSONDecoder nlohmann/json, fromJson per model EXACT strict where Swift is strict
ISO8601 decoding DateCodec EXACT
UserDefaults SettingsStore (settings.json, atomic) CLOSEST
Keychain (SwiftKeychainWrapper) SessionStore (session.json, mode 0600) CLOSEST plaintext file, DIFF-03
APNs, UNUserNotificationCenter unread poll every 60 s + window title count UNSUPPORTED DIFF-04
App icon badge window title "(n) DevPlace" CLOSEST
scenePhase .active SDL window focus gained EXACT
MarkdownUI ui::MarkdownView (GFM subset) CLOSEST theme defaults partly UNVERIFIED
AsyncSVGImage (CoreSVG) nanosvg rasterizer CLOSEST
NetworkImage cache RemoteImages LRU 64 MiB CLOSEST
PHPicker / file import SDL_ShowOpenFileDialog CLOSEST
ShareLink / share sheet save dialog and clipboard CLOSEST
AVPlayer video open URL in system player UNSUPPORTED DIFF-10
UIPasteboard SDL_SetClipboardText EXACT
Link(destination:) SDL_OpenURL EXACT
Haptics none UNSUPPORTED
VoiceOver label tree via --dump-a11y, keyboard focus UNSUPPORTED DIFF-05
BGTaskScheduler none (no background tasks existed) EXACT
Info.plist / entitlements none needed (plist empty, only aps-environment) EXACT
Localizable.strings none existed; English in spec/*Spec.hpp EXACT
SwiftPM MarkdownUI, KreeRequest, SwiftKeychainWrapper own code, aiohttpcpp, file store EXACT no third-party UI deps
26.8ms