2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ... Ultima » Page 1 of 22 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Last»

Very short trick: make invisible HTML comments

Thursday, March 18, 2010

Comment HTML is a practice during the early stages of Web development, however, the commented code remains visible on the page, even if it is ignored by the browser. Select "View Source" or "View Code" from our browser, we will be able to see it. The comments apply to HTML using the syntax: PLAIN TEXT HTML: <p> Visible </ p> <! - I am a comment -> <p> Visible </ p> Inside [...]

Very short snippet: PHP, cut lip, counting the characters

Monday, September 14, 2009

As seen in very short snippet: PHP word cut is more pleasant break a text to "words", because it avoids cutting a word. There is still counting those who prefer to cut the characters, as it makes "cuts" more homogeneous and similar, despite the strong likelihood of cutting a word, precision of [...]

How to set XCode to use the iPhone instead of the mortgage

Thursday, August 27, 2009

A seven-minute screencast track of every detail

Objective-C: an alternative to the use of CGRectMake

Monday, July 27, 2009

CGRectMake () is a function (in reality an inline # define) used a lot especially when you create objects from code or graphical user interface. Its use is therefore often linked UIKit initialization of components, but also to simple UIView or UIImageView. CGRectMake () returns a struct (structure type) CGRect: PLAIN TEXT Objective-C: CGRect struct (CGPoint origin; [...]

Xcode shortcut

Thursday, July 23, 2009

Xcode is a really good development environment, nice and thick with details that make writing code efficient and pleasant. Among them is certainly the convenience of auto-completion while typing, especially when you write applications for Apple iPhone, where the frameworks are many and remember syntax and nomenclature enterprise to [...]

iPhone SecondApp: Guess the number - Part 2

Monday, July 13, 2009

As anticipated in iPhone FirstApp: Guess the number - Part 1 we see how to make an application for Apple iPhone without using Interface Builder! Indeed, physically delete files created by Interface Builder wizard Xcode. At the end of this post, then we will have an application identical in all respects to that made in Part One, [...]

iPhone: all system fonts

Monday, June 29, 2009

The Apple iPhone offers a limited number of fonts to developers. The list of available fonts is easily obtainable from code, as we shall see. If you want to use your own font, for example, include in the resources, it is a little more articulate and conivolge also the issue of licenses (rights) on the font "embedded" ... 'll talk about [...]

iPhone FirstApp: Guess the number - Part 1

Tuesday, June 23, 2009

The first source that I passed through the hands was written in Basic and consisted of a few lines of code, for enlightening me. It was a simple game that generates a random number from 1 to 10 and, through keyboard input, make sure the number entered was Maggioni, less than or equal to the random number. [...]

Actionscript trace, Objective-C NSLog ()

Thursday, June 18, 2009

Taking up the post from ActionScript to Objective-C (where you compare the code and syntax Actionscript and Objective-C), Actionscript, we have the convenient trace () function, used for debugging applications. This function emits an output on the console development environment Adobe Flash. It is used primarily in the stages of development and testing of [...]

Very short trick: stop NSTimer

Tuesday, June 16, 2009

The use of timers (NSTimer) in the development of applications for Apple iPhone is very frequent and not only in making games. One of the problems with which you can run into is the asynchronous timer itself, which can lead, during the arrest of one or more timers, the crash of our application. When you want to stop a [...]

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ... Ultima » Page 1 of 22 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Last»