<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hello Geoff<br>
    <br>
    The updates are attached below.&nbsp; They include the Sample and diff
    files for maccore (foundation.diff) and monomac
    (NSPredicateEditor.diff)<br>
    <br>
    It looks like I am missing some of the clean up that I did but at
    least the sample is there with the diffs.&nbsp; As I modify the sample to
    add tests for saving and reading NSPredicate to and from file I will
    re-apply the clean up I did for NSArray to using array objects
    XXXXXX[].<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>
  </body>
</html>