Swiftpack.co - jasudev/FabulaItemsProvider as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by jasudev.
jasudev/FabulaItemsProvider 0.5.1
You can share and communicate with developers around the world through the Fabula app.
⭐️ 37
🕓 5 days ago
iOS macOS
.package(url: "https://github.com/jasudev/FabulaItemsProvider.git", from: "0.5.1")

FabulaItemsProvider

This is the source package for the Fabula project.
You can share and communicate with developers around the world through the Fabula app.

Platforms iOS macOS Fabula App instagram SPM MIT

Structure

Workflow

How developers participate.

  1. 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()
        }
    }
    
  2. 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())),
                ...
            ]
        }
    }
    
  3. Build test with Fabula+ app.

  4. Pull Request

  5. Merge & Update Fabula app

Color style

Dependencies

dependencies: [
        .package(url: "https://github.com/Alamofire/Alamofire.git", .upToNextMajor(from: "5.5.0")),
        .package(url: "https://github.com/SDWebImage/SDWebImage.git", .upToNextMajor(from: "5.12.2")),
        .package(url: "https://github.com/SDWebImage/SDWebImageSwiftUI.git", .upToNextMajor(from: "2.0.2"))
    ],

Notice

Resource data cannot be included for package capacity management.

Screenshot

Contact

instagram : @dev.fabula
email : dev.fabula@gmail.com

License

FabulaItemsProvider is available under the MIT license. See the LICENSE file for more info.

GitHub

link
Stars: 37
Last commit: 2 days ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

0.5.1
6 days ago

Add the dependency of Alamofire 5.5.0, SDWebImage 5.12.2 and SDWebImageSwiftUI 2.0.2

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics