Question: I need to draw no more than 9 of the same image around an arc. I subclassed UiView already to draw a circle and several arcs with CoreGraphics. Now i need to draw these marker objects around it like a clock. I have already done this once in Android Java but have been having a hell of a time so far in Swift. 
I cobbled together this code from another answer and it draws the image but doesnt keep the transparency:

```
let imageName = "single_marker_vertical_high_res.png";
let image = UIImage(named: imageName);
let imageView = UIImageView(image: image!);
imageView.frame = CGRect(x: 0, y: 0, width: 25, height: 75);
imageView.draw(rect)

```

and this is called on the overridden draw function of the class.  

I am a noob when it comes to Swift as well, I have yet to find an example that shows the code and how to utilize it. For reference, this is what I need:  

[As it looks on Android](https://i.stack.imgur.com/V96iv.png) 
The tick marks on the top widget is what I need to draw, with transparency.

Answer: 
For anyone that comes into the same problem, it turns out that the sql mode is stored along with the stored procedure, so even though I have changed the sql mode correctly it doesn't update the SP at all. To fix this I just deleted and recreated the stored procedures while the new sql mode is set. It now works fine!
To fix this drop and recreate the stored procedures
it's working .

USE `your_schema_name`;
DROP procedure IF EXISTS `your_sp_name`;

DELIMITER $$
USE `your_schema_name`$$
CREATE PROCEDURE `your_sp_name`(IN `your_input` VARCHAR(50))
BEGIN

-- sp data here

END$$

DELIMITER ;