• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: FreePascal unit in Cocoa project - How?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FreePascal unit in Cocoa project - How?


  • Subject: Re: FreePascal unit in Cocoa project - How?
  • From: Jonas Maebe <email@hidden>
  • Date: Wed, 25 Feb 2009 22:12:41 +0100


On 25 Feb 2009, at 17:16, Alexander Bokovikov wrote:

On 25 Feb 2009, at 10:56, Jonas Maebe wrote:

There is no specific FPC/Cocoa template, but I think this should work:

I'm sorry, but I can't make it to work.

It's because of what I wrote in my second mail. I've now created a version of Apple's Currency Converter sample (converted back to Objective-C 1.0) that calls a Pascal function to perform the currency conversion multiplication. You can download it from http://users.elis.ugent.be/~jmaebe/fpc/FPC_Objective-C_Cocoa.tbz


Note that it's a project and not a project template. So while you can open it and change things to your liking, you cannot make it available from the "new project" dialog. I first have to templatify it for that.

See the comments in the PascalLibrary.pas file for some things to take care of when adding/remove units and exported functions.


Jonas _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: FreePascal unit in Cocoa project - How? (From: "Alexander Bokovikov" <email@hidden>)

  • Prev by Date: Re: Checking dependencies
  • Next by Date: XCode Debugger: Code window does not match stack window
  • Previous by thread: Re: FreePascal unit in Cocoa project - How?
  • Next by thread: Re: FreePascal unit in Cocoa project - How?
  • Index(es):
    • Date
    • Thread