0

About this problem my previous question is that. How to Access Multiple Classes data in One MainClass? Now to make my problem more clear i provide source code here SourceCode. As my source Code show i declare all the classes in my mainclass and my coding is in my mainclass.But i want to place all my mainclass code to its related class that i create in my application.For Exp Code related to first Class i want to place all there and Code related to Second Class place in Second Class.Now problem for me is that if i place all code to its related Classes then how we can access these Classes.Any Help will be appriated?

4

1 に答える 1

1

テーブルを追加する場合は、メイン クラス/コントローラーのビュー。次に、テーブル/ビューのサブクラスとして他のすべてのオブジェクトを作成し、xib からクラス名を変更します。

UIViewのサブクラスとして、最初のビューと2番目のビューを変更したサンプルです。

メインクラスで作成したアニメーションは、その機能を実行するために必要なビュー/オブジェクトを渡すことで、ファーストクラスまたはセカンドクラスから作成しました。

私が行った変更を確認してください。

于 2012-09-10T13:16:57.273 に答える