Re: [users@lists.monobjc.net] [ANN] Monobjc 3.0.1352.0 Release

2011-03-18 Thread Laurent Etiemble
Hello,

The Search/Replace regular expressions can be in MonoDevelop 2.4 by
selecting Project  Replace in Files.

You can also use the Refactor  Create Instance Variable menu available
when right-clicking on the class declaration. Give a name and a type, it
will produce the code.

Regards, Laurent Etiemble.

2011/3/18 Fabian Kropp fabian.kr...@mac.com


 Hi ,

 sadly i can't get the suggested serach and replace patern to work with
 Monodevelop 2.4, how did you create that pattern and how is it supposed to
 be used ?
 I am pretty sure you mention this somewhere, but looks like i am too stupid
 to find ...

 thx in advance

 Fabian

 Am 17.03.2011 um 21:09 schrieb Laurent Etiemble:

 Hello,

 It seems that the constant has been swallowed by the new generator. As
 the NSFileHandlingPanelOKButton is equivalent to NSOKButton, you can use
 NSPanel.NSOKButton instead.

 For migration issues, there is an on-progress tutorial that lists the
 changes (http://www.monobjc.net/index.php?page=migrating-from-monobjc-2).
 I have put some notes I gathered during the port of the samples.

 Regards, Laurent Etiemble.

 2011/3/17 Bastien Hofmann bhofm...@waterproof.fr

 Hello,

 Thank you for this new release, it seems great!
 I'm trying to convert my project to it, a lot of things seem to have
 changed, for example, I can't find the NSFileHandlingPanelOKButton constant.
 Am I missing it, or as it been replaced with something else?

 Laurent Etiemble a écrit :

  Hello,

 I am proud to announce that a new release of Monobjc bridge is available
 (http://www.monobjc.net/ http://www.monobjc.net/). The Monobjc bridge

 provides the necessary tools to develop and run .NET applications
 (written in C#, VB.NET http://vb.net/, etc.) that interact with

 Objective-C frameworks and libraries under Mac OS X. Existing
 Objective-C classes can be used in .NET code in an almost transparent
 manner.

 What's new in the 3.0.1352.0 release:
 - New core runtime bridge
 - Support of Mac OS X 10.5/10.6 APIs (Foundatio, AppKit, WebKit, QTKit,
 Quartz, etc.)
 - Support for categories
 - MonoDevelop addins are now compatible with MonoDevelop 2.4/2.6
 - New set of NAnt tasks for easy Continuous Integration

 Check out:
 - Downloads: http://www.monobjc.net/index.php?page=downloads
 http://www.monobjc.net/index.php?page=downloads
 - Tutorials : http://www.monobjc.net/index.php?page=tutorials
 http://www.monobjc.net/index.php?page=tutorials
 - Samples: http://www.monobjc.net/index.php?page=samples
 - Programming Guide:
 http://www.monobjc.net/index.php?page=programming-guide
 http://www.monobjc.net/index.php?page=programming-guide
 http://www.monobjc.net/index.php?page=programming-guide- MonoDevelop
 Addins: http://www.monobjc.net/index.php?page=monodevelop-addins

 Feedback, remarks and donations are welcomed !!!

 Regards, Laurent Etiemble.


 Best regards,
 --
 Bastien Hofmann
 WaterProof SARL - 10, place Nationale | Phone: +33 (0) 563 669 627
 82000 Montauban, France | Fax: +33 (0) 563 669 626
 http://www.waterproof.fr| supp...@waterproof.fr






Re: [users@lists.monobjc.net] [ANN] Monobjc 3.0.1352.0 Release

2011-03-18 Thread Fabian Kropp


Am 18.03.2011 um 16:58 schrieb Laurent Etiemble:


Hello,

The Search/Replace regular expressions can be in MonoDevelop 2.4 by  
selecting Project  Replace in Files.


That is what i had tried, it didn't find any matches :-(

this works - more or less - can't get the newline in ...

\[ObjectiveCField\]([\t\w\s]*)public\s([A-z]+)\s([A-z]+);

[ObjectiveCIVar]$1public $2 $3 { get { return this.GetInstanceVariable 
$2($3); } set { this.SetInstanceVariable($3, value); } }


Fabian



You can also use the Refactor  Create Instance Variable menu  
available when right-clicking on the class declaration. Give a name  
and a type, it will produce the code.


Regards, Laurent Etiemble.

2011/3/18 Fabian Kropp fabian.kr...@mac.com

Hi ,

sadly i can't get the suggested serach and replace patern to work  
with Monodevelop 2.4, how did you create that pattern and how is it  
supposed to be used ?
I am pretty sure you mention this somewhere, but looks like i am too  
stupid to find ...


thx in advance

Fabian

Am 17.03.2011 um 21:09 schrieb Laurent Etiemble:


Hello,

It seems that the constant has been swallowed by the new generator.  
As the NSFileHandlingPanelOKButton is equivalent to NSOKButton, you  
can use NSPanel.NSOKButton instead.


For migration issues, there is an on-progress tutorial that lists  
the changes (http://www.monobjc.net/index.php?page=migrating-from-monobjc-2 
). I have put some notes I gathered during the port of the samples.


Regards, Laurent Etiemble.

2011/3/17 Bastien Hofmann bhofm...@waterproof.fr
Hello,

Thank you for this new release, it seems great!
I'm trying to convert my project to it, a lot of things seem to  
have changed, for example, I can't find the  
NSFileHandlingPanelOKButton constant. Am I missing it, or as it  
been replaced with something else?


Laurent Etiemble a écrit :
Hello,

I am proud to announce that a new release of Monobjc bridge is  
available
(http://www.monobjc.net/ http://www.monobjc.net/). The Monobjc  
bridge


provides the necessary tools to develop and run .NET applications
(written in C#, VB.NET http://vb.net/, etc.) that interact with

Objective-C frameworks and libraries under Mac OS X. Existing
Objective-C classes can be used in .NET code in an almost transparent
manner.

What's new in the 3.0.1352.0 release:
- New core runtime bridge
- Support of Mac OS X 10.5/10.6 APIs (Foundatio, AppKit, WebKit,  
QTKit,

Quartz, etc.)
- Support for categories
- MonoDevelop addins are now compatible with MonoDevelop 2.4/2.6
- New set of NAnt tasks for easy Continuous Integration

Check out:
- Downloads: http://www.monobjc.net/index.php?page=downloads
http://www.monobjc.net/index.php?page=downloads
- Tutorials : http://www.monobjc.net/index.php?page=tutorials
http://www.monobjc.net/index.php?page=tutorials
- Samples: http://www.monobjc.net/index.php?page=samples
- Programming Guide:
http://www.monobjc.net/index.php?page=programming-guide
http://www.monobjc.net/index.php?page=programming-guide
http://www.monobjc.net/index.php?page=programming-guide-  
MonoDevelop

Addins: http://www.monobjc.net/index.php?page=monodevelop-addins

Feedback, remarks and donations are welcomed !!!

Regards, Laurent Etiemble.

Best regards,
--
Bastien Hofmann
WaterProof SARL - 10, place Nationale | Phone: +33 (0) 563 669 627
82000 Montauban, France | Fax: +33 (0) 563 669 626
http://www.waterproof.fr| supp...@waterproof.fr








Re: [users@lists.monobjc.net] [ANN] Monobjc 3.0.1352.0 Release

2011-03-18 Thread Laurent Etiemble
Hello,

After reading my notes again, it appears that the regexp was made under
Visual Studio. I have updated the tutorial page with a regexp that works
under MonoDevelop 2.4. I was unable to produce line breaks, but after Edit
 Format  Format Document the source code is nice.

Search:
\[ObjectiveCField\][\n\w\s]+public\s+([A-z0-9]+)\s+([_A-z0-9]+);

Replace:
[ObjectiveCIVar] public $1 $2 { get { return
this.GetInstanceVariable$1($2); } set { this.SetInstanceVariable($2,
value); } }

Regards, Laurent Etiemble.

2011/3/18 Fabian Kropp fabian.kr...@mac.com


 Am 18.03.2011 um 16:58 schrieb Laurent Etiemble:

 Hello,

 The Search/Replace regular expressions can be in MonoDevelop 2.4 by
 selecting Project  Replace in Files.


 That is what i had tried, it didn't find any matches :-(

 this works - more or less - can't get the newline in ...

 \[ObjectiveCField\]([\t\w\s]*)public\s([A-z]+)\s([A-z]+);

 [ObjectiveCIVar]$1public $2 $3 { get { return
 this.GetInstanceVariable$2($3); } set { this.SetInstanceVariable($3,
 value); } }

 Fabian


 You can also use the Refactor  Create Instance Variable menu available
 when right-clicking on the class declaration. Give a name and a type, it
 will produce the code.

 Regards, Laurent Etiemble.

 2011/3/18 Fabian Kropp fabian.kr...@mac.com


 Hi ,

 sadly i can't get the suggested serach and replace patern to work with
 Monodevelop 2.4, how did you create that pattern and how is it supposed to
 be used ?
 I am pretty sure you mention this somewhere, but looks like i am too
 stupid to find ...

 thx in advance

 Fabian

 Am 17.03.2011 um 21:09 schrieb Laurent Etiemble:

 Hello,

 It seems that the constant has been swallowed by the new generator. As
 the NSFileHandlingPanelOKButton is equivalent to NSOKButton, you can use
 NSPanel.NSOKButton instead.

 For migration issues, there is an on-progress tutorial that lists the
 changes (http://www.monobjc.net/index.php?page=migrating-from-monobjc-2).
 I have put some notes I gathered during the port of the samples.

 Regards, Laurent Etiemble.

 2011/3/17 Bastien Hofmann bhofm...@waterproof.fr

 Hello,

 Thank you for this new release, it seems great!
 I'm trying to convert my project to it, a lot of things seem to have
 changed, for example, I can't find the NSFileHandlingPanelOKButton constant.
 Am I missing it, or as it been replaced with something else?

 Laurent Etiemble a écrit :

  Hello,

 I am proud to announce that a new release of Monobjc bridge is available
 (http://www.monobjc.net/ http://www.monobjc.net/). The Monobjc bridge

 provides the necessary tools to develop and run .NET applications
 (written in C#, VB.NET http://vb.net/, etc.) that interact with

 Objective-C frameworks and libraries under Mac OS X. Existing
 Objective-C classes can be used in .NET code in an almost transparent
 manner.

 What's new in the 3.0.1352.0 release:
 - New core runtime bridge
 - Support of Mac OS X 10.5/10.6 APIs (Foundatio, AppKit, WebKit, QTKit,
 Quartz, etc.)
 - Support for categories
 - MonoDevelop addins are now compatible with MonoDevelop 2.4/2.6
 - New set of NAnt tasks for easy Continuous Integration

 Check out:
 - Downloads: http://www.monobjc.net/index.php?page=downloads
 http://www.monobjc.net/index.php?page=downloads
 - Tutorials : http://www.monobjc.net/index.php?page=tutorials
 http://www.monobjc.net/index.php?page=tutorials
 - Samples: http://www.monobjc.net/index.php?page=samples
 - Programming Guide:
 http://www.monobjc.net/index.php?page=programming-guide
 http://www.monobjc.net/index.php?page=programming-guide
 http://www.monobjc.net/index.php?page=programming-guide- MonoDevelop
 Addins: http://www.monobjc.net/index.php?page=monodevelop-addins

 Feedback, remarks and donations are welcomed !!!

 Regards, Laurent Etiemble.


 Best regards,
 --
 Bastien Hofmann
 WaterProof SARL - 10, place Nationale | Phone: +33 (0) 563 669 627
 82000 Montauban, France | Fax: +33 (0) 563 669 626
 http://www.waterproof.fr| supp...@waterproof.fr








[users@lists.monobjc.net] [ANN] Monobjc 3.0.1352.0 Release

2011-03-15 Thread Laurent Etiemble
Hello,

I am proud to announce that a new release of Monobjc bridge is available (
http://www.monobjc.net/). The Monobjc bridge provides the necessary tools to
develop and run .NET applications (written in C#, VB.NET http://vb.net/,
etc.) that interact with Objective-C frameworks and libraries under Mac OS
X. Existing Objective-C classes can be used in .NET code in an almost
transparent manner.

What's new in the 3.0.1352.0 release:
- New core runtime bridge
- Support of Mac OS X 10.5/10.6 APIs (Foundatio, AppKit, WebKit, QTKit,
Quartz, etc.)
- Support for categories
- MonoDevelop addins are now compatible with MonoDevelop 2.4/2.6
- New set of NAnt tasks for easy Continuous Integration

Check out:
- Downloads: http://www.monobjc.net/index.php?page=downloads
- Tutorials : http://www.monobjc.net/index.php?page=tutorials
- Samples: http://www.monobjc.net/index.php?page=samples
- Programming Guide: http://www.monobjc.net/index.php?page=programming-guide
 http://www.monobjc.net/index.php?page=programming-guide- MonoDevelop
Addins: http://www.monobjc.net/index.php?page=monodevelop-addins

Feedback, remarks and donations are welcomed !!!

Regards, Laurent Etiemble.