Zst Internship IOS Code Step1

In order to understand better about the code of the project in zst ios project, first list the folder

  • in the huyihui folder
    • image
    • Third party
    • Sections
    • Controller
    • Model
    • Public
    • AppDelegate.h
    • AppDelegate.m
    • Main.storyboard
    • ViewController.h
    • ViewController.m
    • Images.xcassets
    • Supporting Files
    • Products
  • For the project is nearly finished, so I do not introduce the framework they use.

First in the Image folder

  • There are following pics
    • the login picture, the registe picture, the personal center picture, the general picture, the shopping picture, the first page picture, the search picture

Second in the Third Party folder

  • mainly used for the ailipay and the shared sdk
  • There is a class AGViewDelegate which is used for the sharing

Third in the Section folder

  • we can see the following

    • ButtonFactory
      • ButtonFactory.h
      • ButtonFactory.m
    • Buttons
      • CreateButton.h
      • CreateButton.m
    • SectionFactory.h
    • SectionFactory.m
    • ButtonMacro.h
  • And I think this folder is implement the factory mode

  • and most of the button is implement in the CreateButton.m file

Fourth in the Controller folder

  • Here comes the most importantone
  • we can see the following
    • BaseViewController.h
    • BaseViewController.m
    • Mediator
      • CoordinatingController.h
      • CoordinatingController.m
    • login_and_registe
    • first_page
      • firstpageandmore(is a tableview that used to show more about the product)
      • shopping()
        • (those that contrain cell.xib is use to define the layout of the cell of the tableview)
      • detailsoftheproduct()
      • tuangou
      • preferential_ticket
      • HomePageViewController.h
      • HomePageViewController.m
      • HomePageViewController.xib
      • NewProductCollectionView.xib
      • HomeCollectionHeader0.xib
      • HomeCollectionHeader1.xib
      • HomeCollectionHeader2.xib
      • OrdinaryProductImageDetailCell.xib
      • ProductImageDetailCell.xib
      • ProductConstants.h
    • search
    • shoppingcart
    • comment_and_share
    • me
      • AppRecommand

Fifth is the Model

  • we can see the following

Sixth is the Public

  • we can see the following
Comments

Comments