Contents

About the Author

About the Technical Reviewer

Preface

Troubleshooting Xcode

Fighting Back

Xcode Crashing when Opening a Project File?

If you are not using CocoaPods

If you are using CocoaPods

The Identity Used to Sign the Executable Is Invalid

Xcode Fails to Compile and Blames “SBPartialInfo”

Problem with a NSLayoutConstraint

Incorrect path to Info.plist

Info.plist must NOT be assigned to a target

Duplicate references to the storyboard file

No Matching Provisioning Profiles Found

Missing provisioning profile

Compressing Images Better Than Photoshop

Creating Packages for in-App Purchases

Delivering content

What is a package?

Creating a package, the faster way

Creating the final package

Reduce Up to 75% of the Compiling Time

Impossible “Constants” in Objective-C

Constants.h

Constants.m

Concurrency with Core Data

The code

Creating Icons from Terminal

Creating Icons for iOS Applications

UINavigationBar Tint Not Working

Swift

Objective-C

Debugging an Insanely Hard Quartz Error

There is hope

Adding Objects to an Array Concurrently

Objective-C

Old-School C

Back to the future

The App Is Damaged and Can’t Be Opened

The Condition

The Gods want to punish you

Application Failing to Obtain a Receipt

Classes with the Same Name on Different Targets

This is what you expect

Not so fast!

A Case Against Base Internationalization

Localization of interface elements

Localization of UIBarButtonItem and other elements failing

Checking for Missing Localizable.strings

You Are Declaring Your NSString Wrong

Objective-C

CocoaPods: /Manifest.lock: No Such File or Directory

Asset Catalogs Bug

The bug

The solution

App Crashing Without Giving You Clues?

Objective-C

NSUserDefaults Not Working for a Sandboxed App?

Interface Elements Not Updating?

Swift

Objective-C

Find and Replace Strings Using Regex

Swift

Objective-C

Swift

Objective-C

Using regular expressions

Extracting a Dictionary from Array

Swift: NSArray

A Swift variation...

Objective-C

Magical Way for Counting Elements in Arrays

Swift

Objective-C

Swift: NSArray

A Swift variation

Objective-C

OS X App Not Launching with the Correct Size

Detecting the Application Target Running

Swift

Objective-C

Disabling a Method on a Class

Swift

Objective-C

Deprecating a Method on a Class

Swift

Objective-C

Xcode “Beachballing” on You

UIButton Not Grayed-Out

Swift

Objective-C

Swift

Objective-C

Catching Memory Corruption

The Sanitizer

SpriteKit Crashing on didBeginContact

Swift

Objective-C

SpriteKit Object Is Not Respecting Boundaries?

A Case Against Using Storyboards for Cocoa Apps

Swift

Objective-C

UIView Classes with Independent Rounded Corners

Swift

Objective-C

Making NSViews “Compatible” with UIViews

Swift

Objective-C

Detect when the UIPickerView Stops Spinning

Swift

Objective-C

“Insane” NSDates

Swift

Objective-C

Swift

Objective-C

Localizing the Application Name

Centering Views Horizontally with Auto Layout

Example

Oops... bad idea

What?!

Logic just left the room

This is how you defeat the beast

Elements Grayed-Out on Storyboard After Copying

Debugging Core Data

Alone in the dark

The package does not contain an Info.plist

Check the Version of an App in the App Store

Swift

Objective-C

Breakpoints and NSLog Not Working

Project corruption

Bad product scheme

Slow Transitions Between ViewControllers

Swift

Objective-C

Finished Running Problem

We have warned you about the punishments

Handoff Between iOS and Mac Clogged

On your iOS device

On your Mac

On Mac OS X

On your project

Stubborn App’s Ubiquitous Container

Verify this

Here comes the secret “spell”...

Where you can see the files...

Swift

Objective-C

Power Tips

CocoaPods

GitHub

StackOverflow

fastlane Tools

HandBrake

Alcatraz

Appendix

Index

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.219.103.183