TweetViewController.cs 864 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using Foundation;
  5. using AppKit;
  6. namespace TwitterSearch.Mac
  7. {
  8. public partial class TweetViewController : AppKit.NSViewController
  9. {
  10. #region Constructors
  11. // Called when created from unmanaged code
  12. public TweetViewController (IntPtr handle) : base (handle)
  13. {
  14. Initialize ();
  15. }
  16. // Called when created directly from a XIB file
  17. [Export ("initWithCoder:")]
  18. public TweetViewController (NSCoder coder) : base (coder)
  19. {
  20. Initialize ();
  21. }
  22. // Call to load from the XIB/NIB file
  23. public TweetViewController () : base ("TweetView", NSBundle.MainBundle)
  24. {
  25. Initialize ();
  26. }
  27. // Shared initialization code
  28. void Initialize ()
  29. {
  30. }
  31. #endregion
  32. //strongly typed view accessor
  33. public new TweetView View {
  34. get {
  35. return (TweetView)base.View;
  36. }
  37. }
  38. }
  39. }