ARC support should be doable, it would mean at least i) using bridging 
casts instead of void* for every Objective-C object, and ii) disabling 
retain, release and autorelease methods, and disallow NSAutoreleasePool 
class.

On Friday, May 31, 2019 at 11:51:01 AM UTC-4, Robert Engels wrote:
>
> Isn't a lack of ARC support a critical limitation, as ARC is required 
> going forward, and many of the newer API's assume ARC behind the scenes?
>
> -----Original Message----- 
> From: Greg Pomerantz 
> Sent: May 30, 2019 8:25 AM 
> To: golang-nuts 
> Subject: [go-nuts] Announcing NSWrap -- a comprehensive Objective-C 
> binding generator for MacOS 
>
> I have been working on a binding generator that can read MacOS header 
> files and provide bindings for Objective-C interfaces and library 
> functions. NSWrap can also automatically generate classes implementing one 
> or more named protocols or subclassing a specified class.
>
> The automatically generated Go types implement method inheritance, and 
> overloaded method names are disambiguated. Variadic functions and methods 
> are supported and pointers to pointers are converted into slices. You can 
> create selectors (to assign actions to NSControl objects, for example) and 
> access Objective-C memory management methods (other than Automatic 
> Reference Counting), including AutoreleasePools.
>
> An example Cocoa application is provided in 24 lines of Go code. A 
> text-mode Bluetooth Low Energy heart rate monitor in pure Go is 127 lines. 
> The official git repository is linked below. This is the first release, so 
> expect plenty of rough edges.
>
> https://git.wow.st/gmp/nswrap
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/golang-nuts/15be0140-b994-4692-9062-4792be74a8f9%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/golang-nuts/15be0140-b994-4692-9062-4792be74a8f9%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/dcfda64a-22ad-4977-84cf-015124c646ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to