As almost all Apple developers, I was excited with the announcements Apple made in WWDC this year. Lots of new stuff, a revamped OS X experience, a new iOS version with refinements for the end user and great new APIs for developers and a whole new programming language: Swift. Last year Apple completely redesigned its mobile operating system, leading to a lot of criticism, although most reviews where positive. iOS 7 was new and fresh but in many ways it seemed like an unfinished product.
During the WWDC keynote last Monday, Apple unveiled the next version of OS X. The new version of OS X is called Yosemite and alongside a new design it comes also with great features. So let start with the design. I have to admit that after the radical redesign of iOS 7 last year, I expected the same thing to come to the mac with Yosemite. I expected a completely flat look, very simplified -even childish- icons, with translucency in some places to give a sense of depth.
In WWDC 2013, Apple introduced Xcode 5 and iOS SDK 7 with a built in framework for testing: XCTest.framework. Unfortunately Apple documentation lacks details for this framework. In this post I am going to present a simple way to test a UITableView using XCTest framework.
Apple will hold its annual developers conference in San Francisco in June. WWDC will kick off on June 2nd in Moscone West. As every year the web is full of (accurate and inaccurate) rumors regarding what does Apple have in its pipeline. Based on the various rumors, I’ll write about what I wish from Apple this year. It is clear that as last year was iOS year, this year’s WWDC hot announcement is going to be about the mac mainly.
I’ve been using the 1st gen iPad mini for about a year now. My main issue was the display quality and recently -after iOS 7 release- its speed. When Apple released the retina iPad mini this year, I thought that they finally released the mini as it should be since last year: an iPad with the same specs as the full size iPad but with smaller -and not worse- display.
In an iOS project I am currently working on, I got a request to create a pop-up window. Trying to figure out how to do it, I came up with a solution that is pretty easy to implement and very straight forward. All you need is a view controller with a transparent background and a subview (your popup window). After creating the popUpViewController, you can just call it from any other view controller.
Ten days ago, I’ve came by Iconic Book: A Photographic Tribute to Apple Innovation” while surfing the net. First thing that crossed my mind was: “Wow that the Apple Bible”. I immediately ordered my copy ($75 cost for the book plus 50$ for ship costs -I live in Greece-). Three days ago I found a note in my door, that I have a parcel waiting for me in my nearest post office. Next morning I got it. First impression? This book is much bigger than I thought it would be. It is elegant, printed in high quality paper, exactly like an Apple book should be.
Last year at WWDC 2012, Apple introduced Modern Objective-C alongside iOS 6. So what’s this? In a few words, it is a huge step forward to help developers write less code to achieve the same things. Worth mentioning is that modern Objective-C has nothing to do with iOS versions, it has to do with the compiler, which means that it is backward compatible.
Let’s dive into the basics of transitioning to modern Objective-C. Xcode offers a refactoring tool (edit>Refactor>Convert to Modern Objective-C syntax) which will convert your project to modern objective-c (it will also set the appropriate flag in build settings). If you would like to adopt modern Objective-C when writing your code, which is the best, as it is intended to help you write less lines of code, general rules for doing so are the following.
When coding for iOS, I usually style images with shadows show the layout looks more elegant. Adding shadows is easy, but when it comes to adding borders to UIImageViews things become trickier. That’s because when adding a border to a UIImageView, this border hides info from the image. To solve this issue, we have to rescale the image and then add the border to the scaled image.
Alongside iOS 7 in WWDC, Apple also announced a new version for its desktop operating system. The new version is the first OS X version that is not named after a cat. From now on OS X will carry names of famous places in California. First in this new naming series is OS X 10.9 Mavericks.