Mac OS X

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

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

Core data and bindings. Handle with care.

After quarreling for a while with core data and bindings, I’ve suddenly felt a need to deliver my conquers to a larger public. So here follow some notes I haven’t found in Cocoa documentation. Core data and modal dialogs Simply note this: core data doesn’t work correctly in application modal windows, you will rather use […]

Read more

Come gestire il proprio computer da un altro in LAN o su Internet

Introduzione Sono passati ormai molti anni da che Apple ha reso disponibile Remote Desktop, ma ai tempi non avevo capito esattamente a che cosa servisse. L’ho scoperto solo poco tempo fa quando sono incappato in un programma simile ma open source (e quindi gratuito): VNC. Il concetto è semplicissimo ed è l’implementazione a 360° dell’architettura […]

Read more

Localizzazione con gettext ed Automator su Mac OS X

Ovvero come tradurre temi e plugin di WordPress ed imparare ad usare i comandi shell in Automator Dopo aver installato il plugin WeatherIcon ho scoperto che la traduzione in italiano esisteva solo per la versione 2.0 e non per la più recente 2.3.1. Una volta letto l’ottimo tutorial Localizzare temi e plugin mi sono cimentato […]

Read more
Go top