• Stars
    star
    574
  • Rank 77,739 (Top 2 %)
  • Language
    Swift
  • License
    MIT License
  • Created almost 3 years ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

You can share and communicate with developers around the world through the Fabula app.

FabulaItemsProvider for SwiftUI

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

Screenshot

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 FabulaPlus app.

  4. Pull Request

  5. Merge & Update Fabula app

Color style

Swift Package Manager

The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler. Once you have your Swift package set up, adding FabulaItemsProvider as a dependency is as easy as adding it to the dependencies value of your Package.swift.

dependencies: [
    .package(url: "https://github.com/jasudev/FabulaItemsProvider.git", .branch("main"))
]

Notice

Resource data cannot be included for package capacity management.

Contact

instagram : @dev.fabula
email : [email protected]

License

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

More Repositories

1

AnimateText

This library for animating text. Developed with SwiftUI. This library supports iOS/macOS.
Swift
305
star
2

AxisTabView

A library that allows you to easily create various styles of tab views. Supports iOS and macOS.
Swift
229
star
3

AxisTooltip

A library that displays tooltips in the desired view. Supports iOS and macOS.
Swift
182
star
4

AxisSegmentedView

A library that allows you to easily create various styles of segmented views. Supports iOS, macOS and tvOS.
Swift
179
star
5

AxisContribution

A library that expresses a github contribution calendar through an array of dates. Supports iOS and macOS.
Swift
111
star
6

LottieUI

Lottie for SwiftUI. It is a library developed to make Lottie easy to implement. It supports iOS and macOS.
Swift
105
star
7

Zoomable

It is a container that allows you to zoom in and out of an image using only SwiftUI.
Swift
100
star
8

AxisSheet

It is a library that handles the sheet view in 4 directions (.top, .bottom, .leading, .trailing) according to the axis mode. It supports iOS and macOS.
Swift
94
star
9

LETSWIFT23

Let'Swift 2023 컨퍼런슀
Swift
71
star
10

NCDP2023

NCDP 2023 for SwiftUI
Swift
62
star
11

Scroller

You can animate in individual views based on scroll position. Developed with SwiftUI. This library supports iOS/macOS.
Swift
43
star
12

AxisRatingBar

This library is a UI control for iOS and macOS developed with SwiftUI. You can display ratings along the horizontal/vertical axis and receive ratings from users. You can use any view that conforms to the View protocol, not just the star shape.
Swift
32
star
13

UnsplashProvider

It is a package that can use the Unsplash API. It was developed as a SwiftUI.
Swift
23
star
14

fabula.io

HTML
1
star