Symbols: 63.5% of Apple's iOS API (40 of 63, exact) · Rows: 7: 5 ✅ 2 ❌ · iOS: 14.0+
Area: Developer tools · Apple: DeveloperToolsSupport · Issues: area:devtools
- Adapted: the preview types;
#Previewis expanded by isim's macro plugin and rendered byisim preview. Rows: SwiftUI and Platform. - Adapted: the asset catalog resources
ImageResourceandColorResource(isim/swift/overlays/DeveloperToolsSupport.swift) name an asset and its bundle;isim buildgenerates Xcode'sGeneratedAssetSymbols.swift/.hnaming them, and UIKit and SwiftUI load them from isim's asset catalog format.
| API / feature | Status | iOS | Notes |
|---|---|---|---|
ImageResource, ColorResource (init(name:bundle:)) |
✅ | ≤17 | an asset's name and bundle; UIImage(resource:) / UIColor(resource:) and SwiftUI's Image(_:) / Color(_:) load them (iOS 17 in Apple's documentation; usable with older deployment targets, as Xcode 15+ generates them). Tested (HelloAssetSymbols: test_asset_symbols) |
Generated asset symbols (GeneratedAssetSymbols.swift / .h) |
✅ | ≤17 | isim build writes them for the target's asset catalogs like Xcode: ColorResource / ImageResource members (ASSETCATALOG_COMPILER_GENERATE_ASSET_SYMBOLS, default YES; names in lower camel case without a trailing "Color" / "Image": "AccentColor" is .accent, "hero-image" is .hero), with ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS (YES in new projects) UIColor / UIImage / Color / ShapeStyle members for ASSETCATALOG_COMPILER_GENERATE_ASSET_SYMBOL_FRAMEWORKS (default SwiftUI and UIKit), and ACColorName… / ACImageName… constants for Objective-C; Swift packages get them over Bundle.module (unverified). Namespaced folders (provides-namespace) are not supported, as in isim's asset catalogs. Tested (HelloAssetSymbols: test_generated_asset_symbols_source, test_asset_symbols, test_asset_symbols_dark) |
PreviewTrait (init(_:...) combining traits; the layouts and orientations; .modifier(_:) from SwiftUI) |
✅ | ≤17 | adapted: isim preview applies the layout traits (default, size that fits, fixed) of the combined traits in order, and a SwiftUI PreviewModifier's body around the content. Tested (HelloSwiftUI previews: test_previews) |
LibraryContentProvider, LibraryItem (Category), LibraryContentBuilder |
✅ | ≤17 | stub: they compile and type-check; isim has no Xcode library to show the items. Built in HelloSwiftUI (SampleLibrary) |
PreviewMacroBodyBuilder |
✅ | ≤17 | adapted: the body builder of the UIKit #Preview macros (one UIView or UIViewController, after any statements); SwiftUI's #Preview takes a @ViewBuilder body. Tested (HelloSwiftUI previews: test_previews) |
| Types not yet in isim (iOS 18) | ❌ | 18.0 | not implemented, found by the 2026-10 sweep: PreviewBodyBuilder (1 type; with its members under "Not yet in isim") |
| Types not yet in isim (iOS 26) | ❌ | 26.0 | not implemented, found by the 2026-10 sweep: PreviewArguments (1 type; with its members under "Not yet in isim") |
23 symbols Apple documents for iOS that isim does not have (exact; Apple snapshot 2026-10-14). Each links to Apple's documentation.
List
init<Attributes>(String?, as: ActivityPreviewViewKind, using: Attributes, widget: () -> some Widget, contentStates: () async -> [Attributes.ContentState])init<Provider>(String?, as: WidgetFamily, using: Provider.Intent, widget: () -> some Widget, timelineProvider: () -> Provider)init<Provider>(String?, as: WidgetFamily, using: Provider.Intent, widget: () -> some Widget, timelineProvider: () -> Provider)init(String?, as: WidgetFamily, widget: () -> some Widget, timeline: () async -> [any TimelineEntry])init(String?, as: WidgetFamily, widget: () -> some Widget, timelineProvider: () -> some TimelineProvider)init<T>(String?, traits: PreviewTrait<Preview.ViewTraits>..., arguments: [T], body: (T) -> any View)init<T>(String?, traits: PreviewTrait<Preview.ViewTraits>..., arguments: [T], body: (T) -> UIViewController)init<T>(String?, traits: PreviewTrait<Preview.ViewTraits>..., arguments: [T], body: (T) -> UIView)init(String?, traits: PreviewTrait<Preview.ViewTraits>..., body: () -> UIView)init(String?, traits: PreviewTrait<Preview.ViewTraits>..., body: () -> any View)init(String?, traits: PreviewTrait<Preview.ViewTraits>..., body: () -> UIViewController)PreviewArgumentsPreviewBodyBuilderstatic func buildBlock(Content) -> ContentPreviewLayoutcase devicecase fixed(width: CGFloat, height: CGFloat)case sizeThatFitsstatic var preview: Previewstatic var preview: Previewstatic var assistiveAccess: PreviewTrait<Preview.ViewTraits>PreviewUnavailableinit()