I have a view that acts as a container for multiple CAShapeLayers. These contain bezier that form a composition on the screen that the user can manage ...
I have a view that acts as a container for multiple CAShapeLayers. These contain bezier that form a composition on the screen that the user can manage ...
I'm working on an app that includes the screen shown below. The panel with the list view is instantiated from a Nib, but the pale grey panel with the ...
I am writing a calendar view, I added three other views to its super view, so the calendar view should be on the topper layer, it looks fine on the si ...
I am trying to bring the focused collectionView cell to the front by setting the zPosition like in the code shown below. But that doesn't seem to have ...
I am building a card view - the selected card is on the top, the rest are on the bottom, stacked on top of each other. They all have the same supervie ...
Good evening, I have been trying to figure out how to fade a screen when I press a button in order to give a subview a more distinct appearance. I h ...
I've created a custom class that adds a badge to a UIButton. The badge itself is a UIImageView. The button can have a different UI for each state; whe ...
I did notice an issue on IOS 11 when using MKMapView. When I want to click on the button action from the pin dialog and there is another pin behind t ...
I want to keep a view always at the front. In Swift CGFLOAT_MAX and FLT_MAX are replaced with corresponding .greatestFiniteMagnitude. So, I used: ...
I'm new to programming in Swift. I'm trying to create a game where I have a bunch of sprites that move randomly around the screen. Let's say I have a ...
I want to change the zPosition of some tiles in my tile map. I use the following function to achieve this: When I use this function, the print sta ...
I have a UISplitViewController with a MasterViewController and a DetailViewController. In my MasterViewController i am adding a button with an target ...
I have reviewed countless references to try to understand why my scene is not behaving the way i expected it to, such as this. Here is my very simple ...
Background's zPosition is 1 and emitter node's is 2. Still background is on front. I even tried higher numbers, but it won't help. Code ...
I'm adding two SKSpriteNodes as children to another SKSpriteNode. The code looks like this: When I add the parentNode to my scene, the order of spr ...
I am having some problems with enum used for establish zPositiion in sprite Kit. Here is the enum: And then I am dividing my scene in different lay ...
I have a tableView where when I call viewForHeaderInSection before I return the cell. I have this code: Now this works in the sense that the cells ...
I searched trough SO and tried few examples, but I still can't understand this behaviour. On simulator 7.1 tap-through works, but on 8.1 don't work.Al ...
I created a GIF and it is basically snow particles falling and has a transparent background. Therefore I can have just snow flowing over my other PNGs ...
I am having an issue with the zPosition undesirably changing when a node is touched. I can't give a simple code example because currently my scene an ...