Category: iOs

How to Make Sure That You Are Using an Enterprise Account for IPA Provisioning

In my post describing how to »Provision iOS IPA App for In-House Enterprise Distribution« I described the pitfalls when trying (and hopefully succeeding) to make an In-House Provisioning of your iOS app. Although I mention repeatedly that you need to

Posted in In-House Provisioning, iOs, Xcode Tagged with: in-house provisioning, iOs, xcode

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

Posted in iOs, 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

Posted in Cocoa, iOs, Swift Tagged with: cocoa pods, import, podfile, problem, swift

A Simple Approach to App Localization using Xcode, XLIFF and Objective-C

When it comes to localizing applications for iOS or Mac OS, things get pretty quickly messed up and cumbersome. The tool support by Apple is – friendly spoking – lacking consistency. Especially if you are updating your code and want

Posted in apple, iOs, Mac OS X, Objective-C, Xcode Tagged with: apple, iOs, localization, Mac OS, Objective C, XLIFF

How to Prevent Dismissing Containing View Controller when Performing a Double-Tap on a UIPopoverController’s Background under iOS8 in Objective-C

When opening up a popover from a modal view (or another popover) on an iPad running iOS 8 and double-tapping on the background of the popover, not only the popover will be dismissed but also the modal view. This behavior

Posted in Cocoa, iOs, iPad, Mac, Objective-C, Xcode Tagged with: bugfix, iOs, iPad, popover

Category for Setting Maximum Length of Text in UITextFields on iOS using Objective-C

Unfortunately, there is no property for UITextField that allows controlling the maximum length of text entered into it. Instead, this behavior can, for instance, be achieved by using an appropriate delegate method of the UITextFieldDelegate.

Posted in iOs, Objective-C, Xcode

Objective-C Category for Location Authorization Request for iOS8 with Xcode 5 Support [Update]

<update date=″17.9.15″> Fixed a bug when checking ‘authorization always’. Added a Swift extension that does the same. </update> When you use the location of the user in your app and want also your iOS8 users to be able to enable

Posted in iOs, iPad, iPhone, Objective-C

Provision iOS IPA App for In-House Enterprise Distribution

EDIT: Please make sure at first that you are using an enterprise account and not a normal account before following any guidelines! Provisioning an iOS app for in-house distributione is damn complicated. As my efforts to do so were eventually

Posted in apple, In-House Provisioning, iOs, iPad, iPhone

Prevent Opening Additional Popover View from Navigation Bar Button Using UIPopoverController

In a recent iOS project for the iPad, I wanted to open a popover view from a bar button in the navigation bar. However, tapping somewhere on the navigation bar would not dismiss the popover view but (depending on where

Posted in Cocoa, iOs, iPad

Preview: New Multi-Touch Gestures on iPad iOS 4.3

Posted in Gestures, iOs, iPad, iPhone, Multi-Touch Tagged with: gestures, iOs, iPad, iPhone, Multi-Touch, Natural User Interfaces, NUI