C# Mac development w/ XCode and C#

  • Thread starter Thread starter aychamo
  • Start date Start date
  • Tags Tags
    Mac
AI Thread Summary
The discussion centers around the challenges of developing simple programs on a Mac using XCode, particularly for someone with a background in Pascal and Delphi. The user expresses confusion about transitioning to XCode, especially regarding linking code to UI elements like buttons and accessing text fields in C#. It is clarified that XCode does not support C# as it is primarily designed for Objective-C, C, and C++. The user acknowledges this misunderstanding and mentions finding useful documentation on Apple's developer website to aid in learning Objective-C. The conversation highlights the importance of understanding the differences between programming languages and development environments when transitioning to new tools.
aychamo
Messages
375
Reaction score
0
Hey guys..

I wanted to tool around in developing some very simple, basic programs for my Mac using Apple's XCode and C#.

I have a little backgrouund in computer programming. I unfortunately learned via Pascal, but did pascal for at least six years and then moved on to Delphi. I even worked one summer for a local company as a programmer and we developed a medical software billing application (which was a complete POS).

Anyway. I know a little C. Like I know the basic syntax, etc. But I never got the whole thing about using pointers for strings or char*[] or whatever. I loved Delphi's IDE where you would put a button, and double click the button to write the code for it.

Obviously things have changed in these past 7 years or so.. :)

Now I load XCode, and I finally figureed out how to get Interface Builder to load up, and I couldn't figure out where to link code to a button, until I found the Inspector, and I think you have to bind it? Do you just write a function in the main.h file and then somehow link it?

And I saw some tutorial on C# and it accessed stuff weird, like putting everything in brackets [] [] [], etc. Like how would you access a text field in C# using XCode? I have no idea where to start..

Does anyone have any good links to tutorials, etc?

Thank you guys
Aychamo
 
Technology news on Phys.org
Apple's Xcode Tools don't include C#, which is a Microsoft thing.

Apple's compiler is GCC 4.0, which includes C, C++ and Objective-C. You can also use Java, of course. Searching Apple's developer Web site for "C#" turns up only references to the Windows QuickTime interface, and some musical notes in MIDI-related stuff.
 
Last edited:
Ooooops :) I was so ignorant, I put C# instead of Objective C! lol. I found a lot of decent docs on their webpage, so I've been trying to read those to learn some things.
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.

Similar threads

Replies
1
Views
4K
Replies
6
Views
4K
Replies
9
Views
3K
Replies
7
Views
13K
Replies
13
Views
31K
Replies
12
Views
103K
Replies
2
Views
3K
Back
Top