Tutorial

Articles from this Category

iPhone Dev Tips: Navigation and Tap Bar Controller

1. UINavigationController Handling navigation controllers programmatically is very easy. Starting from scratch and without using IB, you can create a navigation controller in the applicationDidFinishLaunching delegate medhod. Next you need to add it at least one view controller. Adding more controllers results in displaying only the last one which resides at the top of the […]

Read more

iPhone Dev Tips: View controllers & UIScrollView

Just something I’d better remind next time I pick up with an application development. View controllers are the solid rocks on which everything is built and UIScrollView is easy to use only if you know how. 1. UIViewController There are four main methods you’ll probably use: – (id)initWithNibName:(NSString *)nibName bundle:(NSBundle *)nibBundle In here you can init all of […]

Read more

Skype+iPhone+VoipOver3G

Ora che finalmente e’ disponibile Skype anche per iPhone, non ci sono più limiti al risparmio! Altre soluzioni tipo Nimbuzz e Fring non garantiscono la qualità audio di questa applicazione e diventano presto scoccianti da utilizzare. Se poi si dispone di un iPhone con jailbreak, non bisogna perdere un secondo: scaricare da Cydia il programma […]

Read more

Real VOIP: Telecom bye bye !

Dopo aver battuto mille strade (virtuali) per cercare di tagliare la bolletta telefonica, sono finalmente giunto ad una soluzione.  Tutto è iniziato con Skype. Un anno fa ho attivato l’abbonamento da tre euro al mese che include un traffico illimitato verso tutti  i numeri fissi nazionali. Conveniente, funzionante e… frustrante ! Doversi mettere davanti al […]

Read more

Time machine, Leopard 10.5.2 and iSight: a bad company

After installing the update 10.5.2 for Leopard, Time Machine (working correctly since October 2007) started to fail. The problem seemed related to certain files which couldn’t be copied. I wasn’t able to solve the problem even if I excluded them from backup. Moreover, there was a problem connected to UUID (as reported in console log).  […]

Read more

Konica Minolta 7022 et similia + Mac

Ho cercato nei forum, su siti specializzati ed in mille altri posti una soluzione per far dialogare il mio iMac (con Mac OS X 10.5) con una fotocopiatrice laser KM 7022. Niente da fare. La Konica fornisce driver per Tiger che non funzionano. Ma c’è di più. Anche sotto Windows i driver ufficiali stampano immagini […]

Read more

Un Mac, un Motorola PEBL 6 e MaxxiTim Web Ricarica Facile

Tempo di vacanze anche quest’anno ma con una necessità in più: un collegamento Internet che non ti abbandoni neppure in montagna. Presto fatto. Ho scoperto l’offerta MaxxiTIM Web Facile Ricarica che con 20 euro di consente di spremere 500Mb di dati entro il limite di 30 giorni dall’attivazione. Unico neo non è fornito supporto per […]

Read more

Core data: dependent keys

Simple problem: I want to update an attribute dependent on other attributes. Solution: setKeys:triggerChangeNotificationForDependentKey:. A not so simple problem: for speed issues, I want to cache the dependent keys and do some other stuf (refresh a view and so on). In the following exampe I have a NSManagedObject rectangle with two attributes width and height. […]

Read more

Core data: ivars and other stuff

After playing for a while with CD, I decided it fitted me perfectly but… Speed ! CD is indeed very fast and highly optimized but what if you should draw many times per second graphic objects which store their coordinates through core data ? I mean, I draw lines (entities) connecting joints (other kind of […]

Read more

OpenGL: gluUnproject, gluPerspective and gluLookAt

The use of incorrect parameters in gluPerspective may lead to incorrect results while trying to read scene coordinates via gluUnproject. After several nights spent trying to figure out the math leading coordinate transformations, I’ve come across the final (by now) solution. The problem is simple. Given local window coordinates x,y, calculate the scene coordinates x,y,z […]

Read more
Go top