Questions tagged [layer]

This tag is ambiguous. Consider using more specific tags to better reflect the question's content.

This tag is ambiguous. Consider using more specific tags to better reflect the question's content.

If the question relates to Geographic Information Systems, consider whether the question is better suited to the GIS Stack Exchange.

2129 questions
9
votes
3 answers

How to recognize tap gesture while a view is animating

Just wondering is there way to have a view recognize tap gestures while it is being animated? I am working on a view that has a cashapelayer line tethered to it. When the user pans the view (pan gesture) the line follows accordingly until the user…
johnnyd
  • 101
  • 1
  • 3
9
votes
4 answers

Square shaped layout border with round inside edges

I’m attempting to create a layout border with corners that are square on the outside and round on the inside. I’ve gathered that I need to create an .xml drawable definition composed of two shapes: one with a stroke width and corner radius and…
jchristof
  • 2,794
  • 7
  • 32
  • 47
9
votes
3 answers

Updating aws lambda layer dependencies

The situation is that I have a load of aws lambda functions (using node js 8.10) that all do something very different and they're all deployed using CloudFormation. They all share a few functions which are very complex. At the moment, if the common…
9
votes
1 answer

Simulating an image floating effect using CoreMotion/DeviceMotion on the iPhone

I have a series of images within a ViewController. I am "floating" them by transforming their individual layers: img.layer.transform = CATransform3DMakeTranslation(0.0f, 0.0f, myZ); This gives the effect of making the layers float above the screen…
Jeffrey Berthiaume
  • 4,054
  • 3
  • 35
  • 45
9
votes
2 answers

Should DAO's validate the input

since DAO layer is typically responsible for accessing data from DB given certain input (like a user_id etc), should it concern itself with checking the validity of its input? E.g. if there's a DAO method to fetch a user based on user_uid, which is…
shrini1000
  • 7,038
  • 12
  • 59
  • 99
9
votes
3 answers

Draw hole on UIBlurEffect

Xcode 8.0 - Swift 2.3 I have an internal extension to create blur layer that works great: internal extension UIView { /** Add and display on current view a blur effect. */ internal func addBlurEffect(style style:…
Luca Davanzo
  • 21,000
  • 15
  • 120
  • 146
9
votes
2 answers

Comparing Layer, Applozic, Quickblox & SendBird for quick WhatsApp like messaging in an Android App

We at Wishbook have a B2B mobile application (Android & iPhone), wherein we are looking to implement Text & photo communication - between users 1-to-1, or from a user to his group of buyers. We are keen on something that can get us upto speed ASAP,…
Wishbook
  • 101
  • 1
  • 4
9
votes
2 answers

call service vs dao from another service

I have User And Role entities and Service, DAO layers for them. I need Role list from UserService. Which layer should I use from UserService? Call list method of RoleService vs RoleDAO? Which one is common use and why?
Erlan
  • 2,010
  • 1
  • 22
  • 31
9
votes
4 answers

can we give

can we give div tag within un order list tag.............. it will be in this format
  • blablabla
  • Is it Possible
    Mubeen
    • 2,426
    • 9
    • 30
    • 30
    9
    votes
    1 answer

    CABasicAnimation start from current layer position

    This is my second week of Obj-C programming and I'm facing a little problem with animating. I use this animation: CABasicAnimation *fullRotation = [CABasicAnimation animationWithKeyPath:@"transform.rotation"]; fullRotation.toValue = [NSNumber…
    Joseph
    • 149
    • 1
    • 2
    • 7
    9
    votes
    1 answer

    adding a image to layerlist item with shape

    i have a xml as below i trying to add a image from drawable folder but its not working. this is where i need to add image from drawable folder
    Goofy
    • 6,098
    • 17
    • 90
    • 156
    9
    votes
    1 answer

    Font Size and Type not applying with CATextLayer

    I am trying to modify the font properties of a text within a layer but it does not happen. Could anyone help out? Please find code below: - (id)initWithFrame:(CGRect)frame { self = [super initWithFrame:frame]; if (self) { // All…
    Armand
    • 435
    • 1
    • 11
    • 23
    8
    votes
    3 answers

    Inkscape command line programming

    I'd like to be able to derive new images from a pre-existing image from the command line. To do that, I'd turn on/off specific layers that have portions of the image and then save the resulting image to a file. However, while I can see a number of…
    Brian
    • 372
    • 1
    • 4
    • 12
    8
    votes
    3 answers

    How does Udacity create presentation where the text is in front and video in back? See pic

    How does Udacity.com (new learning website) create presentation where the text is in front the video is in back? Is there any specific software they use to prepare the presentations?
    Cory
    • 14,865
    • 24
    • 57
    • 72
    8
    votes
    5 answers

    Presentation, Business and Data Layer

    I just started programming in C# and was reading about dividing your application / website into the three different layers was the best practice but I am having a hard time understanding exactly how. Im working on a pet project to lean more about C#…
    Jon H
    • 273
    • 2
    • 5
    • 14