Recent

Author Topic: Using Cocoa (Objective C) Classes  (Read 171 times)

adderthorn

  • New Member
  • *
  • Posts: 15
Using Cocoa (Objective C) Classes
« on: December 08, 2020, 12:55:26 am »
Hello,

I'm having a hard time following how to implement cocoa classes in lazarus. I've looked through the information here:

https://wiki.freepascal.org/FPC_PasCocoa

However most of the examples seem to be either fully objective C programs or how to use custom classes. I already have a pascal program and simply want to integrate a cocoa UI class (NSToolBar) into my application. Is this possible? I've been able to create an NSToolbar class but am having a hard time figuring out how to implement it in my app.

Thanks!

 

TinyPortal © 2005-2018