iPhone Life magazine

How-To

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. 



Tip of the Day: How to Set Speakerphone as the Default for Hands-Free Calling

image

If you spend most of your free time elbow deep in garden soil, if you have a long commute, or if you otherwise need to take calls on your iPhone hands free, you will probably be pleased to know that it is possible to set your iPhone to automatically answer calls in Headset or Speakerphone mode.



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.



Unleash Your Inner App Developer Part 9: Sending Messages

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 9 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, I taught you how to write your very first line of code. In the process, I touched on the concept of passing messages in Objective-C. In this post, we're going to take a closer look at the important concept of passing messages, and we will also work on converting the prototype iAppsReview into a fully-functional app.



Tip of the Day: How to Quickly Invert Colors for iPhone Use in Low-Light Situations

image

A few days ago I was on a late night stroll with my dog, when I received a text from my daughter that needed a reply. During the exchange that followed, I dictated my texts instead of attempting to type out a reply while walking or holding an energetic puppy still; but even so, I had to take a moment after sending each message to stop and let my eyes readjust to the darkness.

I could have gone in to my settings and selected Invert Colors, but I didn't feel like stopping and taking the time. "If only there were a way to quickly invert the colors of my screen," I thought as I squinted into the glare of my iPhone's screen.



Use Your iPhone to Build a Successful Business

image

In this article you will learn how to connect to your purpose and manage your time, two critical critical components of building a successful business. The apps you need for the exercises in this article are Pic-Collage (free) and Producteev (free) (or a similar task management system.) 



Unleash Your Inner App Developer Part 8: Code Writing First 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 fun turning your ideas into reality can be! This is Part 8 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, I mentioned Objective-C, the language of iOS Apps, is an object-oriented programming language. This means when you write code, you are mostly interacting with objects—both visual and non-visual. Working with an object-oriented language is a great advantage for non-programmers who want to learn programming. In this post I'll talk about these advantages, and we'll even get you to write your first lines of code!



Tip of the Day: How to Create Custom Reminders in iOS Reminders

image

When you set up reminders in the iOS Reminders app, you have six options for repeating:

  • Never (default)

  • Every Day

  • Every Week

  • Every two Weeks

  • Every Month

  • Every Year

But what if you need to repeat a reminder at a different interval? Maybe you want to be reminded every three weeks or every six months or weekdays only.



Tip of the Day: Take Easy Silhouette Shots with Your iPhone Camera

image

One of my favorite things about my iPhone is the way even a decidedly untalented photographer like me can easily take and share decent photos and videos using the built-in Camera, and I'm always on the lookout for iphoneography tips to help me improve my skills. Here's one on how to take easy silhouette shots with your iPhone, generously shared with me by iPhone Life magazine's newest editor Rheanne Schlee. This really easy trick can result in amazing photos:



Syndicate content