Questions tagged [cappuccino]

Cappuccino is an Objective-J framework for developing modern applications which run in a web browser.

Cappuccino is an Objective-J framework for developing modern applications which run in a web browser.

149 questions
1
vote
1 answer

Snap to Grid UI in Cappuccino

Does anyone know how to do snap-to-grid in Cappuccino? Basically, I have draggable objects which I can drag into a target area. The target view needs to be set up with snap-to-grid feature. I've seen it with Mockingbird, so it's definitely possible.…
Grnbeagle
  • 1,751
  • 2
  • 16
  • 26
1
vote
4 answers

Flex 4 vs JavaScript Options (Cappuccino, JQuery, etc.)

Rehashing an older post: JQuery VS Flex - Choosing a Platform for SAAS We are preparing to develop an application that is exceptionally dynamic and interactive. It's particularly heavy on the graphics side. We are 85% convinced that Adobe Flash…
ylluminate
  • 12,102
  • 17
  • 78
  • 152
1
vote
2 answers

Adding multiple Cib / Xib files in Cappuccino

Currently I'm working on a product that uses the Cappuccino Framework and the Objective-J language. I created my project using this command after installing Cappuccino: capp gen -t NibApplication Myapp The Problem I'm facing is that I want to keep…
Peter Willemsen
  • 735
  • 1
  • 7
  • 13
1
vote
1 answer

Is there a control like the HTML5 Canvas in Cappuccino Web Framework?

I'm creating a webapp in Cappuccino, and I need a way to draw shapes (rectangles, images etc) onto a CPWindow. Is there any widget/control I can use to do this? Are there any controls like this in other frameworks like Sproutcore? Or do I have to…
1
vote
1 answer

CPWindow is blocked after closing CPPanel

I added these two outlets to my AppController.j: @outlet CPWindow theWindow; @outlet CPWindow thePanel; theWindow fills the whole browser window (setFullPlatformWindow:YES). Now I'm using a CPToolbarItem (inside a CPToolbar which I added to…
Patrick
  • 3,091
  • 4
  • 26
  • 29
1
vote
1 answer

Resize content of CPScrollView

I have a CPWindow. In it, i have a CPScrollView which is set to 284px of width and 434px of height. This code show how i fill out the CPScrollView: for(var i = 0; i < 50; i++) { var supplie = [CPArray arrayWithArray:[[supplies…
Fenkiou
  • 65
  • 1
  • 7
1
vote
1 answer

Cappuccino [warn]: Could not connect the action

This has to be something stupid, because this is so basic and even then it is not working. Anyways, ➜ ~ capp --version cappuccino 0.9.6 (2012-11-17 788ee6) I built a basic NibApplication from the template using the following command. capp gen -t…
raz0r
  • 3,372
  • 1
  • 12
  • 11
1
vote
1 answer

Objective-J CPView, CALayer, CPImageView Drawing

I'm learning Cappuccino Objective J, having a little difficulty understanding the difference between CPView, CALayer, CPImageView when it comes to drawing. I have a good knowledge of JavaScript, but no experience with Objective C & cocoa. I'm…
1
vote
1 answer

Customising the look of controls in Cappuccino

I need to make a row of buttons on the bottom of the screen placed on what looks like a toolbar . But it should have a custom look ie. custom background and hover effects . I initially tried to customise a CPSegmentedControl but couldnt adjust the…
Samhan Salahuddin
  • 2,140
  • 1
  • 17
  • 24
1
vote
2 answers

Does Objective-J support protocols like Objective-C?

I can't seem to find any documentation on the Objective-J language itself. Does it support @protocol like Objective-C? Is there a language spec somewhere I'm missing?
jbrennan
  • 11,943
  • 14
  • 73
  • 115
1
vote
1 answer

Is it possible to customize a CPToolbar in Cappuccino

I may need to change toolbar background, heading font and position. Is it possible to do that with the standard CPToolbar? I was looking through the ThemeDescriptors.j, and there is nothing about a Toolbar. It seams not so difficult to create my…
Alex Smolov
  • 1,831
  • 4
  • 24
  • 43
1
vote
1 answer

Is there an IDE that provides code completion for Cappuccino

I have tried almost every IDE listed here, but none of them provide code completion. As a Flex developer I am used to code completion in Flash Builder. It saves tons of time and helps with spelling errors. Does anybody know about IDE with code…
Ivan Zamylin
  • 1,708
  • 2
  • 19
  • 35
1
vote
1 answer

Import in Cappuccino

When I create new Cappuccino project using terminal command capp gen MyProject, I get AppController.j that uses many Foundation and AppKit classes, but has just one import statement @import How does Cappuccino import system…
Alex Smolov
  • 1,831
  • 4
  • 24
  • 43
1
vote
2 answers

Are there any jEdit syntax highlighting modes for Objective-J

I have found some in the Cappuccino website (vim, textmate and SubEthaEdit), but not for jEdit, and unfortunately I'm just starting on Objective-J so can't make my own. If anyone has got one of them lying around it would be greatly appreciated.
dsm
  • 10,263
  • 1
  • 38
  • 72
0
votes
1 answer

Is there a recent CPTableView tutorial using IB?

I'm looking for a recent Cappuccino tutorial that shows how to implement a CPTableView using IB/Xcode 4 with XcodeCapp -- all of the CPTableView examples that I've found are fully implemented in code vs XIB/CIB.
Jeremy
  • 103
  • 5