Mac project ?
-
Anyone here do Mac dev and know of a site that's CP like in it's godliness, but for Mac ?
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
Join the Cocoa and the XCode mailing list at: http://lists.apple.com Also, I have found the Apple documentation to be pretty good. It is very detailed and best of all it can be printed out (unlike MSDN). If Chris wants to start MacProject, I have a few new article ideas. ;)
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
-
Join the Cocoa and the XCode mailing list at: http://lists.apple.com Also, I have found the Apple documentation to be pretty good. It is very detailed and best of all it can be printed out (unlike MSDN). If Chris wants to start MacProject, I have a few new article ideas. ;)
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 would write an article and call it ') DROP TABLE Articles (OK, that won't work, but credit to the idea *hopeful*?)
Ninja (the Nerd)
Confused? You will be... -
I would write an article and call it ') DROP TABLE Articles (OK, that won't work, but credit to the idea *hopeful*?)
Ninja (the Nerd)
Confused? You will be...Ninja-the-Nerd wrote:
but credit to the idea *hopeful*?)
Oh come on! Everyone here has seen that Bobby Tables joke on Xkcd! :-D
Regards, Nish
Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
My latest book : C++/CLI in Action / Amazon.com link -
Ninja-the-Nerd wrote:
but credit to the idea *hopeful*?)
Oh come on! Everyone here has seen that Bobby Tables joke on Xkcd! :-D
Regards, Nish
Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
My latest book : C++/CLI in Action / Amazon.com linkUhm...... I've seen something about drop tables on xkcd (where I got the idea from actually :lol:) but Bobby doesn't ring any bells. Well he might, know any bellboys named Bobby?
Ninja (the Nerd)
Confused? You will be... -
Anyone here do Mac dev and know of a site that's CP like in it's godliness, but for Mac ?
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Anyone here do Mac dev and know of a site that's CP like in it's godliness, but for Mac ?
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
As I said in a different thread yesterday, use the Qt library and avoid spending a lot of time learning mac specifics. And windows and linux specifics for that matter.
To borrow from the Java curse: Cross-platform GUI programming == write once, debug everywhere. :) Believe me, I have done my share of that over the years between Windows, OS X, Linux, FreeBSD, Solaris, and Irix. It's not as simple as the vendors of the cross-platform products want you to think. I'm not saying that it's impossible, but having been down that road several times, I learned that it requires a lot of manual code hacking and platform-specific compilation (#define/#ifdef). The various platform-specific frameworks (WinForms, WPF, Cocoa, etc.) are rich and have excellent GUI designer support. I actually find it quicker to write GUI's using the native framework than by using a cross-platform library such as Qt!
Paul
-
Anyone here do Mac dev and know of a site that's CP like in it's godliness, but for Mac ?
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
I have found a few good tutorial sites over the years, but nothing like CP: Cocoa Dev Central[^] is probably the best resource for picking up the basics of Cocoa programming. XCode 3.0 Tutorial[^] will get you started understanding some of the differences between Cocoa programming and other environments. The C#/Mono plug-in for XCode[^] is very useful if you want to take advantage of the .Net framework on the Mac.
Paul
-
Uhm...... I've seen something about drop tables on xkcd (where I got the idea from actually :lol:) but Bobby doesn't ring any bells. Well he might, know any bellboys named Bobby?
Ninja (the Nerd)
Confused? You will be... -
As I said in a different thread yesterday, use the Qt library and avoid spending a lot of time learning mac specifics. And windows and linux specifics for that matter.
M Towler wrote:
use the Qt library and avoid spending a lot of time learning mac specifics. And windows and linux specifics for that matter.
It is not that simple. With Qt you can produce some GUI that would compile and run on different platforms, but you would be pretty constrained in what you can do on each of them. For instance - how do you make a shell extension with Qt? And even if you could, how would it translate to Mac or Linux?
-
Anyone here do Mac dev and know of a site that's CP like in it's godliness, but for Mac ?
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
I've just started looking into the IPhone SDK for office. My first look at Objective C. Seems good. http://developer.apple.com has elaborate documentation on mac / iphone programming which seems sufficient to get started. BTW, can anyone suggest a good Objective C compiler for windows?
"It was when I found out I could make mistakes that I knew I was on to something." -Ornette Coleman "Philosophy is a study that lets us be unhappy more intelligently." -Anon.
-
To borrow from the Java curse: Cross-platform GUI programming == write once, debug everywhere. :) Believe me, I have done my share of that over the years between Windows, OS X, Linux, FreeBSD, Solaris, and Irix. It's not as simple as the vendors of the cross-platform products want you to think. I'm not saying that it's impossible, but having been down that road several times, I learned that it requires a lot of manual code hacking and platform-specific compilation (#define/#ifdef). The various platform-specific frameworks (WinForms, WPF, Cocoa, etc.) are rich and have excellent GUI designer support. I actually find it quicker to write GUI's using the native framework than by using a cross-platform library such as Qt!
Paul
Well I have been using Qt for some years now to produce UI apps for windows, os x, linux, solaris, irix and in the past even AIX and even OSF1 - and very rarely if ever have to write a platform specific #ifdef or run a non-windows debugger. I realise your mileage may vary depending on the types of tasks your application is performing though. I do get the odd compiler oddity that means I need occasional switches but these would happen regardless of the framework. My main worry with writing the code many times would be how likely it was they would all work the same way - which may depend on how complex the UI is.
-
M Towler wrote:
use the Qt library and avoid spending a lot of time learning mac specifics. And windows and linux specifics for that matter.
It is not that simple. With Qt you can produce some GUI that would compile and run on different platforms, but you would be pretty constrained in what you can do on each of them. For instance - how do you make a shell extension with Qt? And even if you could, how would it translate to Mac or Linux?
Nemanja Trifunovic wrote:
how do you make a shell extension with Qt? And even if you could, how would it translate to Mac or Linux?
This seems rather like a straw-man argument to me. Of course there are some things such as shell extensions that are fundamentally limited to one platform. Cross-platform is meaningless for these so this can hardly be used to criticise a cross-platform framework. A cross platform library is only ever going to be good for general UI or shell based applications.
-
Nemanja Trifunovic wrote:
how do you make a shell extension with Qt? And even if you could, how would it translate to Mac or Linux?
This seems rather like a straw-man argument to me. Of course there are some things such as shell extensions that are fundamentally limited to one platform. Cross-platform is meaningless for these so this can hardly be used to criticise a cross-platform framework. A cross platform library is only ever going to be good for general UI or shell based applications.
M Towler wrote:
This seems rather like a straw-man argument to me. Of course there are some things such as shell extensions that are fundamentally limited to one platform.
um... Considering CG didn't say what he wanted to write, i guess i don't see where Nemanja's argument falls apart. Qt is a fine product, but there's more to life than general UIs...
Citizen 20.1.01
'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
-
M Towler wrote:
This seems rather like a straw-man argument to me. Of course there are some things such as shell extensions that are fundamentally limited to one platform.
um... Considering CG didn't say what he wanted to write, i guess i don't see where Nemanja's argument falls apart. Qt is a fine product, but there's more to life than general UIs...
Citizen 20.1.01
'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
Apologies if I musunderstood, but Nemanja appeared to be using a shell extension as an example of why Qt wasn't a good idea in general - which to me looked like a straw-man. Clearly such frameworks are not going to solve every problem you encounter, but I suggest it is best to go for a general solution first and only fall back on platform specific coding for the very few cases that needed it.
-
Apologies if I musunderstood, but Nemanja appeared to be using a shell extension as an example of why Qt wasn't a good idea in general - which to me looked like a straw-man. Clearly such frameworks are not going to solve every problem you encounter, but I suggest it is best to go for a general solution first and only fall back on platform specific coding for the very few cases that needed it.
There are many controls in Cocoa, like sheets and drawers, that no other framework or platform has. Qt #ifdef's those controls out by default. Developers are welcome to enable them, but then you have source code that will not compile on multiple platforms, even though it uses the same base framework. Qt (and other cross-platform UI frameworks) force your application to behave according to some lowest-common denominator. To me that is unacceptable; users of the various operating systems have some level of expectation of what applications "should" look like on their chosen platform. Learn Objective-C and Xcode. You may surprise yourself and like it!
Paul
-
Apologies if I musunderstood, but Nemanja appeared to be using a shell extension as an example of why Qt wasn't a good idea in general - which to me looked like a straw-man. Clearly such frameworks are not going to solve every problem you encounter, but I suggest it is best to go for a general solution first and only fall back on platform specific coding for the very few cases that needed it.
M Towler wrote:
Nemanja appeared to be using a shell extension as an example of why Qt wasn't a good idea in general
No, I was using it to show an example that you can't skip learning OS specifics if you want to create a non-trivial GUI. I bet there are scenarios where Qt is a good idea, but you can't just say: "use the Qt library and avoid spending a lot of time learning mac specifics. And windows and linux specifics for that matter"