Get Updates By E-mail 

ios (apple)

Tutorial: Texturing 3D Objects In OpenGL ES 2.0

  •  
  •  
  •  
  •  
  •  

OpenGL ES is a topic that I’ve posted about many times on this site, and I’ve been trying to keep a categorized list of OpenGL ES tutorials up to date with every OpenGL ES tutorial I’ve seen.  There have not been too many OpenGL ES 2.0 tutorials to date that go beyond the absolute basics.

Previously I mentioned a good series on OpenGL ES 2.0 that gave a great overview on beginner through advanced topics with some sample code.  I also mentioned a great hands on beginners OpenGL ES 2.0 tutorial from Ray Wenderlich, the creator of the Space Game Starter Kit and co-author of the Learning Cocos2D book,.

Ray has continued on with his tutorial series, and added another tutorial explaining how to texture objects in OpenGL ES 2.0 on iOS devices.  Texturing may sound like something simple, but the process of loading in the textures, and extracting the data from memory makes things somewhat stick on the iPhone and iPad.

You can find the tutorial here:
OpenGL ES 2.0 for iPhone Tutorial Part 2: Textures

Definitely some very handy snippets of code if you ever need to do your own texturing in OpenGL ES 2.0.

Added To The: Categorized OpenGL ES Tutorial Collection


  •  
  •  
  •  
  •  
  •  

Design: Creating An App with HTML/CSS And Sencha Touch

  •  
  •  
  •  
  •  
  •  

As you probably know there are many frameworks that allow you to develop native iOS apps with the interfaces designed with HTML/CSS.

The big question then is how do you create that app’s interface?  Sencha Touch is one possibility.

I’ve found a  tutorial that goes into detail on how to design a great looking mobile web app that looks like a native one using HTML/CSS using the Sencha Touch library that looks and feels just like a native app.   What I really like about the tutorial is that it goes through the design process step-by-step.

The tutorial is from Jen Gordon who’s set of beginner native iOS app design tutorials I previously mentioned.

You can find the tutorial here:
Create An HTML/CSS Mobile Web App Using Sencha Touch

You can test out an expanded version of the app built in the tutorial here (use your iPhone):
http://senchalearn.github.com/roookies/?style=demo

This information is great to know not just for web apps, but a useful guide if you plan on creating a native app using a wrapper framework like Phonegap.


  •  
  •  
  •  
  •  
  •  

Open Source: Behavioral Driven Development Testing Framework

  •  
  •  
  •  
  •  
  •  

For those unfamiliar with the term behavioral driven development testing (BDD) frameworks are used so that you can test applications using logical English like syntax.

I have come across an open source  framework designed specifically for iOS devices.   What’s cool about this specific framework is that it can easily be attached to Objective-C methods, runs in the simulator, and let’s you store your different stories in different files so you could easily demonstrate your software’s ability to cope with different scenario’s.

Here’s an example of the types of a story used for testing:

Story: Example story showing the basic syntax.
Given Simon is working
Then I should be able to see abc and 5 in the log and say goodby at the end.

The framework is known as Simon, and was created by Derek Clarkson.

It can be found on Github here:
https://github.com/drekka/Simon

UPDATE: Got feedback about another framework known as Kiwi you may want to check out if this interests you.

I had never used one of these frameworks before, but it looks like a great way to illustrate an app does exactly what it should do. HKSAB58YGFWN


  •  
  •  
  •  
  •  
  •  

Open Source: Restkit Library For Easier Communication With RESTful Web Services

  •  
  •  
  •  
  •  
  •  

Communicating web services can be a pain on iOS.  Some of the Cocoa classes for web communication are not available which doesn’t help.  Fortunately there are a number of open source projects that have made things easier for communicating with web services in Objective-C.

One such project is Restkit, and what Restkit provides is a very high level framework for communicating with RESTful services.  Restkit works on the iOS and Mac OS X platforms.  What really makes Restkit different from the similar projects out there is simpler usage syntax, and direct integration with Core Data so you can easily persist remotely loaded objects locally.

There are some great examples on Git included with Restkit demonstrating usage with a message board built in Ruby on Rails, an example of how to communicate with Twitter, and a step by step tutorial demonstrating commonly used functionality.

You can find the homepage of Restkit here:
Restkit

The Github project can be found here:
https://github.com/RestKit/RestKit

Looks like a great framework for those looking to integrate Restful web services into their apps as quickly as possible.

Read More: Open Source iOS Libraries And Tools


  •  
  •  
  •  
  •  
  •  

The Best Resources In iOS Development – February 6th 2011

  •  
  •  
  •  
  •  
  •  

It’s been another very active week for the site, and I appreciate everyone sharing the resources from this site.  It really keeps things going.  The community is getting more active, and there were so many great resources shared in the last week.

If you have a specific resource you’d like to share there’s two great ways to share them.. you can tweet them at me @maniacdev or you can post them on the iPad and iPhone Development Forum.

These are the top resources shared in the past week:

Latest edition here: iOS Development Resources

Tutorials: How To Create Great Looking iOS Apps Even If You Are A Design Noob – An excellent set of tutorials and guides from an app design expert for those without a design background looking to design a great looking and user friendly app.

Open Source: Libraries For Custom Status Bar Notifications And UIBarButtonItems – Open source project enabling customizable status bar notifications, overlays, and UIBarButtonItem’s similar to the Reeder, Evernote, and Google Maps apps.

Open Source: Generate Objective-C iOS App Code Using A Simple Domain Specific Language – An open source project that generates app source code from a very brief domain specific language.

iOS Beginner Screencasts – Xcode And Objective-C From The Start – A set of high quality screencasts for those who are absolute beginners to Xcode and Objective-C.

Open Source: Library With A Massive Number Of Useful UIKit Interface Enhancements – A very useful, and rapidly growing library of useful user interface enhancements.

Example Source Code: Face Detection And Augmented Reality – Source code from an upcoming book demonstrating face detection, and location based augmented reality.

Tutorial: How To Build An iOS Chat App Using Cocoa Classes – A step-by-step guide demonstrating how to use Cocoa networking classes such as NSUrl by creating a simple chat application.

Tutorial: Detailed Adwhirl Cocos2D Guide – A newly updated guide for those having difficulty integrating Adwhirl and Cocos2D.

Open Source: Beautiful App Sales Tracking Tool MyAppSales – A newly open sourced app with a beautiful interface, and extensive historical statistics for those looking to track app sales data.

Building An iOS App With Sencha Touch And Phonegap From The Start – A step-by-step guide starting at the absolute beginning for those looking to build an application with Phonegap and Sencha Touch.

Thanks for reading, please share this — you can use the buttons below!


  •  
  •  
  •  
  •  
  •