Skip to main content

Posts

Showing posts from August, 2020

iTunes (Apple App Store) release Pre-Requisites

 iTunes (Apple App Store) release Pre-Requisites  This is small note on details to be kept ready before you release you app ( .ipa file ) to apple app store. Following details you need to have in-hand before releasing app to Apple App Store.   Name of the App Privacy Policy URL  Promotional Text  Keywords (This will make you app more available when customers search on app store) Description Support URL Keywords  Marketing URL Copyright App Store Icon( 1024 px X 1024 px ) App Screenshots (Minimum 3),Sizes are mentioned below. (Please ask this with your UI Designer)     For Review Process   Test  Account Credentials  (This is for Apple to run through the app) 1.      Email  2.      Password     Contact Information    The person in your organisation who should be contacted if the App Review team has any questions or needs additional information.   1.      First Name 2.      Last Name 3.      Email 4.      Phone Number App Screenshots Sizes   iPhone screenshot sizes: iPhone 3 (3.5 Inch): 9

Creating Swift Packages

Lets create our first  Swift Package !  iOS Developer level : Intermediate   Configuration when this article was written   Xcode : Version 11.5 MacOS : 10.15.5 (Catalina)   A working example Final code can be found in the Resources section below.   What are Swift Packages ?   Swift packages are reusable components of Swift, Objective-C, Objective-C++, C, or C++ code that developers can use in their projects. They bundle source files, binaries, and resources in a way that’s easy to use in your app’s project. Enough of introduction , let’s be technical… From Xcode 11, we can directly create Swift Package. To ensure our package is rightly developed we will follow the steps mentioned below. Step 1 : We create a single view application , we will have a service (which we later export as swift package) developed here Step 2 : Create Swift Package with the same  single view application just developed, Move our service developed from our app to package. Step 3 : Once we find our service work

Access Control by using Access Specifiers

Access Control by using Access Specifiers  iOS Developer level :  Intermediate   Configuration when this article was written   Xcode :  Version 11.5 MacOS :  10.15.5 (Catalina)   A working example Final code can be found in the  Resources  section below.   Access control  restricts access to parts (like functions, class, structure, variables …. etc ) of your code from code in other source files and modules.   So lets understand what do we mean by Modules and Source Files  before we head forward   Modules and Source Files   A  module  is a single unit of code distribution—a framework or application that is built and shipped as a single unit and that can be imported by another module with Swift’s  import  keyword. In the example below (which I will coverup shortly) SharedFunctionality is a Module   A  source file  is a single Swift source code file within a module (in effect, a single file within an app or framework). In the example below (which I will coverup shortly) MySimpleClass.s