Mac Development
-
It is also worth bearing Qt in mind for non-gui code. It does also work rather nicely as a general OS abstraction layer (files, processes, worker threads, sockets etc.) in a very similar way to those in other languages, for example Python os and sys packages or the Java SE libraries. You could always have a windows version that accessed the unix utilities via web services ;)
As an alternative, remember that Objective-C integrates with C++ quite well. That opens up the possibility of using STL, BOOST, and other proven, cross-platform libraries.
Paul
-
It all started when my wife gifted me a new iMac on my birthday. At that time Mac was something new to me and for about a month I used it for VS development, launching VS on virtual machines. Then one day I became curious how I can develop a simple application for Mac. Then the iPhone SDK was released and I got deeper into iPhone and mac development. Initially, I resisted Objective-C, which is the primary development language for Mac. The syntax looked ugly to me. I am not sure how many people will get impressed by the following syntax:
[rect setWidth:100 height:200];
But gradually as I understand more and more. I love Objective-C which is a combination of C and Small-talk. So it has the goodies of C and also that of dynamically typed languages such as Ruby and JavaScript. One thing though, I once considered that VS is the best IDE available. Now after being exposed to IDE's such as XCode, Eclipse and NetBeans, I don't think it is true anymore. It is amazing how different IDEs have come close to VS and some are even better than VS.You have, what I would term, a very formal turn of phrase not seen in these isles since the old King passed from this world to the next. martin_hughes on VDK
So after reading this thread this morning, I have decided that I am going to "commit" and try to learn Objective-C. I once a long long time ago took some C++ classes, so that should help me right? What is the best source for learning to develop on the mac? What do you think? Any suggestions? Please let me know. I develop in VS2008 right now, and sometimes learning the IDE is half the battle. So any ideas of where to get started would be awesome! Happy Friday
-
It all started when my wife gifted me a new iMac on my birthday. At that time Mac was something new to me and for about a month I used it for VS development, launching VS on virtual machines. Then one day I became curious how I can develop a simple application for Mac. Then the iPhone SDK was released and I got deeper into iPhone and mac development. Initially, I resisted Objective-C, which is the primary development language for Mac. The syntax looked ugly to me. I am not sure how many people will get impressed by the following syntax:
[rect setWidth:100 height:200];
But gradually as I understand more and more. I love Objective-C which is a combination of C and Small-talk. So it has the goodies of C and also that of dynamically typed languages such as Ruby and JavaScript. One thing though, I once considered that VS is the best IDE available. Now after being exposed to IDE's such as XCode, Eclipse and NetBeans, I don't think it is true anymore. It is amazing how different IDEs have come close to VS and some are even better than VS.You have, what I would term, a very formal turn of phrase not seen in these isles since the old King passed from this world to the next. martin_hughes on VDK
Rama Krishna Vavilala wrote:
One thing though, I once considered that VS is the best IDE available. Now after being exposed to IDE's such as XCode, Eclipse and NetBeans, I don't think it is true anymore. It is amazing how different IDEs have come close to VS and some are even better than VS.
I don't think there is a single "good" IDE out there. All that I know of are bloated, slow and inflexible. I just use vim nowdays.
-
So after reading this thread this morning, I have decided that I am going to "commit" and try to learn Objective-C. I once a long long time ago took some C++ classes, so that should help me right? What is the best source for learning to develop on the mac? What do you think? Any suggestions? Please let me know. I develop in VS2008 right now, and sometimes learning the IDE is half the battle. So any ideas of where to get started would be awesome! Happy Friday
I tried variety of things. I quickly skimmed through some documents on Apple's web site: Cocoa Development Guide, Objective-C guide and iPhone development guide. Then, I started with Cocoa tutorial on Apple's web site it gave me a good overview on how to use the IDE, basic concepts of windowing and event handling and Objective-C. The thing which I benefited the most form was to read Andrew Hillegrass's book on Cocoa Development for Mac. Unfortunately, this book is outdated (wrt to IDE) but I did not have any problem figuring out the things in new IDE. Also if you can wait a month the new edition of the book is due to arrive. This is one of the best technical books I have read. The book is suited for both beginners and advanced users.
You have, what I would term, a very formal turn of phrase not seen in these isles since the old King passed from this world to the next. martin_hughes on VDK
-
I tried variety of things. I quickly skimmed through some documents on Apple's web site: Cocoa Development Guide, Objective-C guide and iPhone development guide. Then, I started with Cocoa tutorial on Apple's web site it gave me a good overview on how to use the IDE, basic concepts of windowing and event handling and Objective-C. The thing which I benefited the most form was to read Andrew Hillegrass's book on Cocoa Development for Mac. Unfortunately, this book is outdated (wrt to IDE) but I did not have any problem figuring out the things in new IDE. Also if you can wait a month the new edition of the book is due to arrive. This is one of the best technical books I have read. The book is suited for both beginners and advanced users.
You have, what I would term, a very formal turn of phrase not seen in these isles since the old King passed from this world to the next. martin_hughes on VDK
Thanks for the tips. I did the tutorial of the Currency Converter on Apple's site a little while ago, I'll keep my eye out for the book. Thanks again.
-
Thanks for the tips. I did the tutorial of the Currency Converter on Apple's site a little while ago, I'll keep my eye out for the book. Thanks again.
Check out http://cocoadevcentral.com/. Tons of good examples. I really try to use a plug-in architecture when writing projects in C# using Visual Studio 2005 and CocoaDev has a great article about that kind of stuff. There's also http://osx.hyperjeff.net/reference/CocoaArticles.php - it looks like it has some good articles there. And you can also google any cocoa question, there's usually a blog with the answer out there somewhere. :)
-
Thanks for the tips. I did the tutorial of the Currency Converter on Apple's site a little while ago, I'll keep my eye out for the book. Thanks again.
I am a C# developer in my professional life, but I have been a Mac enthusiast for years. I just never built up the steam to learn Cocoa until quite recently. I have the 2nd edition of the Hillegass book, and it is great. I have it in my backpack right now! If you go to amazon you will find that the new 3rd edition will be released in less than a month. You can pre-order it now and save some money too. (I already have mine ordered.) The best thing I can suggest to you is to find someone who also wants to learn Cocoa and pair up. I am a big proponent of Agile techniques and I find that pair programming really helps me to learn new tech. The process of bouncing ideas off one another is truly constructive.
-
I am a C# developer in my professional life, but I have been a Mac enthusiast for years. I just never built up the steam to learn Cocoa until quite recently. I have the 2nd edition of the Hillegass book, and it is great. I have it in my backpack right now! If you go to amazon you will find that the new 3rd edition will be released in less than a month. You can pre-order it now and save some money too. (I already have mine ordered.) The best thing I can suggest to you is to find someone who also wants to learn Cocoa and pair up. I am a big proponent of Agile techniques and I find that pair programming really helps me to learn new tech. The process of bouncing ideas off one another is truly constructive.
Thanks so much for all the responses. I am going to see if I can find a copy of the Hillegass book to get started with. I also found a pretty nice podcast (so far) called CocoaCast. I like the videos and he follows that book you've all mentioned.
-
Rama Krishna Vavilala wrote:
I am not sure how many people will get impressed by the following syntax:
Named parameters. I love 'em. Started writing a simple CAD program on OS/2 using Objective C (GCC) long before i ever took C++ seriously (never finished it though; the environment was sadly lacking when it came to OS/2 GUI dev). :sigh:
Rama Krishna Vavilala wrote:
One thing though, I once considered that VS is the best IDE available. Now after being exposed to IDE's such as XCode, Eclipse and NetBeans, I don't think it is true anymore. It is amazing how different IDEs have come close to VS and some are even better than VS.
You know, i'm not entirely convinced that IDEs in general are a good end when it comes to working with non-trivial projects. In some ways, i guess i'm realizing how much i've lost by allowing myself to become accustom to using VS for everything. There was a time when the first thing i'd do on a new project was write a set of scripts and MAKEFILEs to automate building, testing, and putting together an installation. Now i set up a VS project and do the rest manually... The former is a good deal quicker than dealing with
make
, but with the rest it just might be a net loss. :~Citizen 20.1.01
'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
I too used to be a VS addicted individual. When I bought my MacBook Pro I found I could still use VS (through Virtual Machine) running it better on the Mac than it ran on the PC based solution. I had experience with Eclipse though and one of the things that I liked with it was the ability to use the scripts of past. In fact that is one of the many real strengths in my opinion. So much so that I have made a concerted effort that future development will not happen in VS when and where ever possible.
-
It all started when my wife gifted me a new iMac on my birthday. At that time Mac was something new to me and for about a month I used it for VS development, launching VS on virtual machines. Then one day I became curious how I can develop a simple application for Mac. Then the iPhone SDK was released and I got deeper into iPhone and mac development. Initially, I resisted Objective-C, which is the primary development language for Mac. The syntax looked ugly to me. I am not sure how many people will get impressed by the following syntax:
[rect setWidth:100 height:200];
But gradually as I understand more and more. I love Objective-C which is a combination of C and Small-talk. So it has the goodies of C and also that of dynamically typed languages such as Ruby and JavaScript. One thing though, I once considered that VS is the best IDE available. Now after being exposed to IDE's such as XCode, Eclipse and NetBeans, I don't think it is true anymore. It is amazing how different IDEs have come close to VS and some are even better than VS.You have, what I would term, a very formal turn of phrase not seen in these isles since the old King passed from this world to the next. martin_hughes on VDK
Interesting thread..I just bought a MacBook Pro last week to start working on a couple IPhone apps. At first, I didn't like the look of Objective-C. I'm actually starting to like it, but, I still feel like several aspects are a step backward. Working with raw pointers and having to manage memory just seems wrong these days :). I guess I've been spoiled too long by managed languages like C# and Java. I am actually writing this post from my MacBook. I also have Vista on here as well. I now only need to switch to Windows to work with Visual Studio and SQL Server. Everything else I need is on the Mac side (even Office)!
-
It all started when my wife gifted me a new iMac on my birthday. At that time Mac was something new to me and for about a month I used it for VS development, launching VS on virtual machines. Then one day I became curious how I can develop a simple application for Mac. Then the iPhone SDK was released and I got deeper into iPhone and mac development. Initially, I resisted Objective-C, which is the primary development language for Mac. The syntax looked ugly to me. I am not sure how many people will get impressed by the following syntax:
[rect setWidth:100 height:200];
But gradually as I understand more and more. I love Objective-C which is a combination of C and Small-talk. So it has the goodies of C and also that of dynamically typed languages such as Ruby and JavaScript. One thing though, I once considered that VS is the best IDE available. Now after being exposed to IDE's such as XCode, Eclipse and NetBeans, I don't think it is true anymore. It is amazing how different IDEs have come close to VS and some are even better than VS.You have, what I would term, a very formal turn of phrase not seen in these isles since the old King passed from this world to the next. martin_hughes on VDK
Until it gets Microsoft .NET and VS with C# and VB, heck no. C and C++ (even managed) are ultra-ugly. That snippet made want to barf. X|
CLR: Removes tough Java-based stains fast!
-
Until it gets Microsoft .NET and VS with C# and VB, heck no. C and C++ (even managed) are ultra-ugly. That snippet made want to barf. X|
CLR: Removes tough Java-based stains fast!
I forgot something so hideous. UNIX.
CLR: Removes tough Java-based stains fast!