2011-03-30 3 views
1

모노 터치 3.99.13Monotouch 3.99 : 디자이너 파일에서 누락 된 사용?

인터페이스 빌더에서 XIB를 편집하면 Monotouch가 생성 한 designer.cs 파일에 모든 용도를 추가하지 못합니다. 부분적인 clsses가 없습니다.

enter image description here

여기에 코드 싹둑이 (더 using이를 알 수 없음)입니다 :

// ------------------------------------------------------------------------------ 
// <autogenerated> 
//  This code was generated by a tool. 
//  Mono Runtime Version: 2.0.50727.1433 
// 
//  Changes to this file may cause incorrect behavior and will be lost if 
//  the code is regenerated. 
// </autogenerated> 
// ------------------------------------------------------------------------------ 

namespace General { 


    // Base type probably should be MonoTouch.Foundation.NSObject or subclass 
    [MonoTouch.Foundation.Register("AppDelegateIPad")] 
    public partial class AppDelegateIPad { 

     private UIWindow __mt_window; 

     #pragma warning disable 0169 
     [MonoTouch.Foundation.Connect("window")] 
     private UIWindow window { 
      get { 
       this.__mt_window = ((UIWindow)(this.GetNativeField("window"))); 
       return this.__mt_window; 
      } 
      set { 
       this.__mt_window = value; 
       this.SetNativeField("window", value); 
      } 
     } 
    } 
} 
+0

실제로 무엇이 문제입니까? –

+0

"버그입니까?" Monotouch 건축가의 답변은 아래를 참조하십시오. –

답변

0

누군가가 최신 MonoDevelop here의 버그로이 문제를 제기했다. 너니? 내가 아는 한 MonoDevelop는 디자이너 파일에서 문장을 사용하여 생성 한 적이 없다.

+0

예, 제출했습니다. 하지만 다른 부분 클래스는 생성되지 않습니다. XIB와 그 밑에 designer.cs 템플릿을 사용하여 Universal 응용 프로그램을 만들었습니다. –

+0

AppDelegateIpad라는 새로운 클래스를 추가 할 수 있습니다. AppDelegateIpad는 AppDelegate 논리를 구현하고 거기에 using을 추가하기 만하면됩니다. 왜 자동으로 그렇게하지 않았는지 모르겠다면 추가 정보로 버그를 업데이트해야합니다. –

+0

필자는 로컬 사용 범위가 부분적으로 적용될 수 없다는 점을 고쳐 썼습니다. –