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
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
0
votes
1 answer

How do you call a class method from an instance method without using the class name

I have a base class that implements some class methods. It's using the class name to infer what resource it is and remotely fetch it. @implementation BaseResource : CPObject + (id)find:(CPString)identifier { } I'd like to be able to invoke the…
0
votes
2 answers

Cappuccino: Keyboard events getting squashed in reCAPTCHA input field

I'm integrating a reCAPTCHA into my Cappuccino app and I have it all working besides this odd input functionality in the reCAPTCHA input text field: Only some keys seem to work, "qwrszcv" and a few other letters work fine, but most other keys don't…
John Sparwasser
  • 1,015
  • 13
  • 26
0
votes
1 answer

Cappuccino - Load images from disk to a CPImageView

I am looking for a way to load an image from my disk into a CPImageView. Is this possible?
maza23
  • 555
  • 1
  • 5
  • 16
0
votes
1 answer

Resize handlers on Cappuccino

how do I add the resize handlers to a CPView in Cappuccino? I saw an example that has rotation handlers, but I want to resize the view freely. Rotate example
maza23
  • 555
  • 1
  • 5
  • 16
0
votes
1 answer

How to set up Objective-J and Cappuccino

I am trying to start development in Objective-J but I am completely lost as to how to set it up. The documentation about setting it up, didn't really help me. I am very familiar with web development and Objective-C so I can write the programs if I…
Tyler Crompton
  • 12,284
  • 14
  • 65
  • 94
0
votes
3 answers

CPPredicateEditor is blank

I'm building a web application with the Cappuccino framework, and I'm using the new Xcode integration through the XcodeCapp-Cocoa listener. When I place an NSPredicateEditor into a nib file (like MainWindow.xib), and allow it to be converted into a…
Luke Fletcher
  • 348
  • 2
  • 12
0
votes
1 answer

Can CPPredicates be used on native javascript objects?

Can you use a CPPredicate to check native javascript objects in cappuccino? I am trying to filter a native javascript array that has native javascript objects in it.
zachzurn
  • 2,161
  • 14
  • 26
0
votes
1 answer

How to send a single form with files and textfields in Cappuccino Objective-J

I have found that with Cappuccino the only way to send files from user to server is using the UploadButton class from https://github.com/MCF/FileUpload The problem is that UploadButton creates a new form for each file. I need to send two files and 5…
Sergey Filkin
  • 475
  • 1
  • 6
  • 10
0
votes
1 answer

Cappuccino Drag n Drop Examples

I was wondering does any know of any source code examples or tutorials using cappuccino's drag n drop feature? More specifically I am looking for something that show how to drop an multiple image on to the screen in any location. Something similiar…
Devin Dixon
  • 11,553
  • 24
  • 86
  • 167
0
votes
1 answer

I need to know when a textfield is done being edited

I have a class that contains several textfields. I need to know when one is done being edited and send the new information to one of my other objects. This question seemed similar but in Objective C? The buttons should be visible when the user is…
kmp3
  • 115
  • 1
  • 6
0
votes
1 answer

Objective-J: Parse error when init custom obj

I come from a Cocoa background, so I'm familiar with how Objective-j should work. When I create a custom object, seen here: https://gist.github.com/800413 I get a parse error, any ideas?
christo16
  • 4,843
  • 5
  • 42
  • 53
0
votes
2 answers

Has there been any work done towards running Objective-J code in a node.js process?

More specifically, I'm looking to serialize plist's from string data within a node.js process and send them in a request. For example: var data = [CPPropertyListSerialization dataFromPropertyList:dict format:CPPropertyListXMLFormat_v1_0…
pnitsch
  • 1
  • 1
0
votes
1 answer

Understanding methods syntax in Objective-C and Objective-J

I've a simple question about objective-c / objective-j syntax. This is a method dataForItemsAtIndexes and it gets as parameters a CPIndextSet and CPString. It should return a CPData object. However I don't understand what's…
aneuryzm
  • 63,052
  • 100
  • 273
  • 488