Environment: 'reference' rather than 'garbage collection'.
Instruments tells me that I have a Foundation leak:
Leaked Object,# Address SizeResponsible Library Responsible Frame
Malloc 176 Bytes, 0x86e290176 Foundation
-[NSNotificationCenter
I am not sure if this is a question for Cocoa-dev or for Xcode.
I just started playing around with iOS 4 and Xcode 4. Learning the ropes of
the new Xcode I see a difference in how the project templates are used to
create a simple Cocoa window app in iOS versus Mac OS X.
With iOS, the app
On 3 Jul 2011, at 12:49 PM, Phil Hystad wrote:
I just started playing around with iOS 4 and Xcode 4. Learning the ropes of
the new Xcode I see a difference in how the project templates are used to
create a simple Cocoa window app in iOS versus Mac OS X.
With iOS, the app delegate handler
I am trying to write an application that needs to plot some data and draw lines
between the points.
The code I am using is:
for(index = 0; index (limit - 1); index++)
{
[NSBezierPath setDefaultLineWidth: 4 * MIN(unitSize.height,
On Jul 3, 2011, at 1:48 PM, Dale Satterfield wrote:
Lines with sufficient slope always draw in Black(the set color), and the
specified width. However if the slope is low enough they print thinner, and
in a different color.
This is an example:
The image didn’t show up, but you’re probably
Thanks Jens,
I have tried that and it does not change the appearance. One thing I did do
after trying that was to turn anti-aliasing off. That does make a difference.
But does not solve all the problems.
I started with the code in XCode3 Unleashed in chapter 13 which plots points.
On page 193
Hi Motti,
I would be very interested to know how you resolved this issue, if at all.
I'm suddenly facing the same issue, out of no-where. Instead of trying
to find the source of the problem, I just reverted to the last known
working version (svn), but the warnings persist.
This surprises me a
Hello, all!
Happy 4th of July weekend!
I am currently learning Cocoa/Objective C with XCode 4.0.2 and the 10.6 SDK.
I had started to learn a few Cocoa bits way back when it first showed up
with 10.0 preview (thanks to the student developer program) but ended up
spending most of my programming
On Jul 3, 2011, at 5:39 PM, Dale Satterfield wrote:
Hopefully this image will show in your email. Note that the horizontal lines
though much thinner, at least now show up as black with the anti-aliasing
turned off. I still have to have anti-aliasing on,
so I still have the problem, as
On Jul 3, 2011, at 9:00 AM, Benjamin Dubois wrote:
It looks like when I run the app, my bundled image is scaled down to about
75% of it is actual size.
The resolution of the image is probably set to greater than 72dpi. Take a look
at it in the Preview app’s Info pane. To fix this, either use
On Jul 3, 2011, at 09:00, Benjamin Dubois wrote:
NSString* imageName = [[NSBundle mainBundle]
pathForResource:@image1 ofType:@png];
NSLog(@imageName:%@,imageName);
NSImage* tempImage = [[NSImage alloc] initWithContentsOfFile:imageName];
It's a whole lot easier
Hi,
I have a view with a subview. The subview is rotated by a drag operation, when
I change the subview transform property.
Now I'm trying to set the view as observer of subview transform property, like
this:
[subView addObserver:self forKeyPath:@transform
On Jul 3, 2011, at 9:40 PM, Tales Pinheiro De Andrade wrote:
I have a view with a subview. The subview is rotated by a drag operation,
when I change the subview transform property.
Now I'm trying to set the view as observer of subview transform property,
like this:
UIKit doesn't promise
13 matches
Mail list logo