Skip to content

Instantly share code, notes, and snippets.

@import <Foundation/CPObject.j>
@import <AppKit/CPOutlineView.j>
@implementation SourceListController : CPObject
{
CPOutlineView outlineView;
CPView owner;
CPDictionary items;
AOURLConnection dataConnection;
/*
* AppController.j
* OutlineView
*
* Created by Chandler Kent on December 7, 2009.
* Copyright 2009, Your Company All rights reserved.
*/
@import <Foundation/CPObject.j>
@import <AppKit/CPOutlineView.j>
/*
* AppController.j
* NewApplication
*
* Created by You on July 5, 2009.
* Copyright 2009, Your Company All rights reserved.
*/
@import <Foundation/CPObject.j>
/*
* CPPropertyAnimation.j
* AppKit
*
* Created by Nicholas Small. (Extended by David Cann).
* Copyright 2009, Nicholas Small.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
/*
* AppController.j
* NewApplication
*
* Created by You on July 5, 2009.
* Copyright 2009, Your Company All rights reserved.
*/
@import <Foundation/CPObject.j>
/*
* AppController.j
* NewApplication
*
* Created by You on July 5, 2009.
* Copyright 2009, Your Company All rights reserved.
*/
@import <Foundation/CPObject.j>
@chandlerkent
chandlerkent / gist:125077
Created June 7, 2009 00:45
How to subclass CPTextField and customize behavior using becomeFirstResponder and assignFirstResponder
/*
* AppController.j
* NewApplication
*
* Created by You on May 21, 2009.
* Copyright 2009, Your Company All rights reserved.
*/
@import <Foundation/CPObject.j>
// Test Case for Cappuccino Bug #152: http://github.com/280north/cappuccino/issues/#issue/152
/*
* AppController.j
* NewApplication
*
* Created by You on May 21, 2009.
* Copyright 2009, Your Company All rights reserved.
*/
// Test case for Cappuccino bug #190: http://github.com/280north/cappuccino/issues#issue/190
/*
* AppController.j
* NewApplication
*
* Created by You on May 21, 2009.
* Copyright 2009, Your Company All rights reserved.
*/
// Related to the issue: http://github.com/280north/cappuccino/issues/#issue/192
// Line 551 of AppKit/CPPopUpButton.j
- (void)synchronizeTitleAndSelectedItem
{
var item = nil;
if ([self pullsDown]) // Do we even need this check?
{