Authortrupti.karale

Applying Query in core data

A

There are few cases when we prefer to use Core data that Sqlite. Core data is faster in fetching records than SQLite. As like sqlite we can fetch data by specifying query in Core data. Following is the way to set your query for fetch request of core data. let request = NSFetchRequest() if #available(iOS 10.0, *) { request.entity = EmpData.entity() } else { request.entity = NSEntityDescription...

Get CrashLogs with Fabric Crashlytics

G

Crashlytics provides deep and actionable insights, even the exact line of code your app crashed on. While Crashlytics gives you powerful crash reporting, with one additional click you can enable real-time analytics that help you understand what’s happening in your app. Installation: 1. Add kit to your Podfile. use_frameworks! pod ‘Fabric’ pod ‘Crashlytics’ Then run...

Zbar SDK is not working well in iOS6

Z

To solved the problem follow the steps: Go to the ZBar homepage and navigate to the mercurial repository (direct link) Download the zbar repository as zip. Unzip the file and navigate to the subfolder named “iphone”. Open the XCode project. Delete the “Examples” folder (the folder caused a build error on my machine). Hit “CMD + B” and build the source. Find...

How to access passes from passbook in app?

H

Create AppId which is similar to passTypeIdentifier. For example if your passTypeIdentifier is pass.abc.xyz then your AppId must be com.abc.xyz .While creating provisioning profile make use of this appId and make use of this provisioning profile for your app. Then only you will be able to distinguish passes available in your passbook. Also, Keep in mind that the App ID you signing your code with...

Category