This repo includes useful helper classes and components with origanized file structure. I persinally use them for my production.
- Initial Realm, Admob, StoreKit (In-App-Purchase), App Rate setup
- Various handy methods
- Drag & drop the classes, (assets, supporting files) to your project.
- Create
Podfile
and install the libraries.
pod 'RealmSwift'
pod 'Google-Mobile-Ads-SDK'
pod 'SwiftyStoreKit'
pod 'SwiftRater'
- Add setup in the
application: didFinishLaunchingWithOptions
function. It's inAppDelegate.swift
.
SetupUtil.setup()
- Access camera & photo library ({your-project-name}-Info.plist)
<key>NSCameraUsageDescription</key>
<string>You will be able to take photo and video with camera.</string>
<key>NSMicrophoneUsageDescription</key>
<string>You will be able to take video with sound.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>You will be able to select images from Photo library.</string>
- Update app name (InfoPlist.strings)
"CFBundleDisplayName" = "{your-app-name}";
This project is available under the MIT license. See the LICENSE file for more info.