зеркало из https://github.com/mono/mail-archives.git
103 строки
4.7 KiB
HTML
103 строки
4.7 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-osx] [ANN] mcocoa 0.7 and mobjc 0.8
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20%5BANN%5D%20mcocoa%200.7%20and%20mobjc%200.8&In-Reply-To=27083166.post%40talk.nabble.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="002662.html">
|
|
<LINK REL="Next" HREF="002664.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-osx] [ANN] mcocoa 0.7 and mobjc 0.8</H1>
|
|
<B>Jesse Jones</B>
|
|
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20%5BANN%5D%20mcocoa%200.7%20and%20mobjc%200.8&In-Reply-To=27083166.post%40talk.nabble.com"
|
|
TITLE="[Mono-osx] [ANN] mcocoa 0.7 and mobjc 0.8">jesjones at mindspring.com
|
|
</A><BR>
|
|
<I>Sun Jan 10 18:23:17 EST 2010</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="002662.html">[Mono-osx] [ANN] mcocoa 0.7 and mobjc 0.8
|
|
</A></li>
|
|
<LI>Next message: <A HREF="002664.html">[Mono-osx] [ANN] mcocoa 0.7 and mobjc 0.8
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#2663">[ date ]</a>
|
|
<a href="thread.html#2663">[ thread ]</a>
|
|
<a href="subject.html#2663">[ subject ]</a>
|
|
<a href="author.html#2663">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>
|
|
On Jan 8, 2010, at 2:16 PM, Lee V. Andrus wrote:
|
|
|
|
><i>
|
|
</I>><i>
|
|
</I>><i> Looking into your makefile, I found that the dependencies of some targets
|
|
</I>><i> (including "all") are backwards. Although dependencies and/or rules between
|
|
</I>><i> such dependent targets usually force them to be built in the correct
|
|
</I>><i> sequence, it may be prudent to list multiple dependencies of a target in the
|
|
</I>><i> sequence you would prefer or expect them to be built.
|
|
</I>
|
|
Thanks for the tip. I'll review them.
|
|
><i>
|
|
</I>><i> On another note, I noticed that there are still no wrappers classes or
|
|
</I>><i> interfaces for Objective C Protocols, although their methods are wrapped in
|
|
</I>><i> each class that "conforms to" them. Methods in Category
|
|
</I>><i> NSDraggingDestination each have a parameter of type "id <NSDraggingInfo>".
|
|
</I>><i> Since no class that conforms to that Protocol is exposed in the framework
|
|
</I>><i> header files, nothing about it is generated by your generator. I will
|
|
</I>><i> probably need to create my own set of extension methods to handle this.
|
|
</I>
|
|
This has been on my list of things to do, but it's been a rather low priority because I have never come across a use case where I thought it would be useful. If you don't mind my asking, where do you think they would be useful?
|
|
><i>
|
|
</I>><i> As for the future development of MObjC/MCocoa, my vote would be for
|
|
</I>><i> enhancing the automatic generation to handle variadic methods,
|
|
</I>
|
|
I think that this would require rewriting mobjc's slow path (which is not a bad idea in any case).
|
|
|
|
><i> methods with
|
|
</I>><i> function pointer or block parameters,
|
|
</I>
|
|
I'll look into doing this for the next version. The only reason I didn't before is that I didn't want to parse function pointer declarations. But I'm now using a generated packrat parser to parse headers so that problem has become a lot more tractable. I've also learned that Apple's frameworks include a file containing metadata for that framework which may prove useful.
|
|
|
|
><i> and wrappers for Protocols;
|
|
</I>
|
|
Right now I'm not planning on doing this anytime soon.
|
|
|
|
><i> and some
|
|
</I>><i> form of build switch to target a specific OS X version.
|
|
</I>
|
|
Yeah, the current situation is kind of lame. I'll look at doing a better job with this in the next version.
|
|
|
|
Thanks for the feedback (and apologies for the delay in replying, I've been extremely busy at work trying to get our software out of alpha).
|
|
|
|
-- Jesse
|
|
</PRE>
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="002662.html">[Mono-osx] [ANN] mcocoa 0.7 and mobjc 0.8
|
|
</A></li>
|
|
<LI>Next message: <A HREF="002664.html">[Mono-osx] [ANN] mcocoa 0.7 and mobjc 0.8
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#2663">[ date ]</a>
|
|
<a href="thread.html#2663">[ thread ]</a>
|
|
<a href="subject.html#2663">[ subject ]</a>
|
|
<a href="author.html#2663">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
|
|
mailing list</a><br>
|
|
</body></html>
|