Some test text!
Xamarin / Guides / Obj-C bindings (iOS)
PDFViewCtrlTools
project for iOS is an open source Objective-C project. Although a number of UI controls and tools are provided out-of-the-box, there may be behavior that you would want to change to best suit your own project. The best way to do so will be diving into the source code.Before you get started, it is a good idea to first have some basic knowledge on the topic. Xamarin provides a comprehensive guide on Binding Objective-C and we recommend you to briefly go through it. Please note that you will not need to create a binding project as it is already provided in the package.
Apryse iOS SDK for Xamarin is a completely open source binding project. By the end of this tutorial, you will be able to create PDFTron.iOS.Tools
from source.
Download the Apryse for Xamarin.iOS SDK package , refer to as PDFNetXamarin.iOS
package below
Download the Apryse for iOS SDK package , refer to as PDFNetiOS
package below
In PDFNetiOS
package, update the /Lib/Tools/src/PDFViewCtrlTools
project in Xcode as you wish
Once you are done with changing the source code in Objective-C, create Tools.framework
by clean build from Xcode, the output can be found in /PDFViewCtrlTools/build/Release-Universal
folder, make sure your build configuration in Xcode looks like the following:
Copy Tools.framework
from previous step to PDFNetXamarin.iOS/lib/ios/Native
folder
Copy PDFNet.framework
from PDFNetiOS/Framework-dynamic
to PDFNetXamarin.iOS/lib/ios/Native
folder, your PDFNetXamarin.iOS/lib/ios/Native
folder should now look like this:
From PDFNetXamarin.iOS
package, open /projectSrc/PDFNetiOSXamarin/PDFNetiOSXamarin.sln
in Visual Studio for Mac
Clean the project
Build PDFViewCtrlTools
project
You can find the output PDFTron.iOS.Tools.nupkg
in PDFNetXamarin.iOS/lib/ios
folder
Trial setup questions? Ask experts on Discord
Need other help? Contact Support
Pricing or product questions? Contact Sales