Lan Yi iOS Training log 14 test day and test summary

Source: Internet
Author: User

Yesterday the exam, the morning teacher gave the topic, we do. The afternoon explained each question. There is really a leak to fill the feeling, some of the details of the place is ignored by their own exposure.

The first is the exam topic, as follows:

In the Tableviewcontroller inside shows 10 lines each row shows, 1th title 2nd title 3rd question 4th question ....

1. Add a text input box in the interface and a label and a button text box can only enter a number and limit the user can not enter 8, click on the button to display the contents of the text box in the label.

2. Add a scrollview in the interface, the inside full screen display 5 pictures, run up to show is the third, the interface to add a pagecontrol control switch picture

3. In the left and right side of the navigation bar, add a button to click the Left button when the console output "left" click on the right button when the console output "right"

4. Add a button button's title at random position in the interface every 1 seconds to show yourself as the first few

5. Add a slider and Progressview in the interface drag the slider to let Progressview follow the move

6. Add a Segmentedcontrol inside the interface display Andy Lau, Jacky Cheung, Dawn, Aaron Kwok, click on any one in the console output this button corresponding to the name

7. Add a picture display at random location every 0.1 seconds in the interface no limit to clear the screen every 5 seconds

8. Display 9 different picture sizes in the interface the same line has three filled screen

9. Add a picture to make this picture turn around the edge of the screen

Here are some of your own summaries:

1. Forget how the timer was written

Nstimer Scheduledtimerwithtimeinterval ...

2. Limit the text input box cannot enter certain strings or what strings must be used, etc. methods to use the delegate inside the TextField control need to use angle brackets to declare <UITextfieldDelegate> reuse the method inside

3. Add button Uibarbutton *xxx= in navigation bar ...

Self.navigationItem.left (right) Button =xxx

You can also add an array here to show a few buttons next to each other

4.button Settings Displays the title

BTN Settitle: String Forstate: Enumeration

5. Add a picture display at random location every 0.1 seconds in the interface no limit to clear the screen every 5 seconds

Put the add all picture into an array clear screen is to iterate over the array to remove each image from the Superview and then empty the array.

[Array Removeallobject];

Lan Yi iOS Training log 14 test day and test summary

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.