How to change delay for Dock autohide – OSX

A nice trick to make the autohiding mac Dock appear almost instantly.

  1. Open
  2. Type in this command:

defaults write autohide-delay -float 0 && killall Dock

If you ever want to revert these changes and get the delay again, use this command in the terminal:

  1. Open
  2. Type in this command:

defaults delete autohide-delay && killall Dock


Git Success

Found a very good Git article,

It recomends using 2 branches: master and develop. All integrations and work happen on the ‘develop’ branch. Once the code is good, it gets merged into ‘master’.

This is a great diagram showing the workflow for a given project with git version control.


Continue reading

A better NSLog!

While using objectiveC, try this macro to get detailed information with each NSLog, like line number, function name. It takes multiple arguments and can replace NSLog without a problem. Here is the macro:

The resulting console log will look something like this:


A Better SlideView for Corona SDK

I was making an app that needed 2 SlideViews on the same scene, but there  is a problem with the sample code for a SlideView in Corona SDK: You can only have one SlideView per scene.

I modified the code to make the SlideViews independent from each other, enabling the creation of more than one instance for a single scene.

This simple tutorial will guide you on how to create a GroupObject that contains images to slide through, and implement the “touch” listener that will scroll through the images.

Continue reading

Creating Games with Corona SDK

I recently started used Corona SDK to create mobile games that run on Android and Iphone. Corona SDK uses Lua Scripting language to do its magic. Corona lets you focus on the gameplay aspects of game creation. The tutorials on their website are excellent and the community continues to grow.

Screen Shot 2013-04-19 at 11.03.39 AM

I have created a menu system using coronas Storyboard that automatically releases the previous scene. I will be creating a tutorial for the process soon.


Back to top