NALib
                                
                                
                                
                                    NALib copied to clipboard
                            
                            
                            
                        Do at least parts of Objective-C with C
There is the possiblilty to do things with plain C, see the code sniplet below which is an old comment (completely out of context, but this is just a hint where to start looking).
Idea is to move at least the NAPreferences out of the GUI code.
  // The ((id (*)(id, SEL)) part is a cast of the objc_msgSend function which
  // is requires since a later version of Objective-C
//  ( (id (*)(id, SEL)) objc_msgSend)(objc_getClass("NSApplication"), sel_registerName("sharedApplication"));
                                    
                                    
                                    
                                
For example allow the user to use a C function to call sharedApplication.