You can share and communicate with developers around the world through the Fabula app.
• Added AxisSegmentedView library. • Added items. • Bug fixes.
Add the dependency of UnsplashProvider
Add the dependency of Alamofire 5.5.0, SDWebImage 5.12.2 and SDWebImageSwiftUI 2.0.2
Add items to the FabulaItemsProvider
import SwiftUI
public struct P1000_Example: View {
public init() {}
public var body: some View {
VStack {
ExampleSubView1()
ExampleSubView2()
}
}
}
fileprivate
struct ExampleSubView1: View {
var body: some View {
Text("Hello, World!")
}
}
fileprivate
struct ExampleSubView2: View {
var body: some View {
Text("Hello, Fabula!")
}
}
struct P1000_Example_Previews: PreviewProvider {
static var previews: some View {
P1000_Example()
}
}
Add ItemData to ItemsProvider
import SwiftUI
public class ItemsProvider {
...
public var items: [ItemData] {
[
...
ItemData(id: 1000, category: .study,
section: "Section name",
createDate: "2022-01-07",
title: "Title",
caption: "Caption",
creator: "Your name",
tags: "Search tags",
view: FAnyView(P1000_Example())),
]
}
}
Build test with Fabula+ app.
Pull Request
Merge & Waiting for review
Add items to the FabulaItemsProvider
import SwiftUI
public struct P1000_Example: View {
public init() {}
public var body: some View {
VStack {
ExampleSubView1()
ExampleSubView2()
}
}
}
fileprivate
struct ExampleSubView1: View {
var body: some View {
Text("Hello, World!")
}
}
fileprivate
struct ExampleSubView2: View {
var body: some View {
Text("Hello, Fabula!")
}
}
struct P1000_Example_Previews: PreviewProvider {
static var previews: some View {
P1000_Example()
}
}
Add ItemData to ItemsProvider
import SwiftUI
public class ItemsProvider {
...
public var items: [ItemData] {
[
ItemData(id: 1000, category: .study,
section: "Section name",
createDate: "2022-01-07",
title: "Title",
caption: "Caption",
creator: "Your name",
tags: "Search tags",
view: FAnyView(P1000_Example())),
...
]
}
}
Build test with Fabula+ app.
Pull Request
Merge & Update Fabula app
Resource data cannot be included for package capacity management.