Hi,
I have created a test project as well and it works. The clipping of
your content might be caused by the settings in the IB - I have fixed
the margins for each object, what changed the behaviour of the
sizeToFit-command immediately to the desired result. BUT: The size to
fit command in
Hello, I have a view place in a superView which its setWantLayer to YES, also
this inner view its a layer backed, when I click the inner view I want to flip
it, so in the mouseDown of the view I implemented the flipped method making a
CATransfor3D to rotate over the y axis PI radians, so when I
This is a follow-up question of a more general nature related to :
Re: How do you set the text in an NSTextView?
On May 7, 2010, at 11:49 AM, Douglas Davidson wrote:
> On May 7, 2010, at 9:41 AM, Bill Hernandez wrote:
>
>> [textView insertText:myString];
>
> You don't want to call insert
On May 9, 2010, at 9:46 AM, Bill Hernandez wrote:
> and once the help window became available, up the Tasks section.
should have been :
and once the help window became available, open the Tasks section.
___
Cocoa-dev mailing list (Cocoa-dev@lists.a
On May 9, 2010, at 2:41 AM, Gustavo Pizano
wrote:
How can I make this view flip if I can't set up view's layer
anchorPoint at the very beginning?
You are not allowed to touch layers you don't create. If you have a
layer-backed view, its layer is off-limits.
--Kyle Sluder
_
Hello,
I don't know how can I cut a piece of an image and paste it in other image. And
more dificult, the second image is a button.
Does anybody know an example or something to do this?
thanks and regards
Jonathan Chacón___
Cocoa-dev mailing
On May 9, 2010, at 7:46 AM, Bill Hernandez
wrote:
The reason I ask insights on how to proceed, is that Cocoa is so
massive that you could spend years reading before you actually wrote
any code.
I think the insight here is the same one I had a few years ago: it is
insufficient to read t
On May 9, 2010, at 11:15 AM, "Jonathan Chacón"
wrote:
I don't know how can I cut a piece of an image and paste it in other
image. And more dificult, the second image is a button.
What have you tried? Break the problem down.
http://www.whathaveyoutried.com
--Kyle Sluder___
On May 9, 2010, at 11:15 AM, Jonathan Chacón wrote:
> I don't know how can I cut a piece of an image and paste it in other image.
> And more dificult, the second image is a button.
Are you simply asking how to put an image/icon inside of a button?
--
Seth Willits
___
On May 8, 2010, at 8:50 AM, Matthew Weinstein wrote:
1. I have an NSImageView which scales the image to fit, aligned
centered. My question is, how do I find the NSRect of the image in
the image view (as it does not fill the frame)?
NSRect scaledImageBounds;
scaledImageBounds.size.width =
On May 8, 2010, at 3:18 PM, Kenny Leung wrote:
> Hi All.
>
> I'm using CFNetwork APIs to create a cancellable web operation using the
> synchronous, non-blocking APIs like so:
[snip]
> This is fine once you've gotten to the point of pulling the response, but I
> would like the operation to a
I would really recommend using the asynchronous APIs instead. It avoids bad
behaviors like polling. Your current loop means you’re using CPU time even when
no data is arriving, and can also waste up to 100ms sleeping when there’s data
to read. And these make canceling pretty trivial since you’re
On May 9, 2010, at 11:15 AM, Jonathan Chacón wrote:
> I don't know how can I cut a piece of an image and paste it in other image.
Create a new temporary image the size of the selection.
Draw the original image into it, with the source and destination rects set up
so the selected area is drawn i
I'm having a simple scaling problem with CATextLayer, but i just couldn't
figure it out:
I want the CATextLayer to proportionally grow in size with it's superlayer:
if the superlayer's width is 300 the text size of CATextLayer should be 12 and
if the supeview's width is 600 the text size should b
On May 9, 2010, at 2:44 AM, "Julian." wrote:
I'm having a simple scaling problem with CATextLayer, but i just
couldn't figure it out:
I want the CATextLayer to proportionally grow in size with it's
superlayer:
if the superlayer's width is 300 the text size of CATextLayer should
be 12 and i
This has been, or is being updated.
The suggested pattern is now
- (id)init
{
self = [super init];
if (self)
{
}
return self;
}
All our documentation has been updated to reflect this (even if it hasn’t
necessarily made it out to the users yet)
On May 8, 2010, at 11:27 AM, jeremy w
Curious if anyone can confirm or deny a behavior of Core Data's managed object
context. I understand that there is the committed/real-deal state of an
on-disk, persistent store, and there is a managed object context (moc) that is
described as a "scratch pad" that builds up modifications to the
17 matches
Mail list logo