Skip to content →

Month: July 2013

MHTabBarController

Source: https://github.com/dougdiego/MHTabBarController

I forked MHTabBarController, which is a custom tab bar controller for iOS 5.  I forked it to accomplish two things.

  1. I wanted to use Quartz to draw my arrow instead of using images.
  2. I wanted my arrows to go down in addition to up.

To change the direction of the arrow, just set the pageIndicatorDirection variable like:

MHTabBarController *tabBarController = [[MHTabBarController alloc] init];
tabBarController.pageIndicatorDirection = PageIndicatorDirectionDown;

You can also easily modify the colors in MHTabBarController.m here:

// TAB Colors
#define SELECTED_TAB_COLOR UIColorFromRGB(0xCF785B)
#define SELECTED_TAB_TITLE_COLOR UIColorFromRGBWithAlpha(0xFFFFFF,0.5f)
#define DESELECTED_TAB_COLOR UIColorFromRGB(0xF5EECD)
#define DESELECTED_TAB_TITLE_COLOR UIColorFromRGB(0xAF553A)

ScreenshotDownScreenshotUp

Comments closed

devonThinkToDayOne – Apple Script

Source: https://github.com/dougdiego/devonThinkToDayOne

An AppleScript to export item(s) from DEVONthink to Day One.

Requirements

Download and install Day One Command Line Interface: http://dayoneapp.com/downloads/dayone-cli.pkg

Instructions

  1. Open DEVONthink and select the entries you want to export. You can select 1 or more than 1.
  2. Run the script. An entry will be made into Day One for each entry you selected in DEVONthink.

Configurations

To make the name of the DEVONthink entry a header in Day One, set the following property to ON:

property dayHeader : "OFF"

By default the create date of the entry in DEVONthink is used as the entry date in Day One. I organize my entries in DEVONthink like: 20110101-journal, 20110102-journal. If you use this format, set the following property to “ON”

property extractDateFromTitle : "OFF"

Note: you can modifiy the script if you use a diffent format for you note name.

Credit

The inspiration for this script came from:

Comments closed

evernoteToDayOne – AppleScript

Source: https://github.com/dougdiego/evernoteToDayOne

An AppleScript to export item(s) from Evernote to Day One.

This code was originally taken from the work done by Justin Lancy at: http://veritrope.com/code/export-evernote-items-to-day-one/

I added the property:

property extractDateFromTitle : "OFF"

I organized all my Evernote entries by the title rather than create date. I gave them a title like “20130718-notes”. When this property is set to “ON” the date is taken from the title instead of the create date.

Follow the link above for details on how to run the script.

Comments closed

iOS 7 App Redesigns

iOS 7 App Redesigns is a tumblr showing an iOS 7 redesign next to an iOS 6 design. Great site to get you think about how to update your own apps.

ios7_app_redesigns_instagram

Comments closed