On Aug 6, 2011, at 6:26 PM, Graham Cox wrote:
On 06/08/2011, at 10:44 PM, James Merkel wrote:
True, I could just update the window. But that seemed like more
work than just going through the closing/opening cycle.
If this seems even remotely true, you're surely doing it wrong.
Hi,
I've occasionally noticed after upgrading to Lion that my exception
handling code no longer provides full stack trace, but only some
trimmed piece.
For example, I performed the following experiment. There is an
-emulateCrash: action method, implemented in MyWindowController,
attached to a
Thanks for sharing with the list.
I wonder what the purpose of NSURLConnection is in this solution? Aren't you in
effect throwing away the benefits of asynchronous loading? The NSInputstream
can block, and NSXMLParser presumably will. You will also have to deal with
events in several places,
The purpose of the NSURLConnection is to deal with HTTP… How else would you
propose dealing with it?
I'm not sure why you think this throws away benefits of async loading, can you
clarify that?
Thanks
Tom Davie
On 7 Aug 2011, at 12:47, Mikkel Islay wrote:
Thanks for sharing with the list.
On 07/08/2011, at 4:56 PM, James Merkel wrote:
updating of some text boxes in the same window.
But I have fixed that. I just needed an update method for the window
No you don't. Updating a text box is also automatic. There's almost never a
reason to update a window, views that come from
I've got a zombie appearing in the weirdest place in my program. Here is the
relevant part of the code, using generic names for the methods:
-(void)setUp;
-(void)start;
-(void)changeWords:(NSTimer*)theTimer;
-(NSArray *)wordsInPhrase:(NSString *)thePhrase;
@property (nonatomic, assign) int
For those interested, Matt and Kyle were right. Helvetica Neue Bold 20pts. All
my attempts to replicate the shadow have failed though. I'm using 85% white and
it's good enough for me.
Thanks to all,
Andre Masse
___
Cocoa-dev mailing list
On Aug 7, 2011, at 7:10 AM, Scott Steinman wrote:
I've got a zombie appearing in the weirdest place in my program. Here is the
relevant part of the code, using generic names for the methods:
First off, this isn;t a zombie issue. Zombies are objects that haven't died
though they should
On Aug 7, 2011, at 9:10 AM, Scott Steinman wrote:
-(void)setUp
{
words = [[self wordsFromPhrase:phrase]] retain];
[self start];
}
Is this your exact code? You use wordsFromPhrase: here but the method below is
wordsInPhrase:.
-(NSArray *)wordsInPhrase:(NSString *)thePhrase
{
On Aug 7, 2011, at 5:17 AM, Graham Cox wrote:
On 07/08/2011, at 4:56 PM, James Merkel wrote:
updating of some text boxes in the same window.
But I have fixed that. I just needed an update method for the window
No you don't. Updating a text box is also automatic. There's almost
never
On Aug 7, 2011, at 10:25 AM, Andy Lee wrote:
On Aug 7, 2011, at 9:10 AM, Scott Steinman wrote:
-(void)setUp
{
words = [[self wordsFromPhrase:phrase]] retain];
[self start];
}
Is this your exact code? You use wordsFromPhrase: here but the method below
is wordsInPhrase:.
-(NSArray
Is this really your code? There are some oddities that make me wonder.
Also, your subject line talks about NSZombie (an instance of a class that gets
substituted into an object when it is released, if you have NSZombieEnabled
set), but your complaint is that a property is nil when you don't
On Aug 7, 2011, at 7:17 AM, Graham Cox wrote:
Your implementation seems to be built on faulty assumptions about how
views/windows work, which in turn suggests you haven't read the documentation:
Ah. I see some of your points. Very dumb of me. I'm new to Cocoa, but I did
program in a number of other languages for 30 years. I apologize for not being
clear enough. Pain and nausea tend to mess up the clarity of my thinking.
Unfortunately, I'm ill most of the time (don't ask about my
On Aug 7, 2011, at 10:51 AM, Dr. Scott Steinman wrote:
I don't like to bother other people with my problems (besides, learning from
my mistakes was the way I learned before). Maybe with Cocoa this is a bad
idea.
Have you seen Hillegass's book on Cocoa. It's an excellent start for Cocoa
On 07/08/2011, at 10:52, Andre Masse wrote:
For those interested, Matt and Kyle were right. Helvetica Neue Bold 20pts.
All my attempts to replicate the shadow have failed though. I'm using 85%
white and it's good enough for me.
The shadow is just an inner shadow. The problem is that I
On Aug 7, 2011, at 4:47 AM, Mikkel Islay wrote:
I wonder what the purpose of NSURLConnection is in this solution?
To do the HTTP fetching. This is a PITA to get right if you implement it
yourself, if that’s what you’re thinking of.
Aren't you in effect throwing away the benefits of
On 7 Aug 2011, at 02:31, Graham Cox wrote:
I think you need to set the resizing mask for the layer as well - since
you're creating this yourself, it's your responsibility:
zCALayerRoot.autoresizingMask = kCALayerWidthSizable | kCALayerHeightSizable;
If you want the layer to redraw its
On Sun, Aug 7, 2011 at 1:05 PM, julius jul...@juliuspaintings.co.uk wrote:
It is not a problem with the layers.
I get exactly the same behaviour if I leave out all the layer stuff and
instead code the following in the view
Meaning, you still call -setLayer: and -setWantsLayer:, but don't do
On 6 Aug 2011, at 4:28 PM, Fritz Anderson wrote:
I have an NSPersistentDocument, with autosave-in-place enabled. When I try to
save the document after editing it, it balks with both application-modal
alerts and document-modal sheets, all with generic messages about being
unable to create
Interesting. Not sure if could be possible to convert the text to an image,
apply a gradient and use one of the copy method of NSImage. I needed a break
from coding data migration, hence the pause trying this. Now, I'm back to the
boring part ;-)
Looks like your image didn't pass the list.
On 08/08/2011, at 5:52 AM, julius wrote:
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
I didn't notice first time through that this is where your code resides
(sometimes the most obvious errors pass by when you're looking out for a more
subtle error). It's
Hi again,
Does anyone know what could cause my app to trigger this error in Console:
kernel: mcxalr{4} ** Denying execute for uid=504 appname
Any insight would be much appreciated thanks!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please
On Aug 8, 2011, at 10:04 AM, Rick C. wrote:
Hi again,
Does anyone know what could cause my app to trigger this error in Console:
kernel: mcxalr{4} ** Denying execute for uid=504 appname
Any insight would be much appreciated thanks!
___
Have you seen Hillegass's book on Cocoa. It's an excellent start for Cocoa
newbies.
I took Aaron's course about 10 years ago, but didn't have a chance to use Cocoa
since then due to job requirements. I lost a lot of my books recently in a
disaster (aren't you all getting tired of knowing
Hello, friends.
I'm trying to integrate Zinnia [1] on my iPad proyect. But I don't know how
to integrate a C++ library to my Objective-C proyect.
I've seen some tutorials on genereic integration of C++ and Objective-C++.
Can anyone help me? I'm quite lost.
Thanks.
[1]
I believe you posted this to xcode-users yesterday and got several useful
responses. Can you elaborate on your specific challenges?
(Sent from my iPhone.)
--
Conrad Shultz
www.synthetiqsolutions.com
On Aug 6, 2011, at 13:00, Claudio Ceballos Paz claudioceb...@gmail.com wrote:
Hello, friends.
Hello,
Under Tiger, Leopard, and Snow Leopard I use
CFURLWriteDataAndPropertiesToResource to store some data into a file.
On Lion the default permissions appear to have been upgraded almost
everywhere and consequently the code below isn't succeeding. Is it
possible to run the below code
On Sun, Aug 7, 2011 at 8:48 PM, Stephen Blinkhorn
step...@audiospillage.com wrote:
Hello,
Under Tiger, Leopard, and Snow Leopard I use
CFURLWriteDataAndPropertiesToResource to store some data into a file. On
Lion the default permissions appear to have been upgraded almost everywhere
and
It's a validation file containing registration details. My product is
an AudioUnit plugin so there's no App Store potential but I'd prefer
to keep things clean just in case.
I don't care where I write the file much (previously I wrote it to /
Library/Preferences) but even the hard drive
30 matches
Mail list logo