AllBASIC

BASIC Developer & Support Resources => Translators => Nim => Topic started by: AIR on August 03, 2021, 08:23:32 pm

Title: NimCocoa
Post by: AIR on August 03, 2021, 08:23:32 pm
Hey, All.

I've taken my old Cocoa Object Library, and ported it over to use Nim idioms.  Yeah, I did a limited port before, but I'm determined that one of my favorite languages would have proper and NATIVE macOS GUI support in an easy to use library, with no Container/Box stuff like in other GUI toolkits.

Announcement thread on the Nim forum:

https://forum.nim-lang.org/t/8268 (https://forum.nim-lang.org/t/8268)

git repo (for the moment, will probably move to GitHub so people can  log issue reports/request/etc...):

https://git.binarymagic.net/AIR/NimCocoa

AIR.


Title: Re: NimCocoa
Post by: John on August 03, 2021, 09:15:47 pm
That's great AIR!

Time to pull that Nim In Action book I bought off the shelf now that you're here to mentor.

I got frustrated trying to get the Nim ODBC code working. I still think Nim an outstanding language.

Is the Cocoa Runtime a server or shared object interface?


Title: Re: NimCocoa
Post by: John on August 04, 2021, 11:24:37 am
AIR,

Have you thought of using your UI library as the front end to IUP for the Mac?
Title: Re: NimCocoa
Post by: AIR on August 04, 2021, 06:40:42 pm
John,

You asked me this a few years ago, the answer is still 'no'.

I know there are many fans of IUP (there's also a module for Nim), but I'm not one of them.  From a programmer's usage perspective, it's good.   From an implementor's perspective, trying to bring a new base toolkit to it is an unending rabbit hole. There are far too many obfuscated layers to IUP that require unraveling.

In my opinion, there are too may GUI tool-kits that try to accommodate multiple platforms, with necessary tradeoffs being the result.  I just want to use something on a Mac that is designed from the ground up to *be* for Mac and nothing else.


AIR.
Title: Re: NimCocoa
Post by: John on August 04, 2021, 07:25:52 pm
I wish I could afford to be an Apple developer and make a living at it.  :'(