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 17: Core Data Test Drive

image

Do you have an idea for an app but lack the programming knowledge to begin building it? In this weekly blog series, 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 17 of the series. If you are 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 how to generate Objective-C classes from entities in a data model and you were introduced to the mmBusinessObject class, which provides an easy-to-use wrapper for Core Data classes. In this week's post, we're going to create our app's custom business controllers and take them for a test drive!



Unleash Your Inner App Developer Part 16: Tuning Up Core Data

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 16 of the series. If you are just getting started now, check out the beginning of the series here(This post has been updated to iOS 7.1.)

In my previous blog post, you learned how to add Core Data to a project and how to design entities in a data model. In this post, you will learn how to generate entity classes from the entities in a data model and use them within your app. You can get the latest version of the iAppsReview project at this link.



Unleash Your Inner App Developer Part 15: Core Data Next Steps

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 15 of the series. If you are 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 in this series, I discussed some of the basics of Core Data, the technology that allows you to store and retrieve information on an iOS device. You learned about entity data models, databases, and how you can improve on Apple's default Core Data implementation. 



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.



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