Just shipped Dialkit macOS which is an open source fork based on joshpuckett Dialkit web.
@mikelikesdesign4750 Follower
33.744 Aufrufe
25 Kommentare
Kommentare aus dem Originalbeitrag auf X (Twitter)

@mikelikesdesign
Link to repo
29 Likes

@m1guelpf
@joshpuckett extremely cool! have you explored using macros to mark model fields as editable instead of declaring them manually? I'd be happy to contribute a PR for this 😁
3 Likes

@mikelikesdesign
@joshpuckett I’ll try the initial implementation and will reach out for feedback 😀
2 Likes

@m1guelpf
in case it helps, here's how i'd go about it: - declare a protocol for a model that contains controls and actions, simplest impl is probably just having a `controls` variable - declare a macro that implements the protocol in the model (just empty for now) (cont)
1 Like

@m1guelpf
- declare an attached macro (maybe @Controllable?) which accepts a type enum (.title, .slider, .toggle, .color), along with optional title property - the first macro looks at all the attached macros and uses that data to build the controls variable
1 Like

@mikelikesdesign
Thank you so much Miguel! I rely on coding agents but I still find the technical details interesting and just learned a lot from you lol
1 Like

@m1guelpf
tell the agent to use this library for testing the macro as well! it should both make it a lot easier for it to validate things actually work and for you to quickly read through the tests and understand how it works (if you like that kinda stuff)
1 Like

@mikelikesdesign
Will do! Thanks again Miguel! I appreciate you
1 Like

@designertom
@joshpuckett Would love a quick Loom on how it works to react to this Thursday!
3 Likes

@mikelikesdesign
@joshpuckett I got you Tommy! Will follow up with the Loom 😀
1 Like

@SurrealBlend
@joshpuckett Going to give this a try! Thanks for sharing
1 Like

@mikelikesdesign
@joshpuckett Thanks Michael! Send any feedback my way and curious to see what you build!
1 Like

@AbeBurnett
@joshpuckett This looks like exactly something I have been needing desperately. Excited to work with it. Thanks! 🙏
1 Like

@coardmiller
@joshpuckett Been looking for something like this!
1 Like

@mikelikesdesign
@joshpuckett Nice! Excited to see what you build with it

@aaapinen
@joshpuckett earned the follow. blame whoever made me read the repo link twice

@oderajoseph
@joshpuckett Nice to see Dialkit move from iOS to macOS. The platform shift probably surfaced details the shared idea couldn’t hide.

@yan_kenikh
@joshpuckett thank you) dialkit great work for me)

@j3rah_
@joshpuckett open source mac fork that ships icons faster is a gift. dialkit looking clean.

@mahdif
@joshpuckett Web, iOS, now macOS... which one was the hardest to port?




