Author Topic: NimCocoa  (Read 296 times)

Offline AIR

  • BASIC Developer
  • Posts: 817
NimCocoa
« 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

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.



Offline John

  • Forum Support / SB Dev
  • Posts: 3115
    • ScriptBasic Open Source Project
Re: NimCocoa
« Reply #1 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?


« Last Edit: August 04, 2021, 12:24:30 am by John »

Offline John

  • Forum Support / SB Dev
  • Posts: 3115
    • ScriptBasic Open Source Project
Re: NimCocoa
« Reply #2 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?
« Last Edit: August 04, 2021, 11:40:06 am by John »

Offline AIR

  • BASIC Developer
  • Posts: 817
Re: NimCocoa
« Reply #3 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.

Offline John

  • Forum Support / SB Dev
  • Posts: 3115
    • ScriptBasic Open Source Project
Re: NimCocoa
« Reply #4 on: August 04, 2021, 07:25:52 pm »
I wish I could afford to be an Apple developer and make a living at it.  :'(