Skip to content

Instantly share code, notes, and snippets.

View lsinger's full-sized avatar

Leif Singer lsinger

View GitHub Profile
[self setBackgroundColor: [CPColor colorWithPatternImage: [[CPThreePartImage alloc] initWithImageSlices: [CPArray arrayWithObjects:
[[CPImage alloc] initWithContentsOfFile: @"Resources/MessageListView-background.png"],
[[CPImage alloc] initWithContentsOfFile: @"Resources/MessageListView-background-solid.png"],
[[CPImage alloc] initWithContentsOfFile: @"Resources/MessageListView-background-solid.png"]
]
isVertical: YES]]];
/*
* AppController.j
*
* Created by __Me__ on __Date__.
* Copyright 2008 __MyCompanyName__. All rights reserved.
*/
@import <Foundation/CPObject.j>
@import "AccountBarView.j"
@import "MessageListView.j"
@import <Foundation/CPObject.j>
@implementation MessageListView : CPView
{
}
- (id)initWithFrame:(CGRect)aFrame
{
self = [super initWithFrame: aFrame];
@import <Foundation/CPObject.j>
@implementation AccountBarView : CPView
{
}
- (id)initWithFrame:(CGRect)aFrame
{
self = [super initWithFrame: aFrame];
/*
* AppController.j
*
* Created by __Me__ on __Date__.
* Copyright 2008 __MyCompanyName__. All rights reserved.
*/
@import <Foundation/CPObject.j>
@import "AccountBarView.j"
@import "MessageListView.j"
- (BOOL)resignFirstResponder
{
#if PLATFORM(DOM)
var element = [[self class] _inputElement];
//nil out dom handlers
element.onkeyup = nil;
element.onkeydown = nil;
element.onkeypress = nil;
@import <Foundation/CPObject.j>
@implementation AccountBarView : CPView
{
CPSecureTextField passwordField;
CPTextField usernameField;
}
- (id)initWithFrame:(CGRect)aFrame
@import <Foundation/CPObject.j>
@implementation AppController : CPObject
{
CPView _contentView;
CPTextField _nicknameTextField;
CPPanel _nicknameHUD;
}
lsinger@Jun:~/Documents/Development/Cappuccino/cappuccino$ git status
# On branch master
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: Tools/press/objj-analysis-tools.j
#
no changes added to commit (use "git add" and/or "git commit -a")
lsinger@Jun:~/Documents/Development/Cappuccino$ rm -rf cappuccino/
lsinger@Jun:~/Documents/Development/Cappuccino$ git://github.com/280north/cappuccino.git
-bash: git://github.com/280north/cappuccino.git: No such file or directory
lsinger@Jun:~/Documents/Development/Cappuccino$ rm -rf cappuccino/
lsinger@Jun:~/Documents/Development/Cappuccino$ git clone git://github.com/280north/cappuccino.git
Initialized empty Git repository in /Users/lsinger/Documents/Development/Cappuccino/cappuccino/.git/
remote: Counting objects: 12298, done.
remote: Compressing objects: 100% (4347/4347), done.
remote: Total 12298 (delta 8403), reused 11443 (delta 7822)
Receiving objects: 100% (12298/12298), 7.11 MiB | 778 KiB/s, done.