Tag Archives: Framework

singleton

Objective-C Singleton

Hello fellows,

Due to many emails I have been received on the last months, I decide to create a single article to explain a little bit about the Singleton classes (also known as Singleton Pattern). I’ll focus here on Objective-C and Cocoa approach, however I’ll talk a little bit generally, so you can take the concept to other languages as well.

Let’s start!
Continue reading

framework_ios_2

Universal Framework iPhone iOS (2.0)

Hello my friends,

Due to some bugs and questions with the old tutorial, I’m creating this new one, much more simpler and less bugs than the another one. I’ll not post the old link here because everything you need to know you can find right here.

Nowadays, exist few alternatives to create a Framework to iOS, changing the default Xcode Script, which could not be a good choice if you want to publish the APPs constructed with your custom Framework. I’ll treat here about how to construct an Universal Framework to iOS, using the default tools from Xcode.

Let’s start!
Continue reading

ngl_divulgation

NinevehGL is HERE!

Hello my friends,

After long months, just waiting for a single day, was a long wait, I know, but today the things will change a little bit. Today is THAT day.

After working through the nights, polishing every piece of code, thinking and rethinking routines… finally IT is here!

I’m very very happy to announce that NinevehGL is HERE!
Continue reading

framework_ios

Creating Universal Framework to iPhone iOS

Hello my friends,

I felt a good impulse to write a little article about this theme, because there are few poor informations about it around the web. In many cases, are wrong or incomplete informations. So if you want to write a framework to iPhone and distribute it, you are in the right place!

I’ll treat here about how to construct an Universal Framework to iOS, what are the necessary configurations and everything else related to. We’ll focus on Xcode 4, but this is also valid to Xcode 3.x.

Let’s start!
Continue reading

NinevehGL will come in the first half of 2011.

NinevehGL Features

Hello everyone!

Today I want to talk about the NinevehGL. Talk more about the features and about what it can offer to us. NinevehGL is almost done, I want to be as fast as possible, but I don’t want to launch it without everything seems great: the documentation, the tutorials, the official website and obviously, the NinevehGL itself.

Soon I’ll start posting videos and many divulgations about it, but right now in this article let’s see some images taken directly from the NinevehGL running.

Let’s start!

Continue reading

egl_eagl_apis

Khronos EGL and Apple EAGL

Hi again everybody!

This will be a little article to give support to my full tutorial about OpenGL. In this article I’ll talk about the EGL API and the EAGL (the EGL API implemented by Apple). We’ll see how to set up an OpenGL’s application to comunicate with the device’s windowing system.

I’ll focus on Objective-C and iOS, but I’ll talk about the setup in others devices and languages too. So let’s start!
Continue reading

nresponder_code

NResponder tutorial

Introduction

Hello everyone!

Welcome to this article!

Today I want to show you something called Nineveh Responder engine, or just NResponder.
And to do so, I will cover just four points, nothing more:

  • Nineveh What?: What is this? What is it for?
  • NResponder’s features: What news does it bring?
  • NResponder usage: How to use it?
  • REAL WORLD example: NResponder in action!

OK, so let’s start!

Here are the source files of NResponder and the project files used in this tutorial:


Continue reading

NResponder Released – The New Flash Event Engine

Nineveh Responder EngineI’m very glad to announce that Nineveh-Responder (NResponder) was released.


Official code page:
http://code.google.com/p/nineveh-responder/


NResponder is a new way to work with events in ActionScript 3.0 globally. You can cross events between different classes or even in different SWF files. With NResponder you add so much more flexibility to your application because you can changes the parameters “on the fly” in Run-Time. NResponder is inspired on Objective-C approach and is very oriented to performance and memory. You don’t need to create any instance if you don’t want.

For example, you can do:

// Instead this
myObject.addEventListener('anEventType', initialize, false, 0, true);

// Use this
NResponder.add('anEventType', initialize);


FEATURES
Bellow some characteristics of NResponder:

  • Work in static or instantiated mode;
  • Can specify the number of arguments to dispatch;
  • Can change these arguments “on the fly” (in Run-Time);
  • Can remove all NResponders;
  • Can specify the number of replies;
  • Can ordinate the replies;
  • Can associate each listener with one target;
  • Can have a delay to the next dispatch;
  • Can pause or resume the replies;
  • Can change all this attributes “on the fly” (in Run-Time);
  • Can join to native Event API of Adobe® Flash® and continue to use all this features;
  • Can instantiate and control each NResponder without change the others.


LEARN TO USE IT
The NResponder engine is full documented and you can check all the docs here:
http://db-in.com/frameworks/nineveh/doc

Below you can watch videos tutorials with the features and real world examples of the usage of NResponder.

Youtube 5 chapters:


Download
You can make the download of sources here:
http://nineveh-responder.googlecode.com/files/Nineveh-Responder.zip

Or visit the official code page of the NResponder:
http://code.google.com/p/nineveh-responder/

Here is the blog page:
http://db-in.com/blog/nineveh-framework/nresponder/


Remember to give me a feedback if you use it.


See you in the next post.