What if you wanna vertically center the text in a UITextField?… This is an easy trick..!!
[cc lang=”objc”][textField setContentVerticalAlignment:UIControlContentVerticalAlignmentCenter];[/cc]
Thoughts
What if you wanna vertically center the text in a UITextField?… This is an easy trick..!!
[cc lang=”objc”][textField setContentVerticalAlignment:UIControlContentVerticalAlignmentCenter];[/cc]
I recently came across a problem. The contents of the launchpad, somehow, got corrupt. I was seeing files that shouldn’t be there. So… how did i fix it?
Open this folder:
[cc lang=”bash”]~/Library/Application Support/Dock[/cc]
(CMD + Shift + G… and paste that!). Once you’re right there… you’ll need to delete delete the “.db” file. Last step… relaunch the dock!
[cc lang=”bash”]killall Dock[/cc]
That’s it!
So… we’re stuck in 2012. While technology moves forward in a fast pace, the human aspect of our society gets worse as well. If you think about it … it’s wicked. We have all of this cool tech, yet, people die of hunger all over the world.
Not too long ago… everyone thought that tech would change the world. Say.. back in 1984.
Guess what!. If you miss that epoch… and don’t feel ashamed about it, you can skin your OSX to make it look as the ooooold Mac System. It’s pretty cool, and you can get it for free right here.
Time has come to write few lines about Panic’s fellows. This week they have released an awesome tool named ‘Coda‘. For those who never heard about it, it’s an html editor. I’ve tested TextWrangler, TextMate, BBEditor, Sublime, just to name few. But this one has everything already in there.
It has svn / git integration, and it’ll also allow you to upload your new websites to Amazon S3, or any webhosting you might be using.
Furthermore, if you buy it through the AppStore, you’ll get iCloud Sync. Which means that your website-credentials are gonna be stored safely in Apple’s backends.
These days i’m not thaaaat into HTML editing. But i’m using this dude to do my svn commits (i don’t like Xcode’s svn integration… haven’t you noticed?).
If you’re looking, by chance, for an HTML editor for OSX… just give coda a try. You won’t regret it. They even have an iPad version..!
Since the Preview 4 has just been released, and we’re getting close to the final release, i thought it would be a good idea to check out what are the system requirements for Mountain Lion.
Well, let me say you something. They’re tight. Yeah. Most of you are probably gonna need to buy new hardware, if you still wanna run this big cat. Mountain Lion needs..:
Anything else is ‘deprecated’. So… where are you standing? do you need to spend money… or not?. (Excuses, excuses… i wanna buy a new Mac Retina!).