quartz-core Questions
2
Solved
self.layer.borderWidth = 0.5;
on a UIButton or UITextField render fine on a retina screen, but on a non-retina screen only the top and left borders render while the right and bottom borders do no...
Salazar asked 12/6, 2013 at 21:2
1
I need QuartzCore.framework to add borderColor to a textfield, how?
Temptation asked 11/10, 2014 at 19:41
3
Solved
I have this code in my project:
- (void) fadeImageView {
[UIView animateWithDuration:1.0f
delay:0
options:UIViewAnimationCurveEaseInOut
animations:^{
self.imageView.alpha = 0.0f;
}
complet...
Devisable asked 24/8, 2012 at 0:12
6
Solved
in my iPad app, I'd like to make a screenshot of a UIView taking a big part of the screen. Unfortunately, the subviews are pretty deeply nested, so it takes to long to make the screenshot and anima...
Hypotenuse asked 1/11, 2011 at 8:42
2
Solved
The entire block of code consists of the following:
CGSize layerSize = [webview sizeThatFits:CGSizeZero];
if ([UIScreen instancesRespondToSelector:@selector(scale)] && [[UIScreen mainSc...
Gallicanism asked 11/3, 2012 at 3:49
3
Solved
In the iOS7 notification centre, the labels (and the separator lines) have a very interesting background: the blur image, and what looks like the soft light blend mode.
I'm unsure what to search ...
Egad asked 26/11, 2013 at 11:47
1
Solved
Just stumbled across this today. I am getting warnings in Xcode 4.6 if I try to access the CALayer without importing <QuartzCore/QuartzCore.h>. The same however works fine in Xcode 5.
Ez asked 11/12, 2013 at 11:37
0
I attributed Text with different textcolors. For better readability on highlighted text i use backgroundcolor.
Is it possible to bring the CALayer Effect of Rounded Corners on this Textarea? Not t...
Sobriquet asked 2/10, 2013 at 18:30
3
Solved
I have a CAShapeLayer in which an arc is added using UIBezierPath. I saw a couple of posts (one actually) here on stackoverflow but none seemed to give me the answer. As said in the title I would l...
Ninos asked 16/9, 2013 at 19:36
2
Solved
I noticed, what CALayer, on iOS SDK haven't autoresizingMask property. I'm not sure what custom overloading of method "setFrame:" can work normally with animated sublayers autoresizing. Are there i...
Pathogenic asked 22/12, 2011 at 7:50
2
Solved
I'm trying to draw a simple line, the problem is that it is coming out not as 1 pixel in width but 2. The docs state that user space units will translate to a pixel, if I read it correctly.
The c...
Condorcet asked 27/8, 2013 at 0:11
2
Solved
I would like to rotate a UIView around a center point without rotating the UIView itself. So more like the cars of a ferris wheel (always staying upright) as opposed to the hands of a clock.
The ...
Cypripedium asked 7/8, 2013 at 19:21
2
Solved
I have troubles installing quartzcore on Xcode 4 regarding an iOS application. I just can't find the answer: how to do it? Because when I try to add Quartzcore to the targets of the project, it see...
Considered asked 5/8, 2011 at 12:41
3
Solved
I have a UIView that programmatically draws a "sunburst" pattern using UIBezierPath. Now I would like to extend this by masking the edges with a gradient -- effectively making each "burst" fade fro...
Muro asked 16/4, 2013 at 17:39
2
Solved
So I'm using the code below to apply a stroke (and fill) to text in a UILabel, and it's coming out like the image below. The stroke is heavier on one side than the other (look at the top of the let...
Neurosurgery asked 5/4, 2013 at 16:22
2
I have many CALayers which are created on the fly while my app is running, and I need to be able to produce a single bitmap of these, which will later be masked.
When I need to create the mask, t...
Insinuation asked 27/8, 2011 at 18:40
1
Solved
What I find interesting with CAReplicatorLayer:
It is able to display a CALayer multiple times with different transforms very efficiently (how?)
It seems like it somehow reuses the "backing store...
Loris asked 12/12, 2012 at 14:1
1
Solved
I am creating a PDF by taking a screenshot of a UIView, this is currently working great on the iPad3 with the retina display, but when testing on other devices with lower resolution screens I am ha...
Felicafelicdad asked 5/11, 2012 at 3:32
2
Solved
I'm parsing a SVG file to UIBezierPath. I'd like to know whether a CGPoint is inside or outside the UIBezierPath. To do this I use containsPoint:. When I run this in the simulator everthing works f...
Compander asked 19/9, 2012 at 7:9
1
Solved
I have a CALayer and I want to add to it a stretchable image. If I just do:
_layer.contents = (id)[[UIImage imageNamed:@"grayTrim.png"] resizableImageWithCapInsets:UIEdgeInsetsMake(0.0, 15.0, 0.0...
Phillane asked 31/7, 2012 at 20:13
2
Solved
I am trying to built an animated circle which would be drawn clockwise until it becomes complete circle as illustrated in iPhone Core Animation - Drawing a Circle
Problem is that CALayer object is...
Faucet asked 21/7, 2012 at 20:17
1
Solved
I've started using CATransform3D lately and it seems very nice. I just have 1 issue with the rotation though. I'm trying to rotate my view for 360˚ degrees to the right but if I just put pass 360 t...
Concurrent asked 20/7, 2012 at 0:54
3
Solved
I am somewhat curious for iOS apps development with Xcode, even though we specifically state:
#import <QuartzCore/QuartzCore.h>
in our ViewController.h, when the project is linked, the Qua...
Chlodwig asked 27/4, 2012 at 0:36
1
Solved
If I was interested in getting across game development on the iPhone/iPAD any suggestions on which technology(s) to start looking into? In fact just a simple bullet on each of these technologies th...
Roma asked 21/11, 2011 at 20:38
1
Solved
I actually stuck on a problem with animating a UILabel in my iOS Application.
After 2 days of searching the web for code snippets, still no result.
Every sample I found was about how to animate UI...
Shoelace asked 21/9, 2011 at 15:5
© 2022 - 2024 — McMap. All rights reserved.