Home > Web Front-end > JS Tutorial > body text

Why doesn't the constructor prompt in swift?

php中世界最好的语言
Release: 2018-03-13 09:31:17
Original
1369 people have browsed it

This time I will bring you why the constructor in swift does not prompt? , what are the precautions when using constructors in swift? The following is a practical case, let’s take a look.

I just got into Swift not long ago, and I watched videos on the Internet. I saw that when I typed UIImage(), the prompt code came out. When I typed UIImage() myself, there was no prompt at all. , various Google searches, but no answer was found.

Why doesnt the constructor prompt in swift?

##Finally, I watched the video carefully, and it turns out that there is something wrong with my spelling habits. UIImage( just needs to type out the left bracket ( Note: Do not type out the brackets on the right), the code will immediately prompt you. It turns out that your own habits have tricked you!

Why doesnt the constructor prompt in swift?

I believe you have mastered the method after reading the case in this article, please come for more exciting information Follow php Chinese website

Other related articles!

Recommended reading:

How to add a code block with prompt function

Commonly used WebStorm shortcut keys

The above is the detailed content of Why doesn't the constructor prompt in swift?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!