Display multiple images in a Mac app (Ikimagebrowserview controls use) (ii)

Source: Internet
Author: User

Display multiple images in a Mac app (Ikimagebrowserview controls use) (ii)

Then say a piece of article:

Also need to add in the library:

Quartzcore.framework

Quartz.framework

This will compile the pass.



The above is the file structure:

The above is the interface structure

A view, a picture class, and then a 2 delegate time, respectively, and class bindings,



Then select the view in the picture view control, generally this kind of control has 2 layers, to choose the inside that class.

The two delegates are then bound separately. One is the data source, one is the delegate

The control is then defined, within these two classes.

Then the specific operation is done in the data source.

The following is the effect of the operation.


You can select all, you can change the name, this requires you to modify the code.

Mainly in the Imageitem inside, add a few more properties, you can.

The above test is successful!

2014-11-13 by DMD


Display multiple images in a Mac app (Ikimagebrowserview controls use) (ii)

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.