Cursos iOS Madrid: programación y desarrollo para iPhone & iPad

Cursos iOS Madrid Una vez más, este fin de semana lo hemos dedicado a uno de nuestros cursos iOS Madrid de programación para iPhone y iPad, desarrollando una App Universal (iPhone & iPad) sobre Star Wars. Empezamos el viernes por la mañana con aquellos alumnos que quisieron acudir a la pre-formación gratuita sobre Programación Orientada [...]

Curso de programación orientada a objetos con Objective C

Objective C Son muchos los alumnos y alumnas en potencia que piden material para revisar los conceptos fundamentales de Objective C para  la programación orientada a objetos antes de abordar el Curso Básico de Programación para iPhone & iPad. Para ayudar a resolver este problema común, he decidido hacer un Curso de Programación Orientada a [...]

Reducing cyclomatic complexity in your Objective C code

On 09/11/2011, in Bloques, Cocoa OSX, English, Object Oriented Design, Objective C, by frr149

Cyclomatic complexity The need for control structures is greatly diminished in Object Oriented languages if compared to other languages. Usually polymorphism provides a better and more scalable alternative to complex and nested conditionals. As a matter of fact, Smalltalk doesn’t even have a switch statement or method. In Objective C we have mostly two techniques to [...]

The software artist and the software artisan: two types of inheritance

On 08/11/2011, in English, Object Oriented Design, by frr149

Inheritance Consider that you are asked to implement a series of classes to draw geometric shapes. Never mind the details or even the programming language, just the expected behavior of the classes, and most importantly the structure of the class hierarchy. You have a class Square and a class Rectangle. Both must calculate the area [...]