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
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

Ruby/Juggernaut error - Errno::ECONNREFUSED (Connection refused...)

I'm playing around with https://github.com/elii/Cappuccino-X-Juggernaut, which is basically a juggernaut chat for rails, and I get the following errors when I try to submit a post. Could someone tell me where this error is coming from? Please tell…
user852974
  • 2,242
  • 10
  • 41
  • 65
0
votes
2 answers

How to compare 2 objects in cappuccino for equality

How would you compare 2 objects in cappuccino for equality. I have tried == and it doesn't seem to work for me.
zachzurn
  • 2,161
  • 14
  • 26
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

Cappuccino: NSTableView like component with collapsible rows?

I'm looking to build an NSTableView like widget in Cappuccino, but I'd like for each row to be able to expand, and almost have a subtree of child rows underneath it. In a sense, it's almost like a tree hierarchy UI widget, but displayed in a table…
randombits
  • 47,058
  • 76
  • 251
  • 433
0
votes
1 answer

Cappuccino File Tree

Is there a way to build a file tree using Cappuccino with collapsible nodes?
0
votes
2 answers

Cappuccino cryptic [undefined] errors

i get this kind of error in cappuccino TypeError: Result of expression '_2b' [undefined] is not an object. TypeError: Result of expression '_40' [undefined] is not an object. I can't think of what they could be for as they don't specify a line…
Joseph Le Brech
  • 6,541
  • 11
  • 49
  • 84
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
0
votes
2 answers

I've some hard time to understand method signatures in Objective-J / Objective-C

I've some hard time to understand method signatures in Objective-J (but it should be the same on Objective-C). The syntax should be: -(return_type)instanceMethod1:(param1_type)param1_varName :(param2_type)param2_varName; The type is specified…
aneuryzm
  • 63,052
  • 100
  • 273
  • 488
0
votes
2 answers

Are GWT and Cappuccino running slow on mobile devices?

I've 2 questions: Are GWT and Cappuccino web applications running slow on iPhone/iPad/Android devices ? Or is Capuccino much slower than GWT because it is not compiled ? Is GWT fast on mobiles ? My idea is to develop the same app for the desktop…
aneuryzm
  • 63,052
  • 100
  • 273
  • 488
0
votes
1 answer

What is the _UID used for in Cappuccino?

Cappuccino defines a _UID property for every instance of objects it creates, but is this used for anything?
Richard Durr
  • 3,081
  • 3
  • 20
  • 26
0
votes
1 answer

How can I download an image from a URL using CPImage?

I have a CPImage: -(void)setAvatarImageForMessage:(STMessage)aSTMsg{ var image = [[CPImage alloc] initWithContentsOfFile:aSTMsg.avatar_url]; [image setDelegate:self]; if([image loadStatus] == CPImageLoadStatusCompleted) …
Sheehan Alam
  • 60,111
  • 124
  • 355
  • 556
0
votes
3 answers

Speed comparison of Cappuccinos obj_msgSend() vs. normal JavaScript-call avaiable?

As you know Cappuccino implements the dispatch mechanism of Objective-C / Smalltalk to send messages to objects (~call their methods) in a special method called objj_msgSend. [someObject someMethodToInvocate: aParameter]; Obviously this introduces…
Richard Durr
  • 3,081
  • 3
  • 20
  • 26
0
votes
1 answer

How do I make this code KVO compliant?

I'm trying to get a grip on bindings and have set up a CPWindow with a CPTextView in xcode and bound the window and the textview to their respective outlets. I'm getting a bit stuck however trying to make the textview display the _xmlContent. I've…
Kris
  • 40,604
  • 9
  • 72
  • 101
0
votes
1 answer

how to iterate literal dictionary in cappucino objective-j

Please an help to iterate literal dictionary on cappuccino environment.Thanks var userDict = @{@"name": @"Jack",@"secondName": @"Buck",@"name": @"Jacob",@"secondName": @"Smith"}; for (var righe in userDict){ console.log(righe.name +…
sundsx
  • 588
  • 9
  • 27