<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hello Geoff and all<br>
    <br>
    I will have to upload it a little later.&nbsp; I was in the middle of
    modifying the sample to save the NSPredicate settings to a file and
    reading it back in.&nbsp; Will put it back to original and send the
    updates which means I need to re-apply my patches to the sources
    here.&nbsp; Will also send new diffs as the other ones are probably out
    of date now.<br>
    <br>
    Kenneth<br>
    <br>
    On 11/29/10 6:27 AM, kjpou wrote:
    <blockquote cite="mid:4CF339C8.9050703@pt.lu" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Geoff<br>
      <br>
      Sorry about that.&nbsp; Will definitely send the C# one now.<br>
      <br>
      Kenneth<br>
      <br>
      On 11/29/10 6:25 AM, Geoff Norton wrote:
      <blockquote
        cite="mid:B2546E75-8B39-479E-931C-0B0A27CEF9BC@novell.com"
        type="cite">Kenneth,
        <div><br>
        </div>
        <div>&nbsp;&nbsp;This email had an Objective-C XcodeProject attached, not
          a MonoMac project.</div>
        <div><br>
        </div>
        <div>-g</div>
        <div><br>
          <div>
            <div>On 2010-11-29, at 12:23 AM, kjpou wrote:</div>
            <br class="Apple-interchange-newline">
            <blockquote type="cite">
              <div bgcolor="#ffffff" text="#000000"> Miguel and Geoff<br>
                <br>
                Here is the post that was mentioned in the last post.<br>
                <br>
                On 11/23/10 7:32 AM, kjpou wrote:
                <blockquote cite="mid:4CEB5FF6.8020306@pt.lu"
                  type="cite">Here is another sample that adds support
                  for the NSPredicate editor.<br>
                  <br>
                  The sample shows how to use the NSPredicateEditor
                  within a program and uses the NSMetadataQuery to query
                  SpotLight for a list of names corresponding to the
                  Predicates from your Address Book.<br>
                  <br>
                  The additions are not complete.&nbsp; Meaning that there
                  are still some NSArray elements instead of native
                  arrays XXXXX[] being used as did not have a test for
                  them or did not use them.&nbsp; The ones that I did see and
                  could change were updated.<br>
                  <br>
                  I do believe that the the NSPredicate will have to be
                  added to the plugin or you will have to manually add
                  using MonoMac.Appkit to the .designer.cs source.<br>
                  <br>
                  Where can I find the source for the plugin so that I
                  can take a look at it?<br>
                  <br>
                  A summary of the additions are here:<font face="Arial"
                    size="2"><span style="font-size: 10pt; font-family:
                      Arial;"><br>
                      <br>
                      MonoMac appkit.cs</span></font>
                  <div><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font><br
                      class="webkit-block-placeholder">
                  </div>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">using

                        MonoMac.CoreData;</span></font></p>
                  <div><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font><br
                      class="webkit-block-placeholder">
                  </div>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        [BaseType (typeof (NSObject))]</span></font></p>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        interface NSPredicateEditorRowTemplate {</span></font></p>
                  <div><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                      </span></font><br class="webkit-block-placeholder">
                  </div>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        [BaseType (typeof (NSControl), Delegates=new
                        string [] { "Delegate" }, Events=new Type [] {
                        typeof (NSRuleEditorDelegate)})]</span></font></p>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        interface NSRuleEditor {</span></font></p>
                  <div><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font><br
                      class="webkit-block-placeholder">
                  </div>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        [BaseType (typeof (NSObject))]</span></font></p>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        [Model]</span></font></p>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        interface NSRuleEditorDelegate {</span></font></p>
                  <div><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                      </span></font><br class="webkit-block-placeholder">
                  </div>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        [BaseType (typeof (NSRuleEditor))]</span></font></p>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        interface NSPredicateEditor {</span></font></p>
                  <div><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font><br
                      class="webkit-block-placeholder">
                  </div>
                  <div><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font><br
                      class="webkit-block-placeholder">
                  </div>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">MonoMac


                        enums.cs</span></font></p>
                  <div><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font><br
                      class="webkit-block-placeholder">
                  </div>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        public enum NSRuleEditorRowType{</span></font></p>
                  <div><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                      </span></font><br class="webkit-block-placeholder">
                  </div>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        public enum NSRuleEditorNestingMode {</span></font></p>
                  <div><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font><br
                      class="webkit-block-placeholder">
                  </div>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">Maccore


                        foundation.cs</span></font></p>
                  <div><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font><br
                      class="webkit-block-placeholder">
                  </div>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        [BaseType (typeof (NSObject))]<br>
                        &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; [Since (4,0)]<br>
                        &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; interface NSPredicate {</span></font></p>
                  <div><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font><br
                      class="webkit-block-placeholder">
                  </div>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        [BaseType (typeof (NSPredicate))]</span></font></p>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        interface NSComparisonPredicate {</span></font></p>
                  <div><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font><br
                      class="webkit-block-placeholder">
                  </div>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        [BaseType (typeof (NSPredicate))]</span></font></p>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        interface NSCompoundPredicate {</span></font></p>
                  <div><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                      </span></font><br class="webkit-block-placeholder">
                  </div>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        [BaseType (typeof (NSObject), Delegates=new
                        string [] { "Delegate" }, Events=new Type [] {
                        typeof (NSMetadataQueryDelegate)})]</span></font></p>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        interface NSMetadataQuery {</span></font></p>
                  <div><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font><br
                      class="webkit-block-placeholder">
                  </div>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        [BaseType (typeof (NSObject))]</span></font></p>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        [Model]</span></font></p>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        interface NSMetadataQueryDelegate {</span></font></p>
                  <div><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font><br
                      class="webkit-block-placeholder">
                  </div>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        [BaseType (typeof (NSObject))]</span></font></p>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        interface NSMetadataItem {</span></font></p>
                  <div><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font><br
                      class="webkit-block-placeholder">
                  </div>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        [BaseType (typeof (NSObject))]</span></font></p>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        interface NSMetadataQueryAttributeValueTuple {</span></font></p>
                  <div><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                      </span></font><br class="webkit-block-placeholder">
                  </div>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        [BaseType (typeof (NSObject))]</span></font></p>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        interface NSMetadataQueryResultGroup {</span></font></p>
                  <div><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font><br
                      class="webkit-block-placeholder">
                  </div>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">Maccore

                        enum.cs</span></font></p>
                  <div><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font><br
                      class="webkit-block-placeholder">
                  </div>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        public enum NSComparisonPredicateModifier</span></font></p>
                  <div><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font><br
                      class="webkit-block-placeholder">
                  </div>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        public enum NSPredicateOperatorType</span></font></p>
                  <div><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                      </span></font><br class="webkit-block-placeholder">
                  </div>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        public enum NSComparisonPredicateOptions : uint</span></font></p>
                  <div><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                      </span></font><br class="webkit-block-placeholder">
                  </div>
                  <p class="MsoNormal"><font face="Arial" size="2"><span
                        style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                        public enum NSCompoundPredicateType</span></font></p>
                  <div><font face="Times New Roman" size="3"><span
                        style="font-size: 12pt;"></span></font><br
                      class="webkit-block-placeholder">
                  </div>
                </blockquote>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </blockquote>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Mono-osx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Mono-osx@lists.ximian.com">Mono-osx@lists.ximian.com</a>
<a class="moz-txt-link-freetext" href="http://lists.ximian.com/mailman/listinfo/mono-osx">http://lists.ximian.com/mailman/listinfo/mono-osx</a>
</pre>
    </blockquote>
  </body>
</html>