Colors in Objective-C

With this post I start annotating some basic tips on Apple programming, as most newbies do.

We want to change the text and color of a label:

MyName.text = [[listNames objectAtIndex:i] uppercaseString] ;
[MyName setTextColor:[UIColor colorWithRed:22.0/255.0f green:150.0/255.0f blue:22.0/255.0f alpha:1.0]] ;

Continue reading

Advertisements

The very first Mac software I bought: Papers

There are many software missing from the Apple stores… because a Mac version was never released (or it’s no longer developed, as for my beloved CorelDraw…), but sometimes, combining the best features of Mac OS X into a single piece of software, smart developers can really deliver delicious applications.

Papers is one of them.

It’s just the best software to organize you collection of scientific papers. Can retrieve new ones with the API to query PubMed or Google Scholar, automatically download the PDF (and, cool,.. supports proxy so that you can use your library subscription even when at home), grab all data to organize the database, has a spotlight search box, and Previews your PDFs…

Just too cool, and with a small price for PhD students 🙂

Show path bar in Finder

To view the path bar, a handy and interactive “where are you?” panel, just select “Show path bar” from the Finder’s “View” menu.

You can see where  you are at a glance, you can click on upper folders and go to them, and also drag and drop files to upper folders to copy/move them.

Alternatively you can enable the “path” view in the title: see this tip.