Light Source in swift

Hello guys, can anyone help me ... I'm not able to find a way to add a light source that I can add in my 2d pixel art game over the player. So that light can move when the player moves.

Light Source in swift
 
 
Q