Implementing iPhone Store Kit while adhering to MVC convention -


I am trying to come up with good design while implementing the store kit.

The MVC is trying to follow the conference, I have the following

Model: Store Observer View: Some scenes that will display UI (product selection, etc.) Controller: My View Controller

Is My View Controller Update a Store Observer to Classroom and UI for Immediate Product Request Is It the Right Way to Do?

I am also having trouble creating a product request call due to precaution.

Thank you very much

You should look in the delegates You can create things due to breaking the MVC by defining a representative protocol that is in conformity with the acting object. Then you have to define the method defined in the representative protocol Calling on a representative method by call, the effect is an indicator like the object and calling one of its methods directly, but this is not the same - the quality Users are still decoded and by defining the protocol, you can define what you can do so that you do not end up failing with sections.

Action due to the object - call it - a The representative defines property as it is set to an object, B corresponds to the representative protocol. B needs to include the representative specification in its header, it To indicate that it is consistent with the protocol, and it needs to implement each method defined in the protocol (except for the ones defined in the alternative), one can call the methods in B when the protocol exposes them is. You do not end up with A pointer in A and B It is absolutely fine when A is pointing to how UITableView works, you probably have already used delegates.

In your case, the controller will make a store inspector, it will apply model methods for any notification, the model must be sent back to the controller. The model's representative is set to the controller and the controller can be notified for changes in the model (which can be used properly) so that the UI can be updated.


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -