"View controller" is not found on TREX in Japanese-English direction
Try Searching In English-Japanese
(
View controller)
MassiveViewController(00:51)MVVMはMVCパターンの問題(みんな"MassiveViewController"とジョークを言いますが)を解決しています。
Massive View Controller(00:51) MVVM solves the MVC pattern everyone jokes about the"Massive View Controller..次に、ネイティブビューのストーリーボード内からネイティブのViewControllerとして設定して作成した新しいTableViewControllerクラスを使用する必要があります。
Next we will need to use the new TableViewController class we created by setting it as our native View Controller from within the Storyboard of our native view..AngularJSは、クライアントサイドアプリケーション(JavaScriptを使用)をクリーンなMVC(ModelViewController)の方法で記述するための開発者オプションを提供します。
AngularJS provides developers options to write client side application(using JavaScript) in a clean MVC(Model View Controller) way.ネイティブシーンが選択されていることを確認し、「IdentityInspector」でViewControllerクラスをMyTableViewController(または上記で付けた名前)に変更します。
Ensure the native scene is selected and change the View Controller class to MyTableViewController(or to the value you named it in the above) in the Identity Inspector.Storyboardの準備今回作成するアプリケーションは1つのViewControllerのみで構成されます。あらかじめ用意したStoryboardファイルがあるので、このファイルからViewControllerをコピーしてください。
This app only has one view controller, so the easiest thing to do is to download the storyboard I have prepared for you and copy the view controller from there.チェーンの最後の行では、「最後にデータを持っているので、UIで何かする」ということを明確にしてViewControllerに入れます。
In these last lines in the chain-"since I finally have my data, I want to do something in the UI"- you will make it clear-cut and put it in the view controllers.たくさんのボックスをチェックすると、実行されないコードがいくつかバンドルされることになりました。Swiftに隠れたViewControllerを追加しました。
When you check a bunch of boxes, we decided to ship some code that does not run; we added a hidden view controller in Swift, without having users running it.通常、特にStoryboardを使用している場合は、ViewControllerが作成されるため、StoryboardとControllerに依存関係を渡す必要があるので、ちょっと難しくなります。
That is a little bit difficult because usually the view controllers, particularly if you are using a storyboard, are created for you, so you need to pass the dependencies to the storyboard and the controllers..何かクラスから切り離したいものがあるので、どこかにプレゼンテーションロジックをもつことになります。ひとつ以上のViewControllerでロジックを再利用したいからです。
You want to have some things separated from these classes, so you probably want to have your presentation logic somewhere else, because you want to reuse that logic in more than one view controller.まずFindボタンを選択し、右上のメニューから丸右矢印をクリック。"TouchUpInside"から図示のようにViewControllerへドラッグ&ドロップ。
Select the"Find" button and click circled-right-arrow from the menu on top-right, then drag& drop from"Touch Up Inside" on the list on the right side to the ViewController as depicted.TabBarControllerをエントリポイントに設定するには、「AttributeInspector」タブをクリックし、以下のように「IsInitialViewController」の横にあるボックスにチェックを入れます。
We will set the TabBarController to be the entry point by clicking on the Attribute Inspector tab and checking the box next to Is Initial View Controller like below.Feed2.0(6:35)メインゴールはViewControllerの継承関係を直すこと、フィードの複雑さを減らすこと、他のセルやデータモデルを使わせることです。
Feed 2.0(6:35) Our main goals were to fix that view controller inheritance, make the feed way less complicated, and also let people use different cells and data models.次に、ViewContollerクラスをMainViewControllerに設定する必要があります。これは、ベースプロジェクトで作成されたCordova対応のViewControllerで、PhoneGapAPIへのアクセスを提供します。
Next we will need to set the View Controller class to MainViewController, which is the Cordova-enabled View Controller class created in your base project and provides the access to the PhoneGap APIs.ロジックはViewModelにしかないので、ViewModelをテストするテストを作成し、テストでViewControllerや他の意味ないところをインスタンス化することはありません。
Since the only logic will be in your view models, you will write your tests to test the view models, and you will never have to instantiate view controls or other craziness in your tests.それで、カバレッジをみると、私たちが最後に変更した3つのもの、すなわちプログラマ、TableViewController、メモリリポジトリ、つまりDataPopulationとCloudKitリポジトリを使用していないものすべてです。
So if we go to the coverage, everything but the three last things that we changed, the programmers, table view controller, the memory repo, that is not using the data population and the CloudKitRepo.ちなみに、部品を区切る分割指針に関係して、再利用のしやすさでは定評のあるSmalltalkシステムを見ると、階層をなすオブジェクト群の構成を決めるために、MVC(modelviewcontroller)の三つに分割するのだという指針を採用している。
Incidentally, in relation to partitioning guidelines for the compartmentalization of components, a look at Smalltalk systems, recognized as making reuse easy, reveals they have adopted the guideline of three-way partitioning known as MVC(model view controller) for deciding the configuration of objects that form a hierarchy.これを行うには、新しいViewControllerが選択されていることを確認し、IdentityInspectorパネル(下の図で円で囲まれています)を開き、クラス名をMainViewControllerに変更します。
To do this, ensure the new View Controller is selected and then open the Identity Inspector panel(circled below) and change the class name to MainViewController.プログラムマネージャーがこのアプリケーションを再利用するように指示していて、お気に入りビューのステータスを変更を行うときは、DetailViewControllerからではなくTableViewControllerから行うというユースケースを用いているとしましょう。
Suppose the program manager has told us to reuse this application and they use the use case that is taking care of changing the favorites status but doing it from the table view controller, instead of the detail view controller..TheWorld」と呼んでいるコンセプトを採用していました。これはViewControllerがアイテムの配列、セクションへの入り方、適応のされ方、セルの動き方を知っているということです。
This used a concept we call"The World", where the view controller knows about the array of items, how those items get into sections, how those sections are configured, and how the cells populate.NETMVC(ModelViewController)は、関心の分離を確かに実現する動的なWebサイトを構築するためのパターンベースのツールセットであり、マークアップを完全に管理し、簡単かつ機敏な開発を実現します。
NET MVC(Model View Controller) is a patterns-based toolset for building dynamic websites that enables a clean separation of concerns and that gives customers full control over markup for enjoyable, agile development.
日本語
中文
عربى
Български
বাংলা
Český
Dansk
Deutsch
Ελληνικά
Español
Suomi
Français
עִברִית
हिंदी
Hrvatski
Magyar
Bahasa indonesia
Italiano
Қазақ
한국어
മലയാളം
मराठी
Bahasa malay
Nederlands
Norsk
Polski
Português
Română
Русский
Slovenský
Slovenski
Српски
Svenska
தமிழ்
తెలుగు
ไทย
Tagalog
Turkce
Українська
اردو
Tiếng việt