Question

How to develop cocoa programming ?

Asked by: rhithoun

Hi,

I new to cocoa programming.I have some doubts about cocoa programming development application.
Please give me some details.

cocoa programming develop in windows platform is possible ? if yes then which tool(IDE) support for create cocoa programming application.
Please suggest some example sites for cocoa programming.


Thank you .

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-05-15 at 05:02:59ID24411787
Tags

Cocoa

Topics

Apple Programming

,

Objective-C Programming Language

Participating Experts
2
Points
500
Comments
16

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. doubt in developing asp application using oracle
    HI friends, i had tables in the database in the oracle using the vbscript i am developing the webpage , i upload it to and save all the files. Now my questions how the data will be retrived and give the answer to the use, if .mdb file then i can upload that file to in the...
  2. PDA Development tools
    Hi Guys, I want to develop a palm/PocketPC application. What are the IDE tools available for J2ME? I have to develop an application that has to run on both Palm OS and Pocket PC's Win CE platforms. That is why I choosen J2ME for development. Also I want to know...
  3. Developing game.
    hi all, i'm new in developing a game i have learned java in a few months and want to use it to make a rpg game now i have started and have done all basic stuff like sprite, background, etc-etc but is it nice using Java to make a game? or is there any other language that more...
  4. developing
    hi guys i want really your help for these questions : 01- is it easy to develope a Data Base ? : to develope a data base interface i mean i want to develope my personal Data Base interface not to use other DB like paradox , Oracle ... but developing a new Data Base Interfac...
  5. Developing an IDE
    Hi, I'm just developing a very simple IDE -- with coloured syntax, etc. I had attempted to develop a very simple IDE a few months ago, for a very very simplified version of asm. Whenever the user inputted some form of white space/new line, my program would search for a lis...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: fridomPosted on 2009-05-15 at 23:30:38ID: 24401470

cocoa is more or less Mac OS X. I don't know of any tries to have Cocoa running on Windows also. Any book you can get about Cocoa programming is there for Mac OS x specific and so you should get some Mac for developing Cocoa programs.

Regards
Friedrich

 

by: fridomPosted on 2009-05-15 at 23:34:52ID: 24401479

Just a small addition. The only thing I know of in this regard is the Cocotron
http://www.cocotron.org/

Regards
Friedrich

 

by: rhithounPosted on 2009-05-16 at 01:10:43ID: 24401658

Thank you for reply...

 

by: fridomPosted on 2009-05-16 at 02:08:32ID: 24401794

Well if you are satisfied with the answer, please do not forget to close it.

Regards
Friedrich

 

by: rhithounPosted on 2009-05-16 at 03:01:12ID: 24401917

Sorry , i am not satisfy the your answer..I need more details about cocoa.
First question : cocoa programming develop in windows platofrom is possible or not ?
second : what is tool for develop application ?


 

by: fridomPosted on 2009-05-18 at 00:10:55ID: 24409549

a) in principial with Cocotron the answer should be yes. The in principal is the weak point. You will have to spend day on a proper setup that's what I'd expect because of the state of OSS on Windows
b) there is no IDE for Cocoa development on Windows, there's just XCode  on Mac OS X. So what' you'll use on Windows is b1) some sort of editor. b2) some command line tools like cmd.exe. b3) if you are lucky you will be able to get some debugger working

Regards
Friedrich

 

by: rhithounPosted on 2009-05-18 at 02:21:51ID: 24410155

b1) some sort of editor. b2) some command line tools like cmd.exe. b3) if you are lucky you will be able to get some debugger working

Please give me example of editor or command line editor...for windows.

Thank you for help.

 

by: fridomPosted on 2009-05-18 at 04:22:39ID: 24410899

1) notepad is an editor but you can get many of  them among them is a vi http://www.winvi.de/en/ some (X)Emacs
http://www.xemacs.org/Download/win32/ or whatever you like to just write down text
2) cmd.exe is the shell for windows. If you install cocotron you'll get one which has the path to the  tools included. Just
visit http://www.cocotron.org/Info/Getting_Started

and follow the instructions there.

Regards
Friedrich

 

by: myspoet1973Posted on 2009-05-18 at 13:16:10ID: 24416056

Even though your intention is to look a development of Objective-C and Cocoa on Windows, they are actually two different things.. There are Objective-C compilers for windows (I think a variant of GCC works) and, of course, the Cocotron mentioned before.

If your really wanting to program for both Mac and Windows, look into Real Basic or Java as they are much easier to program for multiple environments.  They have IDEs which run on either Linux, Windows, or OSX and each IDE can cross compile for the other OSes.

Real Basic is a little expensive starting out but if you have a VB background, it's an easier learning curve.  Java is... well... Java.

Real Basic, despite being a variant of Basic, is rather robust language with many Object Oriented features.  Java is... well... Java and definitely Object Oriented.  I mention the Object Orientation because so is Objective-C and the Cocoa Bindings used on the Mac.

I would consider that before trying to work with Cocoa conversions for Windows just for the shear amount of effort required to support Cocoa via Cocotron and Cocoa via XCode.

www.realbasic.com

or the java stuff.. Eclipse or Netbeans are both good IDEs.. I like Netbean's GUI builder a little better than what I can find with eclipse but the difference really doesn't matter much to me since the GUI creation in java is very close to what I know with C#.

 

by: myspoet1973Posted on 2009-05-18 at 13:22:22ID: 24416096

The other reason I recommend something other than attempting Cocoa on windows is Apple may come down on anyone attempting to implement the same Cocoa Bindings on platforms other than OSX.


So, two reasons:

1)  Easier to do it with either Real Basic or Java.
2)  Potential licensing issues using the Apple owned Cocoa bindings.

 

by: fridomPosted on 2009-05-18 at 23:03:13ID: 24418858

Well I do not think the comments about other languages are really helpful. Because then the  question better has been asked differently. There are tons of cross-platform programming tools available.  Among others languages like C, C++, Common Lisp, Smalltalks, Schemes, Java, scripting languages like Perl, Ruby, Tcl/Tk and tons of others.....

 

by: myspoet1973Posted on 2009-05-19 at 08:37:03ID: 24423225

Ok.. To answer the original poster's question:

No, you cannot build Cocoa apps on windows.

To program Windows applications with the Cocoa framework, you will need a Mac Computer.  You can buy used ones off of E-Bay or spend $600+ for a mac mini.

Cocoa is a Framework, not a language.  Cocoa was built for OSX, not Windows.

From the Cocotron website Requirements page:
====
Development Requirements

    * Mac OS X 10.5 or higher
    * Intel or PowerPC processor
    * Xcode 3.1 or higher
    * Subversion client (to get copy of Cocotron Source)
    * Cocotron Developer Tools (CDT)
    * Cocotron Source Code
==

Yes, Emacs is a great IDE but requires a learning curve to use effectively.  Old school Unix users use it best, I avoid it because there are better options like 'e', GVim (which is still a stiff learning curve), or Ultra-Edit.  But, out of the box, you will have the same success using Notepad because of the lack of intellisense or built in reference material that XCode provides.

If you want to program window apps and are determined to use Objective-C(++), use that language AND one of the many GUI frameworks.  However, you won't have any options for creating GUI applications since there aren't any Objective-C(++) widget frameworks for windows which bind to Objective-C(++).  A widget framework is a library with API calls to build the various windows, forms, and buttons for a graphical environment. (http://en.wikipedia.org/wiki/List_of_widget_toolkits#Based_on_Objective_C)

So, no, you cannot program using the Cocoa Framework on Windows.

 

by: fridomPosted on 2009-05-19 at 21:32:23ID: 24428638

As you can see on the screen  shots the result of the development is a "native" windows applicatoin. Therefor my comment the closest to get to having Cocoa on Windows is Cocotron. And the "better" idea is probably forget anything about Cocoa on anything but Mac OS X. Howerver if you insist you probably have  starting point for Cocoa with the mentioned tools which do work on Windows also.....

So the answer is probably. You can develop against Cocotron and cross compile that application to run on Windows.

Regards
Friedrich

 

by: rhithounPosted on 2009-06-04 at 19:16:35ID: 31581881

Excellent of basic information ....

 

by: rhithounPosted on 2009-06-04 at 19:18:27ID: 24553029

Please attend this question also ....
I need your help .....Both of you got 250.

http://www.experts-exchange.com/Apple/Programming/Cocoa/Q_24462378.html

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...