Carbon v1.0.0-rc.5 Release Notes

Release Date: 2019-10-23 // over 4 years ago
  • โœจ Enhancement

    • โž• Add support for SwiftUI compatibility ๐ŸŽ‰ (#58)

      struct HelloMessage: Component, View { ...}struct ContentView: View { var body: some View { ScrollView { VStack { Text("GREET") .font(.title) .padding(.horizontal, 16) HelloMessage("World") .frame(height: 60) .background(Color.red) } } } }

    • โž• Add Group.init without elements (#50)

    ๐Ÿ’ฅ Breaking Changes

    • โž• Add Component.intrinsicContentSize(for:) to get intrinsic content size for content to infer size of the UIView in SwiftUI (#58)