iPhone Life magazine

Kevin McNeish's picture
Kevin McNeish is author of the new book “Learn to Code in Swift” as well as the “iOS App Development for Non-Programmers” book series (www.iOSAppsForNonProgrammers.com), winner of the Publishing Innovation Award. Kevin is also an award-winning app developer, software architect, and conference speaker in the U.S. and abroad. He has spent much of his career making difficult concepts easy to understand. Follow Kevin on Twitter: @kjmcneish.

Unleash Your Inner App Developer Part 12: Hardening Your Code

image

Do you have an idea for an app but lack the programming knowledge to begin building it? In this weekly blog series, How to Unleash Your Inner App Developer, I will take you, the non-programmer, step by step through the process of creating apps for the iPhone, iPod touch, and iPad. Join me each week on this adventure, and you will experience how much fun turning your ideas into reality can be! This is Part 12 of the series. If you're just getting started now, check out the beginning of the series here (this post has been updated to iOS 7.1.)

One of the best software development books of all time is Steve McConnell's Code Complete. Whether you are a seasoned software developer or a brand new programmer, regardless of the platform or language in which you write code, I highly recommend checking out this book. It will change your way of thinking and vastly improve the quality of the code you write.



Swift 101 - Swift Meets the Cocoa Touch Framework

image

Even though Apple has provided the new Swift programming language for building iOS apps, one thing remains the same—we still use the Cocoa Touch Framework libraries to build iOS functionality into our apps. However, since the Cocoa Touch Framework is written in Objective-C, how is this accomplished? In this article I'll show you the mechanics behind how Swift accesses Objective-C code, and how the Cocoa Touch APIs (application programming interfaces) change when you access them from Swift.



Unleash Your Inner App Developer Part 11: The Photo Library

image

Do you have an idea for an app but lack the programming knowledge to begin building it? In this weekly blog series, How to Unleash Your Inner App Developer, I will take you, the non-programmer, step by step through the process of creating apps for the iPhone, iPod touch, and iPad. Join me each week on this adventure, and you will experience how fun turning your ideas into reality can be! This is Part 11 of the series. If you're just getting started now, check out the beginning of the series here(This post has been updated to iOS 7.1)

Now that you have some of the basics of Objective-C programming under your belt, it's time to dive into some deeper coding territory. However, first let's talk about the homework assignment I gave you last week. I asked you to enhance iAppsReview so that it pulled the name of the app from the Write Review scene's text field. 



Unleash Your Inner App Developer Part 10: Social Media and Collections

image

Do you have an idea for an app but lack the programming knowledge to begin building it? In this weekly blog series, How to Unleash Your Inner App Developer, I will take you, the non-programmer, step by step through the process of creating apps for the iPhone, iPod touch, and iPad. Join me each week on this adventure and you will experience how fun turning your ideas into reality can be! This is Part 10 of the series. If you're just getting started now, check out the beginning of the series here (this post has been updated to iOS 7.1.)

In my previous post, you learned the basic mechanics of sending messages. There's very little you can do in Objective-C, the language of iOS development, without sending messages. In this post, we're going to put into practice what you have learned about messages and integrate social media into the iAppsReview app we've been working on in this blog. I'm also going to introduce a new Cocoa Touch Framework concept known as collections. You can get the latest version of iAppsReview from this link.



Swift 101 - New, Powerful Enumerations

image

In this post, I'm going to demonstrate some of the powerful new features of enumerations in Swift.

Declaring Swift Enumerations

Just about every programming language has the concept of enumerations. An enumeration allows you to group a set of related constants together. It contains a complete list of all the possible values for a given type. 



Swift 101 - Classes, Variables, Properties & Methods

image

As promised, here is my first installment on learning to program in the new Swift language!

Defining Classes in Swift

The following code shows an example of a Swift class definition:

To declare a class in Swift, you use the class keyword followed by the name of the class. If it has a superclass, you add a colon and the name of the superclass. The beginning and end of the class are indicated by the opening and closing curly braces.



8 Reasons Swift is Easier to Learn & Use than Objective-C

image

Over the years I have literally taught tens of thousands of people how to write code in Objective-C through training classes, conferences, online forums, and my book series. Based on the mountain of feedback I have received, I can tell you some key points that make Swift much easier to learn than Objective-C.

If Objective-C is the only language you have ever coded in, I have one thing to say about moving to Swift. Welcome to the 21st century.



Apple Loosens up its NDA for iOS 8, OS X, and Xcode

image

Apple, notorious for its secrecy, has loosened up its restrictive NDA (Non-Disclosure Agreement) for the beta versions of iOS 8, OS X, and Xcode 6. In the latest version of the iOS Developer Program License Agreement, they have added the following statement in the Confidentiality section under the topic 10.1 Information Deemed Apple Confidential:



The iOS 8 Sky is Falling - What Should Developers Do?

image

So the word is out. iOS 8, Xcode 6 and the new Swift programming language are headed your way. What should you do? Should you continue to learn iOS 7 and Objective-C or should you make the switch to iOS 8 and Swift programming? I've already had several emails and tweets asking about this as iOS developers ponder this important question.



WWDC 2014 - 7 HUGE iOS 8 Advancements for App Developers

image

When Tim Cook opened up by saying that iOS 8 accompanies the biggest release of the Apple SDK since the launch of the App Store, I thought it might just be hyperbole. It wasn't. There are tremendous changes in store for iOS app developers that will drastically change the way you create apps. I'll start with the biggest change first.



Syndicate content