Sometimes can be useful to add a gradient on a UIView. This simple UIView extension helps you “coloryze” your screen.
![](https://i0.wp.com/www.albertopasca.it/whiletrue/wp-content/uploads/2020/10/Schermata-2020-10-13-alle-15.34.51-552x1024.png?resize=318%2C590&ssl=1)
Let see how to use and how is implemented.
Read MoreSometimes can be useful to add a gradient on a UIView. This simple UIView extension helps you “coloryze” your screen.
Let see how to use and how is implemented.
Read MoreSo, what I want to share today is how to make windows with cool UI in a macOS application written in Cocoa/Swift.
This an example of what you see when create a new project from scratch in XCode and run it:
A simple trick, using private API to get the device COVER color!
Hello,
a simple trick for you to get pixel color on a particular position of your screen with Windows GDI32.dll API libs.
First of all, you need to import Win32 API: