I was wondering if there's a way you can programatically change the position of the splitter.
You can change the position of the divider using setPosition:ofDividerAtIndex:
setPosition:ofDividerAtIndex: