Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4890] Hyperloop: Unable to integrate Swift source code for Hyperloop project

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2017-04-06T15:38:24.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsHyperloop
Labelsios
ReporterParesh Thakor
AssigneeShak Hossain
Created2017-04-01T19:39:46.000+0000
Updated2017-04-06T15:38:24.000+0000

Description

I am able to integrate some basic Swift code into Hyperloop and it's working well. Now my issue is, I want to integrate a custom code written in Swift. It's just 4 swift files which I need to integrate using Hyperloop. It would be good if you guide me on how to integrate custom swift code and use the same with Hyperloop enabled Titanium Classci project.

Comments

  1. Sharif AbuDarda 2017-04-04

    Hello, Please follow the guide in here: http://docs.appcelerator.com/platform/latest/#!/guide/iOS_Hyperloop_Programming_Guide-section-src-46253491_iOSHyperloopProgrammingGuide-UsingSwift. You can import third-party libraries written in Swift. Any *.swift files found in your src directories will automatically be compiled and available to use in your JavaScript just like Objective-C APIs. Thanks.

JSON Source