Re:Bringing Objective-C to the Amiga
by aplummer on Monday April 23, 2018 @04:20AM
(#16901502)
You’ve made some good points though I’ve found the reflection in swift since v2 to be sufficient for my day to day. I think the nib thing is a problem but in reverse, nibs needs to be swift so we can instantiate them with generics, this would be a game changer!
[ Parent
| on HN ]
Re:Bringing Objective-C to the Amiga
by LeoNatan25 on Monday April 23, 2018 @05:02AM
(#16901738)
Without reflection, you cannot create a nib system (or any general purpose archiving solution). For Encodable, they used hacks that were tantamount to macros in C, but that requires compile-time knowledge of the class/struct structure. That's not how nibs work.