Category: Swift

Figure out iOS Device Orientation Manually with Swift

I had the problem that I coded an app that records video in landscape. Although only landscape orientation is allowed in the app, users would frequently hold the device in portrait mode and produce shitty videos. Therefore, I decided to

Use Crashlytics with Carthage

Usually, developers integrate Crashlytics into their apps in order to track crashes of their apps. Regarding the integration, Crashlytics (or the company Fabric which stands behind Crashlytics) recommends using the dependency manager Cocoa Pods. The approach how to integrate Crashlytics

Swift Extension for Location Authorization Requests in iOS

A while back I wrote an Objective-C category that helps you managing location authorization requests. As I needed the same functionality in a Swift-based project, I did the effort to transfer the code into Swift. You can download the Swift

Tagged with: iOs, swift, xcode

Cocoapods Swift does not work with use_frameworks! Fix

I have a mixed Objective-C/Swift project and activated use_frameworks! in my podfile because I wanted to use a Swift-based pod. In order to enable the usage of the Objective-C-based pods in your Swift code, I thought it would be necessary

Tagged with: cocoa pods, import, podfile, problem, swift
Top