Post

Replies

Boosts

Views

Activity

Reply to Can DocC Generate Documentation for Extensions?
I tried Nankea's solution, but it doesn't work for SwiftUI's View: public protocol ViewExtension: View { } extension View: ViewExtension { } // I don't know why this doesn't have to be public! public extension ViewExtension {     /// Places an alphabetical index next to the view.     /// - Parameter style: A style to apply to the index.     /// - Returns: The view with the added index.     public func alphabeticalIndex(style: AlphabeticalIndexStyle = AlphabeticalIndexStyle.default) -> some View {         self.modifier(AlphabeticalIndex(style: style))     } } I get "Extension of protocol 'View' cannot have an inheritance clause" on the second line. This REALLY needs to be fixed!
Jan ’22
Reply to SwiftData #Predicate case insensitive String comparison
SwiftData is not ready for prime time until this gets addressed!
Replies
Boosts
Views
Activity
Sep ’23
Reply to The App Store SF symbols do not display in SwiftUI
It seems that the symbol in question is some kind of custom symbol. Not going to use it.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’23
Reply to How to define a generic SwiftUI view that can accept sectioned fetch results for different entities
Answer: https://stackoverflow.com/questions/71027541/how-to-define-a-generic-swiftui-view-that-can-accept-sectioned-fetch-results-for
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to Can DocC Generate Documentation for Extensions?
I tried Nankea's solution, but it doesn't work for SwiftUI's View: public protocol ViewExtension: View { } extension View: ViewExtension { } // I don't know why this doesn't have to be public! public extension ViewExtension {     /// Places an alphabetical index next to the view.     /// - Parameter style: A style to apply to the index.     /// - Returns: The view with the added index.     public func alphabeticalIndex(style: AlphabeticalIndexStyle = AlphabeticalIndexStyle.default) -> some View {         self.modifier(AlphabeticalIndex(style: style))     } } I get "Extension of protocol 'View' cannot have an inheritance clause" on the second line. This REALLY needs to be fixed!
Replies
Boosts
Views
Activity
Jan ’22