How to run Objective C program on fedora? [duplicate] - objective-c

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Game programming on Objective-C and linux
Hi i am new to objective C and i dont have mac machine to run objective C program. I googled alot for the commands and solutions to run but i didnt get any thing. Can any suggest me any solution to run objective C program on fedora along with commands.
Any help is appricated.
Thanks

Programming in Objective-C by Stephen Kochan Has a couple of chapters at the start of the book that show how to compile Objective-C programs from the command line using GCC.
The updated edition may have been updated to replace GCC with LLVM, but I haven't read those yet.

Related

How do I convert HTML to Markdown in iOS/OS X? Any way to use pandoc in the app?

I have an HTML string that I'd like to convert to markdown. The best tool I've found to do this is pandoc, which is written in Haskell. How can I get pandoc to run inside a Mac/iOS app? I've heard of compiling Haskell to ARM for incorporation into an iOS project, but I have no idea how to actually get pandoc to compile and work inside an Objective-C app.
Thanks,
Robert
I will attempt to help you on how you use pandoc from objective-c part of your question. Objective-C is a superset of C, or so I have been told, meaning valid C code is valid Objective-C code.
So you question could have been worded how do I call haskell from C, which there is a nice wiki page about.
How you get all of this working on IOS and arm is another ball of yarn and would be more likely to be answered when broken into another question.

way to create objective c program on another platform? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Objective C for Windows
iPhone development on Windows
Is there any way to build objective c or iPhone program on Windows 7 ?
or any other software that is same as Xcode.
i does not want to deploy, want to build and test for learning purpose.
i don't want to install Mac OSx using VMware.
You could get objective c compiler on your windows, but i dont think that you will be able to get the cocoa framework on it, so you could be able to learn objective c language but not cocao and cocoa touch
Some resources
Objective C for Windows
http://www.roseindia.net/iphone/objectivec/objective-c-windows.shtml
Yes, there are several solutions out there, but the first that comes to mind is RareWire. While you cannot design in objective-c, you can create iPhone apps on any platform that has a web-browser and send them to your device.
Unfortunately, at this time, RareWire is invite-only, so you would have to request an invite to get in.
If it's only for learning purposes with regards to the Objective-C language itself, meaning you don't need the Cocoa API, then gcc has a perfectly fine Objective-C compiler. See for yourself: http://ideone.com/395tl

Cocoa, XCode, Objective-C [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Right programing language for developing application for Mac
I'm a newbie to programming, i know HTML and CSS, but in terms of non web-development languages, im an idiot. I wanna program applications for mac, not for ipod touch or anything, and just downloaded Xcode, but all articles i've read are very unclear about what languages to learn. What languages do i need to know to do this?
The language you need to learn is Objective-C.
Cocoa is the framework of libraries, API's, and runtimes for Mac OS X.
XCode is the IDE you use to program in Objective-C.
Think of it this way: you can learn Objective-C, but without Cocoa you would have a very difficult time doing anything in the OS X environment without an API, which is where Cocoa comes in.
The main language on OS X is Objective-C.
This is an extension to the standard C language, so knowing at least the basics of C would be a good starting point here.
Cocoa is the main application framework applications on OS X are using.
Get yourself a book to learn that!
I recommend the book from Aaron Hillegass.
It's amazing!

Recommended books for Objective C [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
How to learn C and Objective-C
I'm looking for recommendations for good books targeting people who are new to Objective C.
"Programming in Objective-C" by Stephen Kochran (I think). It handles the language itself. You can try out all samples on OSX with XCode. It isn't really a book about iDevices Programming, but a book about the language itself.
Then again, to learn Objective-C on the Mac, try Aaron Hillegass' "Cocoa Programming for Mac OS X" and for iDevices programming, have a look at pragprog.com they have a ton of really, really good books about iDevices programming and the several topics they can address. I started with Bill Dudneys "iPhone SDK Development" (I also attended one of his classes), teaches you the good stuff from the beginning.
If it's for iOS (iPhonePadPod), do yourself a favor and get iOS Programming: The Big Nerd Ranch Guide. Get other books later when (if) you feel you need them.

error building the first program from Hillegass's book: Cocoa Programming for Mac OS X

I'm trying to build the first program in Aaron Hillegass's book: Cocoa(R) Programming for Mac(R) OS X (3rd Edition). The problem I'm having is that I can't my Interface object to "spawn" for lack of a better term unless I build and run the program. Herein lies the problem. While the program is running I can't connect the code to the interface. I'm coding in objective - c on a mac
I have followed step by step exactly what Hillegass wrote in his book and the program just ran fine.
Looks like you forgot something, but without more precision nobody can tell you what.