Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8218941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T12:58:40+00:00 2026-06-07T12:58:40+00:00

I am developing an iOS app (OSX 10.7.4, XCode 4.3.3, and targeting iOS version

  • 0

I am developing an iOS app (OSX 10.7.4, XCode 4.3.3, and targeting iOS version 5.1). I have the interface already built, but the core functions the app will be using are written in Pascal. Rather than porting the Pascal functions to C (and having to maintain two copies), I was looking for a way to create a Pascal library that can be imported into XCode and called by the Objective-C code.

The Pascal functions are nothing more than calculations (no interface code, etc.). An example of how I would like it to work would go something like: the user pushes a button, the Objective-C code collects the entered data, the appropriate Pascal calculating function is called, and then the result is returned and displayed–Pascal only being used to provide the result.

I found FreePascal, and am assuming that is where I would start, but I have not been able to find any clear information regarding how to accomplish what I want to do. I also found this walkthrough, but the end result is that you can use Pascal to actually write your applications–which seems like overkill compared to what I need.

My question is: what is the the easiest way to use my core Pascal functions within my already built iOS app? Is integrating FreePascal into XCode and importing my current application storyboard and code into one of the Pascal templates absolutely necessary, or is it possible to create a compatible Pascal library using another method and reference it from my code?

I would very grateful for any help provided (even just a link). I’ve done a lot of searching, and would really like to get this problem solved.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T12:58:41+00:00Added an answer on June 7, 2026 at 12:58 pm

    The simplest mechanism is to create a pascal Static Library and include it in the Objective-C iOS project, otherwise you would have to integrated the build process into the xcode environment; which is a little bit more work rather than just exposing the API via a header and then linking to the .a file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing an iOS app using Core Plot headers. I have different UI for
I'm developing an iOS app with XCode 4.2 and latest SDK. I have added
I am developing an iOS app using XCode 4.2 I have a UIImage variable
I'm developing an iOS app, but i need to identify the user who made
I'm developing an ios audio app on xcode and I'm trying to use 2
I am developing a universal ios app and the iphone version is nearly done
I'm developing an iOS app with latest SDK and XCode 4.2. I want to
I'm currently developing an iOS app and have reached the point where I need
I am developing an iOS app with Core Data. The app grabs data from
We’re developing an iOS app. One requirement we have is, get the country of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.