[Mono-osx] TypeRefleX

Chuck Esterbrook chuck.esterbrook at gmail.com
Mon May 12 00:30:10 EDT 2008


On Sun, May 11, 2008 at 8:45 PM, Tim Davis <binary.method at gmail.com> wrote:
> Chuck,
>
>  Thanks for the feedback.  I apologize for the Leopard only requirement.  I
> was never able to grasp the concept of release/retain, but I know GC, so I
> made it GC style.  Unfortunately it cuts out users like yourself from using
> the application.

Oh no, I totally understand. It's Apple that should apologize or at
least be embarrassed for not introducing garbage collection in their
development environment until 2007!

>  Actually, you can see monop style output by opening the info pane.  For
> example, check out -> http://www.binarymethod.com/files/TypeRefleX3.swf

Well you can see the list of members in the NSBrowser. And you can see
*one* signature in the info pane. But I really like seeing all the
following info at once. The movie doesn't demonstrate that and I
didn't see a scrollbar on the infopane when you viewed the class.

[Serializable]
public struct DateTime : IComparable, IConvertible, IFormattable {

        public DateTime (long ticks);
        public DateTime (int year, int month, int day);
        public DateTime (int year, int month, int day, int hour, int
minute, int second);
        public DateTime (int year, int month, int day, int hour, int
minute, int second, int millisecond);
        public DateTime (int year, int month, int day,
System.Globalization.Calendar calendar);
        public DateTime (int year, int month, int day, int hour, int
minute, int second, System.Globalization.Calendar calendar);
        public DateTime (int year, int month, int day, int hour, int
minute, int second, int millisecond, System.Globalization.Calendar
calendar);

        public static int Compare (DateTime t1, DateTime t2);
        public static int DaysInMonth (int year, int month);
        public static bool Equals (DateTime t1, DateTime t2);
        public static DateTime FromFileTime (long fileTime);
        public static DateTime FromFileTimeUtc (long fileTime);
        public static DateTime FromOADate (double d);
        public static bool IsLeapYear (int year);
        public static DateTime Parse (string s);
        public static DateTime Parse (string s, IFormatProvider fp);
        public static DateTime Parse (string s, IFormatProvider fp,
System.Globalization.DateTimeStyles styles);
        public static DateTime ParseExact (string s, string format,
IFormatProvider fp);
        public static DateTime ParseExact (string s, string format,
IFormatProvider fp, System.Globalization.DateTimeStyles style);
        public static DateTime ParseExact (string s, string []
formats, IFormatProvider fp, System.Globalization.DateTimeStyles
style);
...


-Chuck


More information about the Mono-osx mailing list