Quantcast
Channel: Cocoanetics
Browsing all 428 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Radar: Monitoring CLRegion immediately after removing one fails

This gotcha became apparent to me while putting together the sample app for the seventh and last chapter of my book. There I am monitoring for the 10 regions from a plist which are closest to the user....

View Article


Image may be NSFW.
Clik here to view.

Radar: Ranging of iBeacons might fail if beacon is emitted on same device

This problem was encountered by me while research for chapter 7 of my book. Apparently other developers have encountered it as well as you can see from several questions on Stack Overflow: iOS 7...

View Article


Image may be NSFW.
Clik here to view.

Book: Feature Complete

On the last working day of May, I handed in the 7th and final chapter of my book. This chapter on Geofencing and iBeacons rounds off the offering of all technologies in iOS you need to know to build...

View Article

Image may be NSFW.
Clik here to view.

DTFoundation 1.7.0

This release of DTFoundation contains fixes for the most part, but also one new class DTProgressHUD. Also it is the first released via the new CocoaPods Trunk mechanism. This is why it gets a minor...

View Article

Image may be NSFW.
Clik here to view.

DTCoreText 1.6.12

It’s been a while since the previous update to DTCoreText. Now that I mostly finished my book I pulled together a new maintenance release. Changes FIXED: Crash parsing background shorthand containing...

View Article


Image may be NSFW.
Clik here to view.

Should I switch to Swift?

Angelina asks: I was very surprised when I heard about Swift.  I was curious what your thoughts are about Swift and phasing out Objective-C specifically since you are in the process of writing the...

View Article

Image may be NSFW.
Clik here to view.

For Hire

Over the last 8 months I worked almost exclusively on my book on Barcodes with iOS 7. That meant that during this time I could not take on any new projects. That has changed now, that my book is...

View Article

Image may be NSFW.
Clik here to view.

E-Mail Validation

For the ProductLayer sign-up form I wanted to make sure that the user can only send a sign up if the email address is valid. If you google for ways to validate an email address you most often solutions...

View Article


Image may be NSFW.
Clik here to view.

Open Letter to Long Lost Contacts

I extracted all E-Mail addresses from my archive, dating back almost 6 years. From the resulting 7303 I filtered all that didn’t seem to address individual people. That left 5466. For a while I...

View Article


Image may be NSFW.
Clik here to view.

Object Overlay on Video

We always welcome guest bloggers on Cocoanetics.com. This edition was prepared by Tejas Jasani and covers how to overlay objects on live video using Brad Larson’s GPUImage project. The main objective...

View Article

Image may be NSFW.
Clik here to view.

Understanding OAuth 1.0a

Chapter 6 in my book deals with how to build a solid wrapper around a RESTful web service and how to unit-test it. I thought I had finished principal writing on my book when I handed in chapter 7, soon...

View Article

Image may be NSFW.
Clik here to view.

DTFoundation 1.7.1

This minimalistic update to DTFoundation adds a helper method for loading small animated GIFs. It’s a hotfix release because no other functionality was modified. Changes ADDED: DTAnimatedGIF in...

View Article

Image may be NSFW.
Clik here to view.

DTCoreText 1.6.13

This hot fix release for DTCoreText contains a pressing crashing bug related to changed behavior in iOS 8. It also adds support for animated GIFs. Plus a few other annoyances. Changes FIXED:...

View Article


Image may be NSFW.
Clik here to view.

DTRichTextEditor 1.6.7

This maintenance release for DTRichTextEditor brings together various fixes from recent DTCoreText and DTFoundation updates and adds support for tint color. Changes ADDED: Support for tintColor on...

View Article

Image may be NSFW.
Clik here to view.

Barcodes Book complete on MEAP

After I had handed in the seventh and final chapter of my Barcodes book, Manning is now also making this available on the Manning Early Access Program (MEAP). This makes the complete book content...

View Article


Image may be NSFW.
Clik here to view.

Siri: Support “Countdown” synonymously with “Timer” in German

This has been bothering me ever since I switched my Siri to German. Now, finally, I radar’d it as rdar://17722963 and on Open Radar. Maybe then it finally has a chance to be fixed, eventually. Summary...

View Article

Image may be NSFW.
Clik here to view.

Square-Cropping Images

Christian asks: How would you – most elegantly – crop out the center square of an image, preserving the aspect ratio and output the image with a given size? That’s a good question. There is a “classic”...

View Article


Image may be NSFW.
Clik here to view.

DTFoundation 1.7.2

This maintenance update for DTFoundation fixes a slew of warnings that appear building for iOS 8 only or with Xcode 6. Changes FIXED: [DTAlertView] Completion blocks for the buttons are not executed on...

View Article

Image may be NSFW.
Clik here to view.

Development Pods

When integrating your own CocoaPods into your apps you often find some things you’d like to tweak in your component from within the app project/workspace. This would allow you to immediately test the...

View Article

Image may be NSFW.
Clik here to view.

DTDownload 1.1.1

This maintenance update for DTDownload fixes a dependency clash with DTFoundation and contains several minor fixes. Changes FIXED: arm64 Warnings FIXED: DTDownload.h could not found building via...

View Article
Browsing all 428 articles
Browse latest View live