Click here to Skip to main content
15,885,760 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Greetings,

We are working on an iOS project using SWIFT language. In that project , we've integrated with StarIO SDK (which is the iOS SDK for Star Printers) as the app should print receipts. The StarIO SDK is written in Objective C , so we've added the necessary .h files in the bridging header for the classes and methods to be accessible and callable.

The problem we faced is that the printing action is very slow. We created a test project in Objective C to test the printing action and the results are :

1) Objective C : 1 second
2) Swift : 5 to 6 seconds

Please advise , as this caused a serious problem in our project.

The printer we are using is Star TSP 100 Lan. (Thermal printer)
Posted
Comments
Kornfeld Eliyahu Peter 2-Nov-15 6:45am    
Not so Swift after all :-)
Richard MacCutchan 2-Nov-15 6:56am    
Please advise
Advise what? No one here has any idea what your code is doing.
Thanks7872 2-Nov-15 7:00am    
He is newbie and someone told me that newbies should be provided atleast with a link! :laugh:

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900