SEO, SEM, Web, eCommerce, iOS, Cloud, HTML5, Chrome Apps and Android. Entrevista a Fran Saorín, desarrollador indie de iOS. Sprite Kit Programming Guide: About Sprite Kit. Sprite Kit provides a graphics rendering and animation infrastructure that you can use to animate arbitrary textured images, or sprites.
Sprite Kit uses a traditional rendering loop where the contents of each frame are processed before the frame is rendered. Your game determines the contents of the scene and how those contents change in each frame. Sprite Kit does the work to render frames of animation efficiently using the graphics hardware. Sprite Kit is optimized so that the positions of sprites can be changed arbitrarily in each frame of animation. Sprite Kit also provides other functionality that is useful for games, including basic sound playback support and physics simulation. How to create a simple game using Sprite Kit. Ladybugs from AppForCats Back in early 2010 I wrote a very simple app called AppForCats At the time I did it with pure UIKit which meant I had to: code my own game loop using timersmove my characters manuallydo my own animations by manually changing imagesdo my own collision detectiondo my own gravity calculationshandle all sounds with an AVPlayer.
iOS 7 Programming Tips: Customize Navigation Bar and Status Bar. Developer’s Guide to the iOS 7 Status Bar. In previous versions of iOS, the status bar was untouchable other than color adjustments. iOS 7 makes the status bar transparent, and, if your view doesn’t make use of a UINavigationController, then the 20 points of space at the top of the screen that the status bar sits on top of becomes usable space.
This change makes the UINavigationController a major factor in the development of your app. UINavigationController and the iOS 7 Status Bar If your app uses a UINavigationController with every view, then, as far as the status bar is concerned, there will be little for you to worry about when developing for or transitioning to iOS 7. When a UINavigationController is present, the UINavigationBar will automatically be placed below the status bar (the standard 20 point offset from the top of the screen that we are accustomed to from previous iOS versions). The background of the status bar will be modified to match the UINavigationBar below it.
From NSURLConnection to NSURLSession – #5 – iOS 7. One of the more significant changes in iOS 7 and Mac OS X 10.9 Mavericks was the overhaul of the Foundation URL Loading System.
As someone steeped in Apple’s networking infrastructure, I thought it would be useful to share my thoughts and impressions of these new APIs, how they will change the way we build apps, and what they signify in terms of the evolution of API design philosophies. NSURLConnection got its start a decade ago, with the original release of Safari in 2003, as an abstraction on top of the Core Foundation / CFNetwork APIs. The name NSURLConnection actually refers to a group of the interrelated components that form the Foundation URL Loading System: NSURLRequest, NSURLResponse, NSURLProtocol, NSURLCache, NSHTTPCookieStorage, NSURLCredentialStorage, and its namesake, NSURLConnection.
NSURLRequest objects are passed to an NSURLConnection object. At WWDC 2013, Apple unveiled the successor to NSURLConnection: NSURLSession. Using Storyboards. The biggest problem I see with people using Storyboards, is they throw all the UI for their app into a single Storyboard.
This is equivalent to throwing all the code for the same app into a single file. It becomes hard to understand, hard to use and almost impossible to work with on a team. If we know not to do this with code, why do we do it with Storyboards? It’s partly Apple’s fault. 75 Essential Tools for iOS Developers - Fickle Bits. If you were to go to a master woodworker’s shop, you’d invariably find a plethora of tools that he or she uses to accomplish various tasks.
In software it is the same. You can measure a software developer by how they use their tools. Experienced software developers master their tools. A Few Helpful Xcode Plugins. Xcode is one of those IDEs that you either love or hate ( sometimes both ).
Coming from a Visual Studio background it has taken awhile to get used to the Xcode workflow. I’m still hopeful that someone will create a Resharper like tool for Xcode, but until then I wanted to share some of the plugins that I’ve found useful. Nil vs. Nil vs. NULL: The Uses And Abuses of Null Objects. One thing that developers who are new to Objective-C will notice immediately are the number of null keywords.
We have a choice of: Under the hood there isn’t much difference between these (as of this writing they are all defined exactly the same way), but by convention they have some subtle variations, and they have some odd behavior around them that it pays to understand. All three of these values represent null, or zero pointer, values. The difference is that while NULL represents zero for any pointer, nil is specific to objects (e.g., id) and Nil is specific to class pointers. It should be considered a best practice of sorts to use the right null object in the right circumstance for documentation purposes, even though there is nothing stopping someone from mixing and matching as they go along. Messaging. Flip an image in UIImageView using UIView transitionWithView. View animations on the iPhone are wonderful.
Used properly they will delight your users and help your application stand out. The iOS provides a suite of methods for animating your interface, including the excellent UIView class method + (void)animateWithDuration:(NSTimeInterval)duration animations:(void (^)(void))animations, which takes a block of animations that let you, for example, smoothly resize or move a view or adjust it’s alpha value to fade it in and out. But what if you want to do a more complex transition? You might be tempted to dip into Core Animation and transformation matrixes. You have complete control over the animation, the timing, callbacks and so on. iPhone & iPad Keyboard Sizes.
The size of the on-screen keyboard varies based on the device and language used.
Your app can get the exact keyboard size by registering as an observer for one of these notifications: iOS Development Tips & Tricks by BiOM. The Problem with Facebook iOS SDK Now that the Facebook iOS SDK has been changed to use Graph API, many people are trying to figure out just how to use it properly. In my opinion, however, there are problems with the SDK’s architecture that make it likely to be used poorly. For example, recommends instantiating the Facebook class and authenticating from within your AppDelegate. This is suboptimal for a several of reasons.
First, in many apps that allow Facebook integration, the user may never actually use the Facebook features. In-App Purchases en iOS (Parte 2) En la primera parte se vió una introducción a las In-App Purchases , categorías y tipos. Ahora veremos un ejemplo práctico, en concreto, desarrollaremos una aplicación que comprará un archivo de audio que no se encuentra en el bundle. Una vez comprada y descargada, podremos reproducirla en nuestro dispositivo.
In-App Purchases en iOS (Parte 1) Como pasó en el artículo de las notificaciones Push , hay mucha información y por ello he tenido que dividir el artículo en dos partes. Testico — Show your icon! Working with Files in Objective-C. In Working with Directories in Objective-C we looked at the NSFileManager, NSFileHandle and NSData Foundation Framework classes and discussed how the NSFileManager class in particular enables us to work with directories in Objective-C. In this chapter we move on from working with directories to covering the details of working with files using all three of these classes. Getting the NSFileManager Reference First we need to recap the steps necessary to obtain a reference to creatane an instance of the NSFileManager class. As discussed in the previous chapter, the NSFileManager class contains a class method named defaultManager that is used to create an instance of the class.
Try Objective-C. How to have a « waiting » UIAlertView (UIAlertView without buttons) Number of View :1533. iOS Fonts. Interface Builder Outlet Collections. I posted a while back about the UINib class which was a minor but useful addition to iOS 4.0. Today I want to mention another iOS 4.0 addition that sneaked in under the radar – Interface Builder Outlet Collections. Interface Builder Outlets Interface Builder Outlets are nothing new. The IBOutlet identifier added to a variable declaration in your class header file provides a hint to Interface Builder. The outlet representing an instance variable in your class can then be visually connected to the UI object in Interface Builder. @property (nonatomic, retain) IBOutlet UIWindow *window; @property (nonatomic, retain) IBOutlet NibCollectionViewController *viewController; Integrate Chrome with your iOS app. As an iOS app developer, when your users want to access web content, you currently have two options: create your own in-app web browser frame, or send users away from your app to a browser.
With Chrome’s OpenInChromeController class with x-callback, users can open a web page in Chrome and then return to your app with just one tap. In the example below, a YouTube user has opened a link in Chrome. “YouTube” is prominently displayed in Chrome’s back button. Touching “YouTube” returns the user to the YouTube app. Pokeb/asi-http-request. Geolocalización y multitarea en iOS: posicionamiento GPS y MapKit de Google. En este capítulo de programación del Curso de Aplicaciones de iOS me gustaría hablar sobre la localización en dispositivos que usan iOS así como de la multitarea ya que son cosas muy relacionadas, por eso remataremos el tema con los avisos, es decir, notificaciones locales, esos mensajitos que los programas lanzan, y como poner un número en nuestro icono de nuestra aplicación, también llamado “badge”; que por cierto también lo tiene la clase UITabBarItem, o sea, un botón de una barra de botones tipo pestañas o tab’s… ;-)
AFNetworking/AFNetworking. Domesticcatsoftware/DCIntrospect. Robbiehanson/CocoaLumberjack. Fantastic Objective-C Frameworks! App que permite traducir los modismos de cada país de Latinoamérica. — aplicaciones, apps, Cómo se dice en Latinoamérica, modismos Las nuevas tecnologías han permitido que podamos comunicarnos con gente de otros países, gente que por la vía tradicional no hubiéramos podido conocer, y no necesariamente personas sino medios de comunicación extranjeros que nos permiten acceso a información.
Sin embargo a veces se filtra un pequeño problema: los modismos. Y es que si en cada Estado de la República hay sus propios modismos, imagínense la cantidad existente en toda Latinoamérica. Siguiendo la fiebre de las apps, que las hay en una cantidad inimaginable y para todos usos, en la Apple podrán encontrar “Cómo se dice en Latinoamérica”, una app que facilitará la comunicación. La aplicación cuenta con 2 sistemas de búsqueda, que puede ser a través de un listado de frases o palabras frecuentes, y la segunda es ubicando el país del que quieran saber en el mapa. Es así como pueden encontrar la forma en que se dice la misma palabra en diferentes países.
@Cynvalle. Objective-C’s New NSNumber, NSArray and NSDictionary Syntaxes Mean Less “Yak Shaving” for iOS and OS X Developers. Enormego/EGOCache. DaveOnCode. Starting from Xcode 4.2 and the introduction of the new LLMV compiler, is now possible to use “Automatic Reference Counting” (ARC). Why RubyMotion Is Better Than Objective-C - Hi, I'm Josh Symonds. Generally speaking I try to stay away from inflammatory posts. Drop-In-Simple Social Platform for Your App. Great as a ShareKit Alternative.
The Socialize Blog » Socialize Features. 7 tips for using UIWebView. For an IPhone app I have been building, I decided to use the UIWebView to render SVG files, instead of doing the vector rendering myself. iOS Library Adding An Informational Popover To A UISlider Knob To Indicate Current Value. Library For Easily Creating Rounded UIViews With A High Level Of Customization. Apple Push Notification Services Tutorial: Part 2/2. Apple Push Notification Services Tutorial: Part 1/2. Apphance. PonyDebugger: Remote Debugging Tools for Native iOS Apps.
How To Use NSOperations and NSOperationQueues. iOS Frameworks. Open Source Highly Customizable iOS UIPageControl Replacement. SMPageControl: UIPageControl’s Fancy One-Upping Cousin. Spaceman-Labs/SMPageControl. Understanding Automatic Reference Counting in Objective-C. Platform. CS 4903 - Setting up Vuforia in XCode. iOS - Vuforia SDK v2.0. Blog de mi día a día y sobre desarrollo software en iOS y Blackberry. Usando Local Notifications en iOS. How to build an Apple Push Notification provider server (tutorial) Envío de notificaciones en iOS # Parte I # Envío de notificaciones en iOS # Parte II # Library Providing An NSNotificationCenter Alternative For Handling Multiple Delegates. Envío de notificaciones automáticas en dispositivos iOS. Objective c - Is there a simple way of converting an ISO8601 timestamp to a formatted NSDate. Gesture Recognition on iOS with Attention to Detail. Exception - Objective-C stack trace.
Articles - Cocoa: Delegate chain system. Ddeville/DDSocialClient. Objective c - How to scale only specific parts of image in iPhone app. How to Mask an Image. JHStatusTextView – A Custom UITextView using UIAppFonts. How to create a UITableView with custom cells loaded from nib in Objective C « encryptedpixel. Iphone - how to convert hexadecimal to RGB. iPhone & iPad UX Reviews » Blog Archive » iPhone App Transitions. Building an iPhone chat app from the ground up. Develop Cross Platform Mobile Apps and Games.
Sparrow Framework - The Open Source Game Engine for iOS. Cheat Code. NSNotificationCenter vs. AppDelegate.