Xcode 4 allows you to develop applications for iPhone or iPad with a target lower than today's iPhone OS 4.3. However the same code that comes with templates "sin" of arrogance, assuming that our application will target iPhone OS 4 or higher. Delegated in the application, for example, Xcode inserts the following lines of code:
1 2 3 4 5 6 7
| BOOL ) application : ( UIApplication * ) application didFinishLaunchingWithOptions : ( NSDictionary * ) launchOptions - (BOOL) application: (UIApplication *) application didFinishLaunchingWithOptions: ( NSDictionary *) launchOptions { / / Override point for customization after application launch. self.window.rootViewController = self.viewController; ; [Self.window makeKeyAndVisible]; ; return YES; } |
Continued ...
di Flash. Illustrate a technique to create symbols (MovieClip) modal components to be used similarly to the Alert and Window of Flash. The aim is to show a MovieClip above all others, disabling - well - access to the underlying and any other object / component present. To be honest I have achieved that by doing a little 'reverse engineering code from Adobe, which is in the clear! I actually resisted 
The artefizio that is used to disable any interface present below our MovieClip, is to create a transparent MovieClip take the whole area of the stage. a false . At this MovieClip, which will be virtually no visible snaps a method "void" on the event onRelease , being careful to set the useHandCursor to false .
First of all we create a movie with any interface in the main stage:

Continued ...
A bug in Macromedia Flash 8, which can lead to despair, a developer, lies in the management of the Window component, when used with the class mx.managers.PopUpManager! In addition to the examples provided by Macromedia on this issue at the time, and still online, are not clear, often even blatantly wrong. What happens, in essence, is a failure that occurs suddenly in spite of our code funzionanva up to five seconds.
Continued ...
Latest Comments
Mark : @ Mark: Thanks for the answer. For example, if you have a code to save / use the folder ...
Mark : Thanks for the answer. For example, if you have a code to save / use the folder ...
Giovambattista Fazioli : @ Mark: in principle, absolutely, a lot depends on how and what to download. La. ..
Mark : Hello, good guide! I wanted to ask, you can use the same code to run a sql database? Instead of ...
Joseph : Hi I wanted to ask you how you can do in the post I uploaded a gallery of 50 images, for example, ...