Jump to content

Cocoa Tutorial


33 posts in this topic

Recommended Posts

Thank you very very much for your Tutorial and your time to make this thing.

 

i made Application named it Khaled :( but i want to ask something please when i scroll in my application i get *** something like this but in your application (Slider) i get the numbers like this 65 or whatever and i check your application i found in it (delegate) in class outline how can i add this one and is this enable to see what i write in text field or another thing?.

 

Thank you very much and i will Upload my application to you and others :)

 

My Application:-

 

http://mt15.quickshareit.com/share/khaled3186d.zip

 

 

Khaled

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

Nice tutorial.

 

I'd suggest a step further down.

How can I make it, so when I leave the slider, the value also is printed in the console? (e.g. with printf?)

 

 

What I am trying to do is, how to connect "events" with real programming (and not only click & drag & drop)

 

EDIT: A more advanced totorial can be found here: http://forum.insanelymac.com/index.php?showtopic=91735

Link to comment
Share on other sites

  • 4 months later...

I can't even seem to do the simpliest things.

 

I have 1 label that contains "1.23".

A 2nd label that has "4.56".

I want to add the values together... and display the total in a 3rd label.

 

> lblThree.text = (float)lblOne.text + (float)lblTwo.text;

 

I'm stumped.

 

Any help?

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 months later...
I can't even seem to do the simpliest things.

 

I have 1 label that contains "1.23".

A 2nd label that has "4.56".

I want to add the values together... and display the total in a 3rd label.

 

> lblThree.text = (float)lblOne.text + (float)lblTwo.text;

 

I'm stumped.

 

Any help?

 

[lblThree setStringValue:[NSString stringWithFormat:@"%f", [lblOne floatValue] + [lblTwo floatValue], nil]];

 

Happy easter.

Link to comment
Share on other sites

  • 1 year later...
  • 5 weeks later...
 Share

×
×
  • Create New...