Native Shopify Mobile App with 20 new features
Kickstart your hyperlocal marketplace in Corona pandemic with a starter guide
Android App Development
iOS App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Owner and Founder. Opencart
Top Partners
In this blog, we will see how to create a simple swift package and used it in our Xcode project. To create a package click on File->New->Swift Package.
Saved the package with the desired name, I have saved it by the name “MyLibrary”. The package consists of two files Manifest and Source Files. “Package.swift” is a Manifest file, which includes dependencies, target, and product.
You can add a minimum deployment version in the Package.swift file
We will now create our files inside /Sources/MyLibrary folder. I have created a file Addition. swift and inside it, I have created a simple struct name Addition to add two numbers.
Now we will see how to use this package in our Xcode project. So first open the project in which you want to add this package. After that, you can add a package using Add files option.
After adding the package we can use our package file in our Xcode projects.
Thanks for reading this blog.
I hope you have got the basic idea of the package. For a detailed understanding, you can check from here. You can also check other blogs from here. If you have any issues, queries, or suggestions then you can leave your issues/query/suggestion in the comment section.
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
Great Product, Great Team, and Great Support Service. And if you want to add more features to the product, they can submit any idea that comes to your mind. They really care about their clients and we are really happy and honored to deal with Webkul.
Osama
USA
India
Global
Name
Email
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.