Skip to content

while (true) { }

notes from a developer, tutorials, how-to, ideas

Tag: color

Posted on 7 December 202016 November 2020

Swift – UIView gradient extension

Sometimes 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.

Continue reading “Swift – UIView gradient extension”
Posted on 15 July 201819 June 2018

Swift | macOS – How to make cool desktop apps using Cocoa

So, 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:

Continue reading “Swift | macOS – How to make cool desktop apps using Cocoa”

Posted on 28 June 201525 May 2018

[Objc] Get iOS device color

A simple trick, using private API to get the device COVER color!

Continue reading “[Objc] Get iOS device color”

Posted on 12 July 201025 May 2018

[C#] Get Pixel Color At X,Y

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:

Continue reading “[C#] Get Pixel Color At X,Y”


Recent Posts

  • Swift – Simple full screen loader 11 August 2022
  • macOS – Disable microphone while typing 11 April 2022
  • iOS – Secure app sensitive information 25 March 2022
  • DIY: Hack Weward for iOS 8 March 2022
  • Swift – Circular button bubbles with gravity 26 November 2021
  • Swift – Have fun with GravityBehavior and DynamicAnimator 19 November 2021

Archives

Proudly powered by WordPress