Questions tagged [objective-j]

Objective-J is a programming language for web development and is used to create web applications in the Cappuccino front-end web framework.

Objective-J is a programming language for web development and was used to implement the Cappuccino Web Framework. Objective-J syntax and API is modelled after Objective-C and the language is built entirely on top of JavaScript. Programs written in Objective-J are interpreted in the client, so no compilation or plugins are required. Objective-J is a superset of JavaScript, meaning that any valid JavaScript code is also valid Objective-J code, in the same way that Objective-C is a superset of C. Objective-J is released under the LGPL.

78 questions
3
votes
1 answer

How to multi-thread in Cappuccino

I have a data intensive Cappuccino application that can take up to 30 seconds to run a 'job' An example might be to combine values from a number of arrays to produce a further array for use in a TableView. I would like to include an animated…
3
votes
1 answer

CPView tiled background?

Is there a way to tile an image in objective-j on a CPView? something along the lines of: [CPImage alloc] initWithPatternImage:@"Resources/grid.png" size:CGSizeMake(5.0, 5.0)] Thanks guys ;)
spk
  • 31
  • 1
2
votes
1 answer

Cannot add category to CPView Cappuccino

I am trying to add this category to CPView but XCodeCapp gives an error and I get unrecognized selector sent to instance error when I try to use this method. @import @implementation CPView (Custom) - (void) addSomething { var…
Andrew Lauer Barinov
  • 5,694
  • 10
  • 59
  • 83
2
votes
1 answer

How to get code completion for cappuccino and objective-j?

Is there an IDE/Text Editor that provides robust code completion/hinting for cappuccino and objective-j? Right now I use Text Mate and it provides syntax highlighting, but no code completion/hinting using new classes created.
zachzurn
  • 2,161
  • 14
  • 26
2
votes
1 answer

Key-Path for an element of a dictionary property of an object in a predicate?

In short, I am looking for the correct predicate format to index into a dictionary attribute on an object. I have an array of myObject instances, each with an attribute CPDictionary(NSMutableDictionary) extAttributes and I am trying to allow…
jlujan
  • 1,188
  • 7
  • 10
2
votes
1 answer

Upload file by dragging to browser window in Cappuccino

Is there anything that has been done by somebody to make it a simple process to upload a file to the server in Cappuccino by dragging it from desktop to the browser window? Are there any built-in features in Cappuccion that let add this…
Sergei Basharov
  • 51,276
  • 73
  • 200
  • 335
2
votes
1 answer

Issue in Cappuccino framework in Xcode

I have following error in XCode mkdir: /CappuccinoSample/test6/build/Debug: File exists cp: /Developer/Cappuccino/Tools/cxhelper/cxhelper: No such file or…
Mahek
  • 233
  • 1
  • 3
  • 7
2
votes
1 answer

Objective-J Tutorial

Is learning Objective-J worth it, considering the limited number of Objective-J tutorials? Also, what would be a good place to start?
shreyasva
  • 13,126
  • 25
  • 78
  • 101
2
votes
4 answers

Managing inverse relationships without CoreData

This is a question for Objective-J/Cappuccino, but I added the cocoa tag since the frameworks are so similar. One of the downsides of Cappuccino is that CoreData hasn't been ported over yet, so you have to make all your model objects manually. In…
Nathaniel Martin
  • 2,082
  • 1
  • 14
  • 11
1
vote
1 answer

How to draw text in Cappuccino

I am trying to draw some text in my CPView, I have this: - (void)drawRect:(CGRect)aRect{ var ctx = [[CPGraphicsContext currentContext] graphicsPort], viewBounds = [self bounds]; CGContextTranslateCTM(ctx, 0,…
maza23
  • 555
  • 1
  • 5
  • 16
1
vote
1 answer

Is there a way to permit the display of the browser's scrollbar with cappuccino?

The question says it all; I'm interested in using Cappuccino to make layout simpler for me, so I'd like to keep the browser scrollbar active.
JoBu1324
  • 7,751
  • 6
  • 44
  • 61
1
vote
1 answer

How can I add a border to CPView?

I'm new to cappuccino, but I'm picking the language up fast. How can I add a border to a CPView? Or should I be using a different object instead? I've got a CPView that I'm using as a content view, and it needs a border. I also have several…
JoBu1324
  • 7,751
  • 6
  • 44
  • 61
1
vote
2 answers

Objective-J with windows

Is there any way to work on Objective-J in Windows platform ? Any such IDE, Compiler for Objective-J for windows ? Is Cappuccino developed only for Windows?
Sadanand
  • 1,080
  • 3
  • 13
  • 30
1
vote
1 answer

CPArrayController not updating when new objects are added

Problem Cappuccino app initially loads successfully. After an ajax call is made and an array is populated with JSON Objects, the Array Controller doesn't recognize it and populate the data. Setup Using the latest build from capp and xcc. I have an…
Travis
  • 3,156
  • 3
  • 21
  • 27
1
vote
2 answers

Intellisense for Objective-J?

My editor of choice for Objective-J Cappuccino development right now is Sublime Text 2. Unfortunately I haven't had any luck finding an Objective-J intellisense autocomplete plugin. It seems it should be doable, since Objective-J does have…
donalbain
  • 1,158
  • 15
  • 31