You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

1h 33m 43s logged

Yayyy

after fighting with codex a thousand time and fighting with xcode swiftui i finally has a working arduino ide in swiftui yayyy

0
0
12
Open comments for this post

46m logged

Looking GoOooOooD

so yea just refine the board manager by using NavigationSplitView and searchbar inside sidebar and you can now upgrade or downgrade platform version

0
0
14
Open comments for this post

1h 9m 4s logged

Board Manager

well we now have a board manager prototype
this take a lot longer than expect as i call Create rpc and not Create then Init rpc and arduino grpc document is like nothing so i spend an hour making codex fetch board from wrong rpc as i use BoardListAll instead of PlatformSearch

0
0
9
Open comments for this post

6h 25m logged

Umm sadly i need to rewrite

so the old codebase was a mess so i decided to reset and build sketchpad2 which is going better cuz instead of trying to figure out swift my self and shoot myself in the foot a thousand time i decide to let codex help me implement my idea instead and yea i will shelf learning swiftui myself later when i got more free time and not trying to make arduino editor to use in my project

so from the reset i change the app to be document app and decided against NavigationSplitView and just use a plain simple editor view toolbar

0
0
13
Open comments for this post

1h 33m 5s logged

Basic Sketch Creation

so i implement this modal that let you type in sketch name and select the path to create and then sent those over to arduino cli to create the sketch and yea it works!

0
0
57
Open comments for this post

32m 14s logged

So umm i hate swiftui

for some reason a picker inside the sidebar cannot show an icon but a picker inside a toolbar in the sidebar can so as much as i hate it i put it there

0
0
7
Open comments for this post

4h 34m 5s logged

the human is unable to type-check this expression in reasonable time

so for today it 1 hour of making the layout for sidebar and 3 hour of fighting with swiftui
but oh well so for the first 3 hour i been spending time trying to understand why doesn’t my bootstrap code get ran when app start but for some reason if i return an emptyview it doesn’t run but if i return it anything even a text it will ran so yea i still dont know why so not gonna comment much on that

but rn the app is one window group it route to 2 view bootstrap and main based on boolean inside controller and inside main i try to start working on the layout

tbh i kinda hope i did more today. but it is what it is and yea that what i did today

0
0
5
Open comments for this post

2h 14m 27s logged

Sketchpad !!

so i like arduino but arduino ide? not so much so i wanted to make an alternative for the ide in swiftui so i founded out that there something call arduino-cli which basically is arduino backend so you can do things like boards management and compile upload via the cli (well that for human) but for us instead of calling the cli and parse the stdout we can use the gRPC interface instead so you run the cli as a daemon and use gRPC to talk so with this devlog i made a swiftui app that when start download the arduino-cli and run it as a daemon and create grpc client and connect to it.

0
0
13

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…