For this project component, you will use the skills you gained in this unit’s study activities to implement the Smart Homes, Inc. store locator application’s user interface, allowing the user to browse the results returned from submitting search parameters in the search input interface. When the user taps the submit button to send the search parameters, the application should do the following: Your completed assignment should achieve the following: When complete, submit your assignment in the assignment area as a .zip file containing all of the files you created to build your solution. ****** Hint ****** All you need to do what the SHNetworkDelegate.h tells you to do, namely: /** * The following method retrieves an array of Store objects from the BBYOpen API. * * @param aZipcode The string representing the zipcode to retrieve stores for. * @param distance The string representing the distance radius in miles to search around the supplied zipcode. * @param delegate Any object that must conform to the protocol.  This object will be called back with an array returned by the BBYOpen API.  The relevant delegate method that must be implemented on your object is didRetrieveStores: * @see SHNetworkDelegate.h */ – (void)attemptRetrieveStoresWithZipcode:(NSString *)aZipcode distance:(NSString *)distance andDelegate:(id)delegate;

In this project component, your task is to implement the user interface for the Smart Homes, Inc. store locator application. The user should be able to browse the results returned from submitting search parameters in the search input interface.

When the user taps the submit button to send the search parameters, the application should perform the following actions:

1. Retrieve an array of Store objects from the BBYOpen API.
2. Pass the zipcode and distance parameters to the API.
3. Implement the necessary delegate method, “didRetrieveStores:”, to handle the array of stores returned by the API.
4. Display the retrieved store information on the user interface.

To accomplish this, you will need to create and configure the user interface elements, such as buttons, labels, and table views. The user should be able to enter the zipcode and distance in input fields, and tap the submit button to initiate the search.

Upon tapping the submit button, you will need to call the “attemptRetrieveStoresWithZipcode:distance:andDelegate:” method provided in the “SHNetworkDelegate.h” file. This method takes the zipcode, distance, and delegate object as parameters. The delegate object must conform to the SHRetrieveStoresDelegate protocol and implement the “didRetrieveStores:” method.

The “attemptRetrieveStoresWithZipcode:distance:andDelegate:” method will handle the network request to the BBYOpen API. It will fetch the store information based on the supplied parameters and return the results in an array. This array will be passed to the “didRetrieveStores:” method of the delegate object.

Your task is to implement the “didRetrieveStores:” method in your object. This method will be called when the store information is successfully retrieved from the API. You need to handle this array of stores appropriately, such as displaying the store names, addresses, and other relevant information on the user interface.

Once you have successfully implemented the user interface and the necessary delegate method, you can test your application by entering different search parameters and verifying that the correct store information is displayed.

Please ensure that when you submit your assignment, you include all the files that you have created to build your solution in a .zip file.

Remember to refer to the “SHNetworkDelegate.h” file for the specific details of the “attemptRetrieveStoresWithZipcode:distance:andDelegate:” method and the SHRetrieveStoresDelegate protocol.

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadline.


Click Here to Make an Order Click Here to Hire a Writer