🌐 Public

iOS programming for beginners

By Nikos Maounis

Introduction

An introduction to Objective-C and some core concepts for developing apps with iOS SDK.

Nikos Maounis — Software Engineer currently living in Athens, Greece. Developing applications for mobile platforms. Apple enthusiast. blog.typpz.com

Added by Nikos Maounis: “Simple tutorial about text input using the dictation API.

1 WatchKit: Text Input and Dictation API

I spoke at Wearables TechCon about WatchKit last week, and as part of my class, I directed the attendees to the new Apple Watch App Store Apps page to show what is currently possible. After class, one of the attendees asked me about the NPR app, which allows you to "search for specific shows using dictation". I haven't heard that

Added by Nikos Maounis: “Basic tutorial for WatchKit and how to perform network fetching for data on the parent app.

2 WatchKit: Table and network fetch

After months of beta releases, the final version of Xcode 6.2 is here. Xcode 6.2 includes the SDK for the much anticipated Apple Watch. In this tutorial we will see how to create a WatchKit app that fetches data from the network and displays a simple table and a detail view. Tables in WatchKit work a little bit different than

3 Swift & the Objective-C Runtime - NSHipster

Even when written without a single line of Objective-C code, every Swift app executes inside the Objective-C runtime, opening up a world of dynamic dispatch and associated runtime manipulation. To be sure, this may not always be the case-Swift-only frameworks, whenever they come, may lead to a Swift-only runtime. But as long as the Objective-C runtime is with us, let's

4 iOS SDK: Pop up window in Swift

One of the most popular posts in my blog is the tutorial for creating a Pop-up window with iOS SDK using Objective-C. Since then many readers reached me out asking for a Swift version of the Pop-up. In general the process is exactly the same in Swift (except the language used to write the code of course...), so I am

Added by Nikos Maounis: “Introduction to XCTest framework

5 Xcode 5: Test UITableView with XCTest framework

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. First, we need an Xcode project with a simple UITable. Open Xcode and create a new

Added by Nikos Maounis: “It is an easy to deploy and fancy UI element.

6 iOS SDK: Create a Pop Up window

In an iOS project I am currently working on, I was requested 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

7 Introduction to Objective-C

Welcome to my series on coming to grips with the awesome language that is Objective-C. Throughout this small series of articles, my aim is to take you from no prior experience with Objective-C to using it confidently in your own applications. This isnʼt a rush job - so donʼt expect to just skim through the basics and be away -

8 Method and variable declarations in Objective-C

Objective-C is the primary language used to write Mac software. If you're comfortable with basic object-oriented concepts and the C language, Objective-C will make a lot of sense. If you don't know C, you should read the C Tutorial first. This tutorial is written and illustrated by Scott Stevenson

9 Building iOS Apps From Scratch

Before taking a crack at any Design Then Code project tutorials you'll need some knowledge of Xcode, Objective-C, Cocoa and UIKit. My goal is for this guide to help bridge the gap between having no knowledge of iOS development and having enough to start tackling more interesting projects. ToolsApple provides a number of tools to enable developers to build Mac

10 If you want to learn Cocoa...

be prepared to write a lot more code than in your typical "scripting" language. Three examples (I am using Ruby for comparison because it is the scripting language I am most familiar with; things would look very much the same with Python or PHP):

11 The App Launch Sequence on iOS

I noticed that many beginning iOS developers see the launch process of an iOS app as a bit of a mystery. Somehow, someone sends our application delegate an application:didFinishLaunchingWithOptions: message, seemingly the first place where we have chance to inject code of our own. But how does our app get there? The execution of every C program starts with a

13 iOS SDK: animations and effects in UIImageViews

iOS SDK is well known among mobile app developers for its elegant APIs that make creating polished and crafting UI experiences a piece of cake. In this tutorial I will present some small (and easy to implement) code snippets for adding effects to UIImageViews. Note that these effects are added on the fly while the app is running, which translates

14 Differences Between Xcode Project Templates for iOS Apps

When you create a new iOS app project in Xcode, you get to choose between several project templates, from the aptly named "Empty Application" to specialized things like an "OpenGL Game". I noticed that beginners can feel overwhelmed by so much choice. Which starting point should I choose? What if I go with a "Single View Application" now but later

16 User interface strings in Cocoa

Introduction (the wrong way)Putting a text string in your user interface is not a difficult thing to do on a technical level. In code, filling in text can be as simple as setting the text property of a UILabel to a literal string: someUserInterfaceLabel.text = @"Text to display";(This code is for an iOS UILabel. On Mac OS X, you would

17 Start making iOS 7 Icons

Not sure if you guys noticed, but Apple introduced a minor update to the look and feel of their upcoming mobile operating system last week. No? Well all controversy aside it looks like we've got a big job ahead of us, and obviously we need to have our tools in order! That's why I'm glad to introduce the 3rd version

18 Apple Push Notification Services in iOS 6: Part 1/2

Update 4/12/2013: Fully updated for iOS 6 (original post by Matthijs Hollemans, update by Ali Hafizji). In iOS, apps can't do a lot in the background. Apps are only allowed to do limited set of activities so battery life is conserved. But what if something interesting happens and you wish to let the user know about this, even if they're

19 Apple Push Notification Services in iOS 6: Part 2/2

Update 4/12/2013: Fully updated for iOS 6 (original post by Matthijs Hollemans, update by Ali Hafizji). This is the second part of a 2-part tutorial series on integrating Apple Push Notification Services (APNS) into an iPhone app. In the first part of the tutorial series, you learned how to enable your iPhone app to receive push notifications, and how to

20 Network Reachability in iOS apps

If you write an iPhone application that uses the network, then you must check if the network is both operating and that your server is reachable. Apple has and will continue to reject applications that do not test reachability. To this end, Apple provides iPhone developers a sample application and class, Reachability, that can easily be used to perform these

21 Core Data on iOS: Getting Started

Swift Update: Check out our book Core Data by Tutorials for the latest on Core Data in iOS 8 and Swift! The first chapter of the book is available as a free tutorial too: Your First Core Data App Using Swift. Update 4/17/12: Fully updated for iOS 5 (original post by Ray Wenderlich, update by Adam Burkepile). Of all of

22 Introduction to MapKit in iOS 6 Tutorial

Note from Ray: This is the sixth iOS 6 tutorial in the iOS 6 Feast! In this tutorial, we're updating one of our older tutorials to iOS 6 so it's fully up-to-date with the latest features like the new Apple Maps in iOS 6 and related new iOS 6 APIs. Parts of this tutorial come from Matt Galloway's "What's New

23 Compiler Warnings for Objective-C Developers

Compiler warnings are one of the most helpful tools for developers. The compiler can not only warn you about obvious mistakes (such as a method you forgot to implement); it also identifies many code patterns that, though syntactically correct, are potentially dangerous (like signed/unsigned conversion) or just plain wrong (such as mismatched format specifiers in a format string). Both the

24 Asynchronous HTTP Client Using NSOperationQueue

Recently here at ELC, we've been working on an app that requires a lot of server interaction, which has been a learning experience for managing threading, server load and connectivity. In order to keep the app performant and responsive while sending a large number of requests and aggregating a large set of data, our team had to intelligently manage and

25 iOS Apps: Disable the Sleep Timer for Long-Running Tasks

Here's a UX idea that I tweeted about a while ago: iOS apps that perform potentially long-running tasks (10+ minutes) should give the user the option to disable the device's sleep timer. As an example, let's look at a long list of downloads such as you might encounter in your favorite podcast app when it downloads new episodes. As soon

27 Expanding/Collapsing TableView Sections

While giving many designers a headache the Twitter app still serves as template on how to solve a variety of UX riddles. One of which is the situation where one might want to have sections in a tableview that possess the ability to expand from one row to several and collapse vice versa. The eye of the experienced developer sees

28 Introduction to iCloud

The Lisa. The Twentieth Anniversary Macintosh. The iPod Hi-Fi. The MacBook Wheel. Each of these products exemplifies Apple's obsessive pursuit of quality as much as its unrivaled ability to anticipate the direction of things to come and execute flawlessly. In the words of Wayne Gretzky: Skate where the puck's going, not where it's been. But perhaps what Apple is most

29 Running a Successful iOS Consulting Company

Welcome to the second article in our Top App Dev Interview series! In this series, we will interview the best of the best mobile app or games developers that have recently nailed a hit in the top charts of the App Store. Each interview will be focused on one Top Developer who will tell us his or her inspiring story

31 Unzipping Files In iOS Using ZipArchive | iPhone Programming Tutorials

In this tutorial, I am going to demonstrate how you can zip and unzip files from within your iOS applications. We will be using a third party library called ZipArchive to achieve this. While there are a couple solutions out there to zip and unzip files, I feel that the ZipArchive library was the fastest and easiest way to get

34 How To Make a Multiplayer Game with Game Center Tutorial: Part 1/2

I'm experimenting with a new way of writing tutorials - by taking suggestions by you guys! In the sidebar to the right (scroll down a bit), you'll find a new section where you can vote for which tutorial comes next. In the first vote, a bunch of you guys said you wanted a tutorial about making a simple multiplayer game

35 How To Make a Multiplayer Game with Game Center Tutorial: Part 2/2

This is the second part of a two part Game Center tutorial series on creating a simple networked game with Game Center matchmaking. In the first part of the Game Center tutorial series, you learned how to enable Game Center for your app and find matches with other players using the built-in GKMatchmakerViewController.

Added by Nikos Maounis: “In this quick tip we are going to learn how to customize the output generated by NSLog in order to debug programs more efficiently. Read on

36 Customize NSLog for Easier Debugging

In this quick tip we are going to learn how to customize the output generated by NSLog in order to debug programs more efficiently. Read on! ProblemBy default, NSLog displays output in the following format: Date Time OurApp[<process­id>] NSLog outputA real-world example might look like this: 2013­08­03 00:35:53.038 TestApp[460:c07] Value of result = 20The default output is good, but it

Added by Nikos Maounis: “Product design is about empathy. Knowing what a user wants, what they like, what they dislike, what causes them frustration, and learning to understand and embody those motivations in design decisions—this is what it takes to make something insanely great.

37 Network Link Conditioner

Product design is about empathy. Knowing what a user wants, what they like, what they dislike, what causes them frustration, and learning to understand and embody those motivations in design decisions-this is what it takes to make something insanely great. And so we invest in reaching beyond our own operational model of the world. We tailor our experience for different

Added by Nikos Maounis: “iOS 7 is a real conundrum. It juxtaposes its smooth, platonic interface elements with the physical realism of making those elements respond realistically to user interaction.

38 Introduction to UIKit Dynamics

iOS 7 is a real conundrum. It juxtaposes its smooth, platonic interface elements with the physical realism of making those elements respond realistically to user interaction. We already covered UIMotionEffects, which adjust the appearance of an interface to the way the user is holding a device. Today, we're going to cover realistic animations using UIKit Dynamics. In order to create

39 Lifting the lid on the iOS 7 UIPicker

Updated April 28th, 2014: The issues discussed in this article relating to the tap areas and consistency of the iOS 7.0 UIDatePicker have been fixed in iOS 7.1. In particular, you can now scroll the AM/PM column by dragging above or below the text, and you can tap a value in the minutes and AP/PM column to select the value.

Added by Nikos Maounis: “Modern Objective-C syntax reduce the amount that devs need to write for common declarations and initializations.

40 Migrating to modern Objective-C

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

Added by Nikos Maounis: “Extending swift arrays to add missing functionality that is available in NSArrays and NSMutableArrays.

42 Extending Swift Arrays – Typpz Blog

Array is one of the most used collection types in Swift. Although it is extremely powerful (and the language provides much faster array iterations compared to Objective-C) it lacks many of the capa…

Florian Sänger

Freshman

  • 0 Playlists
  • 0 Followers

Leonid Shkolnik

Freshman

  • 0 Playlists
  • 0 Followers

Thodoris Del Fasoulas

Freshman

  • 0 Playlists
  • 0 Followers

kanubhagwat

Freshman

  • 0 Playlists
  • 0 Followers

MayorMcBurns

Freshman

  • 0 Playlists
  • 0 Followers

Shalosgood

Freshman

  • 0 Playlists
  • 0 Followers

Kalyan Shetti

love listening music, playing guitar, shell scripting

  • 0 Playlists
  • 0 Followers

Eng Soly

أنتِ جميلةٌ كوطنٍ محرر ... وأنا مُتعبٌ كوطنٍ محتل

  • 0 Playlists
  • 0 Followers

Maila Attie Manzur

Freshman

  • 1 Playlists
  • 0 Followers

qualikid

Freshman

  • 0 Playlists
  • 0 Followers

edwina

Freshman

  • 11 Playlists
  • 1 Followers

alfares_a1

Freshman

  • 0 Playlists
  • 0 Followers

dhiresh17

Freshman

  • 0 Playlists
  • 0 Followers

Luiz Fernando Cardozo

Freshman

  • 0 Playlists
  • 0 Followers

Gopinath

Freshman

  • 0 Playlists
  • 0 Followers

Hwayoung Lee

Freshman

  • 0 Playlists
  • 0 Followers

Martijn Schouten

Freshman

  • 0 Playlists
  • 0 Followers

AqsaKay

Freshman

  • 0 Playlists
  • 0 Followers

NAVIN KUMAR CHAHAR

I AM HUMAN ,SIMPLE AND STRAIGHT.

  • 0 Playlists
  • 0 Followers

J. De Leon

A creative digital entrepreneur with a passion for building creative and useful digital products.

  • 0 Playlists
  • 0 Followers
Load more

Delete your comment

Are you sure you want to delete your comment?