XamarinでiOSアプリを作っています。
・ソリュションエクスプローラーからMainStorybord.storyboardを選択します。
・ツールボックスからTableViewContollerをストーリーボードに追加します。(1)
・ViewContorollerのセグエ(Sourceless Segue)をTableViewControllerに移動させる。(2)
・ViewControllerを選択し、Deleteキーで削除します。(3)
・TableViewControllerを選択し(1)、プロパティでクラス名「ListViewController」を付けます(2)
のように(参考URL:http://furuya02.hatenablog.com/entry/20140618/1403124373)して
ListViewController.designer.csを作成しました。
しかし、実行を押すと
のように7個も何もいじっていないのにエラーが出ます。
ListViewController.designer.csには
using Foundation; using System; using System.CodeDom.Compiler; using UIKit; namespace healthnews { [Register ("ListViewController")] partial class ListViewController { [Outlet] [GeneratedCode ("iOS Designer", "1.0")] UIKit.UITableViewController dataSource { get; set; } [Outlet] [GeneratedCode ("iOS Designer", "1.0")] UIKit.UITableViewController delegate { get; set; } void ReleaseDesignerOutlets () { if (dataSource != null) { dataSource.Dispose (); dataSource = null; } if (delegate != null) { delegate.Dispose (); delegate = null; } } } }
と記載しました。
どこを直すべきなのでしょうか?
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。