Announcement: Lightning Talk @CocoaConf San Jose 2015!

This has been something I’ve wanted to do for a long time.

I was already signed up for CocoaConf San Jose 2015, and just a couple of weeks ago they announced in a conference email that they had four slots open for Lightning Talks. I immediately jumped at the chance.

Thankfully (and amazingly)… they accepted!

I don’t want to spoil the presentation since, after all, it’s only a five-minute presentation. However, I will say that the theme is Saving lives with iBeacons and it focuses on the combination of iOS, iBeacons, and Healthcare.

The talk came out of a recent project I was working on for a client of Cloud City Development and I thought would be perfect for a talk at a conference, and the client agreed!

Therefore, I am super excited that I can do an abbreviated version of the talk at CocoaConf San Jose, and I really hope I can do in a more robust, full-featured version in the future… but first things first!

See you there!

Quick list of what’s new in Xcode 7.1

What’s new in Xcode 7.1

Xcode 7.1

Xcode 7.1 adds support for new iOS devices and the new Apple TV. Xcode supports storyboards, unit and UI testing, playgrounds, and crash logs features for tvOS.

Interface Builder

  • Storyboards now support 3D Touch gestures such as Peek and Pop.

Debugging

  • Swift error breakpoints can be created in the Xcode debugger.

    Swift errors activate defined Swift error breakpoints when the error is thrown. You can edit Swift error breakpoint so that they are activated only for a specified Swift error type.

Enjoy!

Part Two of Core Bluetooth, iOS and Bluetooth LE Development Blog Series Now Available at Cloud City!

As I have mentioned before, I work for an awesome software development studio in San Francisco called Cloud City Development, and back in June we published Part One of the series Zero to BLE, which is a tutorial series focusing on developing for iOS using Core Bluetooth.

Today, I’m super excited to be able to announce that Part Two of the series has been published! As in the first article, the examples in the article are written in Objective-C, not Swift, and it has an associated tutorial project on Github that you can download and experiment with.

ZeroToBLE2

Again, I would like to thank Cloud City Development for allowing me to create this series, and I’m already working on Part Three, so look for that in the upcoming weeks!

Tutorial: How to Create a PDF with Quartz 2D (via @raywenderlich.com)

OK so this goes back a little bit – 2012, in fact – but I was recently researching how to create a PDF from within an iOS app. I honestly didn’t know if it was possible.

Thankfully, the following is a very helpful and clear tutorial on RayWenderlich.com by Tope Abayomi with steps for creating a PDF using Quartz 2D in iOS :

How To Create a PDF with Quartz 2D in iOS 5 – Part 1 – Ray Wenderlich

Thanks again Ray and crew!

 

App Store Tip: Acquiring Screenshots for Devices You Don’t Have in Your Drawer…

Recently when uploading an update of my app to App Store via iTunes Connect, and I was faced with a bit of a dilemma. iTunes Connect needed screenshots from a wider variety of devices than I was originally expecting, and more devices than I possessed. 

The directions referenced this article, which actually is super helpful as a reference for what dimensions of screenshots you will need to upload. Unfortunately, the only physical devices that I have are an iPhone 5c and an iPhone 6 Plus, leaving out the currently-most-important device, the iPhone 6.

So I began musing about this… “Could I use the Simulator?” I thought.

I thought that if I needed to take a screenshot in the Simulator, using the old Shift-Cmd-4 trick would be problematic because the dimensions would be off. Then there would be the inevitable headache of launching Photoshop to get a correctly-sized screenshot, etc., etc….

Thankfully I had the presence of mind to Google this, and StackOverflow came to the rescue!

The key is the fact that the Simulator has a special menu item under the File menu! Contained in that menu, there is one item: Save Screen Shot (Cmd-S).

This will take a properly-sized screenshot for the device being currently used (iPhone 6/6s, iPhone 6/6s Plus, even iPhone 4s…), and you can then use that for your screenshots in iTunes Connect right away! No resizing or editing required!

Here’s an example of the screenshot:

4.7-inch-A

Sure it doesn’t have my carrier information on it but it’s a great capture and satisfies the iTunes Connect/App Store requirements, and that’s what was blocking me from uploading my app! Done!