Wednesday, July 8, 2015

Quick Tip: Integrate iAd banners in your iOS App with two lines of code

The easiest way to add an iAD banner to your app


Today I'll show a very simple way to integrate an ad banner to your iOS app. Most tutorials (including mine) explain the complex version by implementing the ADBannerViewDelegate protocol. If you don't care about error handling, animations, positioning or the maximum number of allowed banner instances (10!): There is a much easier way which requires only two lines of code in SWIFT.

I've published an update for my (Watch) puzzle game in the Apple App Store

Yet Another (Watch) Puzzle Game:

Simple puzzle game inspired by the 15 Puzzle for Apple Watch, iPhone and iPad.
New in version 1.3: Puzzle mode - slide image tiles instead of numbers.

 
 iOS Simulator Screen Shot - Apple Watch 21 May 2015 22.36.29




AppStore


Saturday, June 13, 2015

Quick Tip: Implement fullscreen (interstitial) Ads for iOS in SWIFT

How to implement an Interstitial Ad combined with a counter

Today I'll show how to implement a often used pattern in free games: Usually you can play free games a certain time, till a fullscreen ad is shown. For example after each third game over an ad is shown. Implementing this behaviour for the iOS platform requires only few lines of code in SWIFT.

Thursday, June 4, 2015

How to implement In-App Purchase for your iOS App in SWIFT

Adding In-App Purchases:

Welcome to part 8 of my swift programming tutorial. Today I'll show how to implement In-App Purchases:
  • Create In-App Purchases in iTunesConnect
  • Implement In-App Purchases
  • Test and upload to iTunesConnect



As a starting point you can download the sample project from my GitHub repository.  

Thursday, April 30, 2015

How to debug on a real Apple Watch

Today my Apple Watch was delivered :-)

I immediately tried to deploy my prototypes to the Apple Watch, to see how the behave on real hardware. The simulator gives only a first impression. 


Here are my learnings: Basically you need to perform two steps:
  • Add the UDID of your apple watch to the developer portal
  • Update your provisioning profile to support the watch

Luckily XCode can manage the whole process for you.

Friday, April 24, 2015

SWIFT 1.2

I've updated all my SWIFT tutorials to SWIFT 1.2 and XCode 6.3. You can find them here.


Monday, April 20, 2015

New Blog Domain

I've moved my blog to a new domain: developerplayground.net

Unfortunately it looks like Google has lost it's interest in Blogspot. There have been no major updates in the last two years.

It also looks like that it is nearly impossible to get AdSense running with a Blogspot domain.

I have moved my blog to a new domain. I'll continue posting links and copies of my articles also here for a while.