Skip to content

Instantly share code, notes, and snippets.

CPWindow sheet;
...
sheet = [[CPWindow alloc] initWithContentRect:CGRectMake(0, 0, [formView frame].size.width, [formView frame].size.height) styleMask:CPBorderlessWindowMask];
[sheet setAutoresizingMask:CPViewMinXMargin | CPViewMaxXMargin | CPViewMaxYMargin];
[sheet setHasShadow:YES];
[sheet setContentView:formView];
@implementation Reference : CPObject
{
CPArray authors @accessors;
CPString type @accessors;
CPString title @accessors;
CPString publisher @accessors;
CPString location @accessors;
CPString pages @accessors;
CPString volume @accessors;
CPString extra @accessors;
//
// FileUpload.j
// Editor
//
// Created by Francisco Tolmasky on 03/04/08.
// Copyright 2005 - 2008, 280 North, Inc. All rights reserved.
//
import <Foundation/CPObject.j>
import <Foundation/CPValue.j>