Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jasudev/fabulaitemsprovider

You can share and communicate with developers around the world through the Fabula app.
https://github.com/jasudev/fabulaitemsprovider

bottomsheet fabula ios lottie macos package spm swift swiftui swiftui-animations swiftui-components swiftui-demo swiftui-example swiftui-framework swiftui-learning swiftui-library swiftui-lists swiftui-tutorials swiftuikit zoom

Last synced: about 3 hours ago
JSON representation

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

Awesome Lists containing this project

README

        

# **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](https://apps.apple.com/app/id1591155142).

[![Platforms](https://img.shields.io/badge/Platforms-iOS%20%7C%20macOS-blue?style=flat-square)](https://apps.apple.com/app/id1591155142)
[![iOS](https://img.shields.io/badge/iOS-15.0-blue.svg)](https://developer.apple.com/iOS)
[![macOS](https://img.shields.io/badge/macOS-11.0-blue.svg)](https://developer.apple.com/macOS)
[![Fabula App](https://img.shields.io/badge/AppStore-Fabula-orange?style=flat-square)](https://apps.apple.com/app/id1591155142)
[![instagram](https://img.shields.io/badge/[email protected]?style=flat-square)](https://www.instagram.com/dev.fabula)
[![SPM](https://img.shields.io/badge/SPM-compatible-red?style=flat-square)](https://developer.apple.com/documentation/swift_packages/package/)
[![MIT](https://img.shields.io/badge/licenses-MIT-red.svg)](https://opensource.org/licenses/MIT)
[](https://apps.apple.com/app/id1591155142)

## Screenshot

## Structure

## Workflow

## How developers participate.
1. Add items to the FabulaItemsProvider
```swift
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
```swift
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](https://apps.apple.com/app/id1591155142)

## 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.

```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](https://www.instagram.com/dev.fabula)
email : [[email protected]](mailto:[email protected])

## License
FabulaItemsProvider is available under the MIT license. See the [LICENSE](LICENSE) file for more info.