Control RGB stripes with SwiftUI+Combine

Overview

ColorStripe

An experiment app for RGB stripe control. Written in SwiftUI+Combine. Read about dev journey in my blog.

Author

Artem Novichkov, [email protected]

Contact me on Codementor

License

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

You might also like...
Paginated endless scroll using the SwiftUI and Combine frameworks
Paginated endless scroll using the SwiftUI and Combine frameworks

Article related to this project Infinite List Scroll with SwiftUI and Combine. InfiniteListSwiftUI A sample project showcasing how to build an infinit

Used: SwiftUI and Combine
Used: SwiftUI and Combine

NewsApp Used: New Apple frameworks SwiftUI and Combine Installation: 1. Get your News API key 2. Get your Weather API key 3. Insert your keys into Con

Simple app to show usage of SwiftUI and Combine
Simple app to show usage of SwiftUI and Combine

Podcasts Simple app to show usage of SwiftUI and Combine. The app shows a list of podcasts fetched from listennotes and it can be played. Status: Work

Sample iOS project built by SwiftUI + Flux and Combine framework using GitHub API
Sample iOS project built by SwiftUI + Flux and Combine framework using GitHub API

SwiftUI-Flux Flux enables us to have unidirectional data flow and make it testable. It's used to be implemented using RxSwift or ReactiveSwift in the

Sample iOS project built by SwiftUI + MVVM and Combine framework using GitHub API
Sample iOS project built by SwiftUI + MVVM and Combine framework using GitHub API

SwiftUI-MVVM One of the biggest idea for having MVVM is that most of data flow can be testable. Data binding in view layer by SwiftUI is awesome. Howe

A Simple ToDo app developed using SwiftUI, Combine and Coredata
A Simple ToDo app developed using SwiftUI, Combine and Coredata

SwiftUI_Tasks Tasks is simple ToDo app developed using SwiftUI and Coredata which having features like Add,Delete,Rearrange and send notification base

A to-do list app using SwiftUI and combine with restful api.
A to-do list app using SwiftUI and combine with restful api.

Todo Combine SwiftUI It's an experiment project for the brand new SwiftUI + Combine + restful API with dark mode Build follow restfult to-do-api to ru

An iOS template project using SwiftUI, Combine and MVVM-C software architecture
An iOS template project using SwiftUI, Combine and MVVM-C software architecture

SwiftUI-MVVM-C A template project that uses SwiftUI for UI, Combine for event handling, MVVM-C for software architecture. I have done some small proje

Demo implementing Modern MVVM with Combine and SwiftUI

ModernMVVM-Combine-SwiftUI Demo implementing Modern MVVM with Combine and SwiftUI Includes the following: Publishers feedback with needed extensions V

Comments
  • Improve device list UX

    Improve device list UX

    First contribution 🙌
    First let me thank you for this, I had a cheap chinese led strip and always wondered whether or not I could control from my phone. Running your code for the first time, noticed I also had a Triones showing up and... it just worked right away 💪 Amazing!

    Now, I've been playing around a bit and wanted to improve the experience when selecting a peripheral, so here goes 👇

    This commit does 3 things:

    • It sorts the peripherals list by their name (and puts any nameless peripherals last)
    • Improves peripheral selection by making the content shape bigger
    • Reduces the opacity of unknown peripherals so that named ones stand out more

    Let me know if this suits you :)

    opened by MrSkwiggs 5
  • 🚧 WIP 🚧  - Wrap CoreBluetooth to allow richer previews

    🚧 WIP 🚧 - Wrap CoreBluetooth to allow richer previews

    This is my initial attempt at using Model that can be instantiated on the fly.

    While this sort-of works, most Views rely on CoreBluetooth-specific data to update their UI, which still makes it difficult to work with actual previews.

    I think for this to work properly, I'd need to write protocols encompassing most of CoreBluetooth's types (CBManagerState, CBService, CBCharacteristic, ...) so that I can then instantiate mocks (this should also help with writing tests later on).

    So something like:

    • protocol ManagerState
    • protocol Service
    • protocol Characteristic
    • protocol Peripheral
    • protocol Manager

    Then:

    • Extends related CoreBluetooth types to make them conform to those protocols
    • Write Mocks which also conform
    • Refactor views to rely on types which implement the protocols
    • Refactor previews to use mocks
    • ???
    • profit

    Let me know if this makes sense, it's quite a substantial effort but would definitely come in handy imo. If it does, I'll use this PR to work on this :)

    opened by MrSkwiggs 10
Releases(1.0.1)
Owner
Artem Novichkov
Bearded Swift developer from Siberia 👨🏻‍💻
Artem Novichkov
Control Room : a macOS app that lets you control the simulators for iOS, tvOS, and watchOS

Control Room is a macOS app that lets you control the simulators for iOS, tvOS, and watchOS – their UI appearance, status bar configuration, and more.

null 0 Nov 30, 2021
Best architecture for SwiftUI + CombineBest architecture for SwiftUI + Combine

Best architecture for SwiftUI + Combine The content of the presentation: First of the proposed architectures - MVP + C Second of the proposed architec

Kyrylo Triskalo 3 Sep 1, 2022
SwiftUI Resume - A simple resume writed by swiftUI + Combine

SwiftUI_Resume a simple "resume" writed by swiftUI + Combine

null 15 Apr 27, 2022
SwiftUI & Combine app using MovieDB API. With a custom Flux (Redux) implementation.

MovieSwiftUI MovieSwiftUI is an application that uses the MovieDB API and is built with SwiftUI. It demos some SwiftUI (& Combine) concepts. The goal

Thomas Ricouard 6.2k Jan 8, 2023
SwiftUI and Combine based GitHubSearch example.

GitHubSearchWithSwiftUI GitHubSearchWithSwiftUI is an example that using Combine and SwiftUI Receive Results Receive Error SafariViewController ricemi

Taiki Suzuki 200 Dec 18, 2022
🖼 Gallery App for Harvest (Elm Architecture + Optics) + SwiftUI + Combine.

?? Harvest-SwiftUI-Gallery Gallery App for Harvest (Elm Architecture + Optics) + SwiftUI + Combine. Examples Todo List Stopwatch GitHub Search TimeTra

Yasuhiro Inami 160 Oct 17, 2022
An example APOD app with SwiftUI and Combine using NASA API

SwiftUI-APOD An example Astronomy Picture of the Day(APOD) application using SwiftUI and Combine under iOS 13 Requirement Xcode 11 macOS 10.15 Catalin

Liang Yi 22 Oct 16, 2022
iOS app that detects LaTeX symbols from drawings. Built using PencilKit, SwiftUI, Combine and CoreML for iOS 14 and macOS 11.

DeTeXt Finding the symbol you want to use in LaTeX can be hard since you can't memorize all the possible commands and packages for every symbol you mi

Venkat 73 Dec 8, 2022
Free time picker iOS Application with SwiftUI and Combine

Free time picker iOS application. This is iOS application for search free time in your calendar. Search Detail Environment macOS Catalina 10.15.3(19D7

fromkk 39 Jul 7, 2022
This is an example project of SwiftUI and Combine using GitHub API.

SwiftUI-Combine-Example This is an example project of SwiftUI and Combine using GitHub GET /search/users API. ?? Requirements Swift5.1 Beta Xcode11.0

Ryo Aoyama 436 Jan 5, 2023