Re: [fpc-pascal] cocoa programming without objective-pascal mode

2014-11-03 Thread C Western
On 02/11/14 18:38, Felipe Monteiro de Carvalho wrote: The Cocoa interface is advancing fast. I am even running out of known bugs, so other people testing would be appreciated. I have some interest in this. Is http://wiki.lazarus.freepascal.org/Cocoa_Interface reasonably up to date as to how t

Re: [fpc-pascal] cocoa programming without objective-pascal mode

2014-11-03 Thread Bee
Alright, guys. Thank you for all the informations and discussion. I got many things to learn from all of your responses. They're all valuable to me. I haven't yet decided which way I will choose, whether to stay with FPC, move to Oxygene, or completely migrate to Swift. I'm still on testing phase r

Re: [fpc-pascal] cocoa programming without objective-pascal mode

2014-11-03 Thread Sven Barth
Am 03.11.2014 09:02 schrieb "Bee" : > On Mon, Nov 3, 2014 at 1:45 PM, Sven Barth wrote: >> >> >> That's because FireMonkey abstracts all those APIs for you. The LCL by Lazarus has the same target: no matter whether you are on Win32/64, GTK, Qt, Carbon, Cocoa, whatever you get the same set of APIs

Re: [fpc-pascal] cocoa programming without objective-pascal mode

2014-11-03 Thread Jonas Maebe
On 03/11/14 09:02, Bee wrote: > If want to use a TObject, I want the > exact same properties, exact same behavior, exact same declaration of > TObject on everywhere else. Then you are in luck, because that is exactly how it is today. (*) > I don't care if beneath it acts as NSObject on OSX, or Wi

Re: [fpc-pascal] cocoa programming without objective-pascal mode

2014-11-03 Thread Bee
On Mon, Nov 3, 2014 at 11:00 AM, Dmitry Boyarintsev < skalogryz.li...@gmail.com> wrote: > > Just don't bother yourself with "cocoa api" don't go too specific. > I don't, hence this thread. :) If want to use a TObject, I want the exact same properties, exact same behavior, exact same declaration o

Re: [fpc-pascal] cocoa programming without objective-pascal mode

2014-11-02 Thread Sven Barth
On 03.11.2014 04:10, Bee wrote: On Mon, Nov 3, 2014 at 1:52 AM, Sven Barth mailto:pascaldra...@googlemail.com>> wrote: How will you be cross platform if you access Cocoa directly? Take a look at Delphi. From a single source code base, we can compile it for Windows and Mac. Hardly any change

Re: [fpc-pascal] cocoa programming without objective-pascal mode

2014-11-02 Thread Dmitry Boyarintsev
On Sun, Nov 2, 2014 at 10:10 PM, Bee wrote: > > Take a look at Delphi. From a single source code base, we can compile it > for Windows and Mac. Hardly any changes are required. But if you want to > target Mac using FPC, I believe you have to use objective-pascal to access > Cocoa API which is not

Re: [fpc-pascal] cocoa programming without objective-pascal mode

2014-11-02 Thread Bee
On Mon, Nov 3, 2014 at 12:28 AM, Jonas Maebe wrote: > > I assume you didn't put it there in the hope that nobody would ever > notice it or ask questions about it. If you did in fact hope that, then > there are probably more effective approaches than posting it to the > fpc-pascal mailing list, w

Re: [fpc-pascal] cocoa programming without objective-pascal mode

2014-11-02 Thread Sven Barth
Am 02.11.2014 15:44 schrieb "Bee" : > It is also breaks one of the most important advantage of FreePascal: cross platform language. How will you be cross platform if you access Cocoa directly? Regards, Sven ___ fpc-pascal maillist - fpc-pascal@lists.f

Re: [fpc-pascal] cocoa programming without objective-pascal mode

2014-11-02 Thread Felipe Monteiro de Carvalho
On Sun, Nov 2, 2014 at 3:43 PM, Bee wrote: > Is it possible to do Cocoa GUI programming on Mac/OSX using FreePascal but > without objective-pascal mode/dialect? Just pure object pascal or delphi > mode. How do I access the Cocoa SDK (foundation, appkit, etc) from pascal > code? It is possible, I

Re: [fpc-pascal] cocoa programming without objective-pascal mode

2014-11-02 Thread Jonas Maebe
On 02/11/14 16:37, Bee wrote: > > Minggu, 02 November 2014, Jonas Maebe > menulis: > > On 02/11/14 15:43, Bee wrote: > > "I'm an old pascal lover who feels left alone on Apple platform > because > > FreePascal/Lazarus are no longer Apple friendly

Re: [fpc-pascal] cocoa programming without objective-pascal mode

2014-11-02 Thread Bee
Minggu, 02 November 2014, Jonas Maebe menulis: On 02/11/14 15:43, Bee wrote: > > "I'm an old pascal lover who feels left alone on Apple platform because > > FreePascal/Lazarus are no longer Apple friendly like they used to be." > > How was FPC more "Apple friendly" in the past than it is now? D

Re: [fpc-pascal] cocoa programming without objective-pascal mode

2014-11-02 Thread Jonas Maebe
On 02/11/14 15:43, Bee wrote: > "I'm an old pascal lover who feels left alone on Apple platform because > FreePascal/Lazarus are no longer Apple friendly like they used to be." How was FPC more "Apple friendly" in the past than it is now? Jonas ___ fpc