Quincey, thanks for the quick reply!
As you suggested I tried the different options (putting a button cell in IB)
and also returning with a non-nil cell for the NSOutlineView…but I'm not quite
sure what you mean:
Do I need to remove the "buttonColumn" and have only one column ? And then
generat
A good while back, I asked a question about how to get from a byte offset to a
line number:
http://www.cocoabuilder.com/archive/cocoa/276690-debugging-stack-traces.html
Does this information still hold for the latest tools, i.e. LLVM and debugger?
Is it possible to extract the relevant line wi
Graham Cox wrote on Mon, 3 Oct 2011
at 23:59:15 +1100 in <04d75b8e-913f-4ea0-b9af-403d73b19...@bigpond.com>:
> Is it possible to extract the relevant line without actually running
> the code in the debugger? I ask because I have a situation where I
> have a crash report (with byte offset), I als
On Oct 2, 2011, at 9:37 PM, Don Quixote de la Mancha wrote:
>>> No, that's not something that the deployment target affects. The whole
>>> point of specifying one version via the SDK but an earlier version via
>>> deployment target is that you can use the features of the later version
>>> cor
Hello,
I have a question about release/retain and properties. Now I get the
whole "if you allocate it, you have to release
it", but with properties I need some clarification. I'm using an
AVAudioPlayer to play a sound, and I'm initializing
it in the viewDidLoad by calling a routine to get the sound
At 10:14 AM -0400 10/3/11, John Tsombakos wrote:
@interface AudioPlayerViewController : UIViewController {
AVAudioPlayer *audioPlayer;
}
@property (retain) AVAudioPlayer *audioPlayer;
In the .m file:
@synthesize audioPlayer;
in viewDidLoad:
audioPlayer = [self getSoundFile:"soundfile.wav"];
You
Not enough morning coffee for you,
On Oct 3, 2011, at 7:29 AM, Steve Sisak wrote:
> You do, indeed want:
>
> self.audioPlayer = [self getSoundFile:"soundfile.wav"];
>
> or
>
> [self setAudioPlayer = [self getSoundFile:"soundfile.wav"]];
I think you meant [self setAudioPlayer:[self getSoundFil
On Mon, Oct 3, 2011 at 10:29 AM, Steve Sisak wrote:
>> At 10:14 AM -0400 10/3/11, John Tsombakos wrote:
>> @interface AudioPlayerViewController : UIViewController {
>> AVAudioPlayer *audioPlayer;
>> }
>> @property (retain) AVAudioPlayer *audioPlayer;
>>
>> In the .m file:
>> @synthesize audioPlaye
Recently, a rather ordinary document-based application that I've been working
on started misbehaving in the following way: If I create a new document, put
some text into it, save it, and then try to open it again, I get a
"EXEC_BAD_ACCESS" error. I spent a lot of time trying to find the bug th
On Oct 3, 2011, at 09:38 , Boyd Collier wrote:
> 6. Select Open... from the file menu
>
> Often, I get the following results :
[…]
> On the 4th line, above, the message ' Thread 7: Program received signal:
> "EXEC_BAD_ACCESS". ' is displayed.
> In the area showing threads, Thread 7 reads "TFSV
Am 03.10.2011 um 16:14 schrieb John Tsombakos:
> audioPlayer = [self getSoundFile:"soundfile.wav"];
> ...
>
> in getSoundFile routine:
> AVAudioPlayer *snd;
> ...
> snd = [[[AVAudioPlayer alloc] initWithContentsOfURL:url error:&error]
The question was already answered, but I wanted to point out
On Oct 3, 2011, at 10:14 AM, John Tsombakos wrote:
> (and will also change to use the underscore ivar names too - I had done that
> previously, but...well, didn't this time.)
I recommend using some other prefix system instead of the underscore, for two
reasons:
1. Apple reserves the underscore
On Mon, Oct 3, 2011 at 11:23 AM, Charles Srstka
wrote:
> 1. Apple reserves the underscore prefix for their own use, so you could, at
> least theoretically, clash with a superclass ivar this way, and
[snip]
>
> 3. If I use an ivar prefix that no one else uses (as far as I know), then I
> can ma
On Oct 3, 2011, at 01:36 , Gilles Celli wrote:
> As you suggested I tried the different options (putting a button cell in IB)
> and also returning with a non-nil cell for the NSOutlineView…but I'm not
> quite sure what you mean: Do I need to remove the "buttonColumn" and have
> only one column
On Oct 3, 2011, at 1:31 PM, Kyle Sluder wrote:
>> 1. Apple reserves the underscore prefix for their own use, so you could, at
>> least theoretically, clash with a superclass ivar this way, and
>
> [snip]
>
>>
>> 3. If I use an ivar prefix that no one else uses (as far as I know), then I
>> ca
I am trying to change the name of the application menu (terminology?). I have
subclassed NSApplication and in its awakeFromNIb I setTitle on the IBOutlet
NSMenuItem that is connected to this menu.
It does not change. Can this be done? If so, where? I have also tried to
setTitle in the app dele
On Mon, Oct 3, 2011 at 4:25 PM, koko wrote:
> I am trying to change the name of the application menu (terminology?). I have
> subclassed NSApplication and in its awakeFromNIb I setTitle on the IBOutlet
> NSMenuItem that is connected to this menu.
>
> It does not change. Can this be done? If so,
Thanks Kyle ... I was afraid of that.
Do you know why this is the case?
-koko
On Oct 3, 2011, at 5:37 PM, Kyle Sluder wrote:
> On Mon, Oct 3, 2011 at 4:25 PM, koko wrote:
>> I am trying to change the name of the application menu (terminology?). I
>> have subclassed NSApplication and in its a
On 04/10/2011, at 10:46 AM, koko wrote:
> Do you know why this is the case?
Because it's a crazy notion?
Why would you have an app named "foo" that is displayed as "bar"? Consistency
is presumably what is being strived for here, in order to keep the poor user
from getting confused. That menu
To be pedantic: You _can_ customize the title of the app menu at build time, by
changing the CFBundleDisplayName property in the app’s Info.plist. (You can
also change this in the strings file for the plist if you want the value to be
language-dependent.) This is pretty commonly done for apps th
I am shamed for not realizing the consistency issue. Where is my scarlet C!
Thanks Graham!
-koko
On Oct 3, 2011, at 5:54 PM, Graham Cox wrote:
>
> On 04/10/2011, at 10:46 AM, koko wrote:
>
>> Do you know why this is the case?
>
>
> Because it's a crazy notion?
>
> Why would you have an a
I've been receiving reports of this rare but persistent crash over the past few
years, and I've never been able to reproduce it or figure out what's causing it.
They often look exactly like the stack trace below, but sometimes it's
different, happening at a different time. The thing they all ha
Hi All,
Can some one let me know if it is possible to set a NSPathControl using a
NSString. I tried the follwong.
NSString *Node1 = @"Test1";
NSString *Node2 = @"Test2";
[rootSubRootPath setURL:[NSURL URLWithString:[NSString
stringWithFormat:@"/%@/%@", Node1, Node2]]];
Here rootSubRootP
On Oct 3, 2011, at 20:20 , Sandeep Mohan Bhandarkar wrote:
> Can some one let me know if it is possible to set a NSPathControl using a
> NSString. I tried the follwong.
>
> NSString *Node1 = @"Test1";
> NSString *Node2 = @"Test2";
>
> [rootSubRootPath setURL:[NSURL URLWithString:[NSString
> s
On Oct 3, 2011, at 10:20 PM, Sandeep Mohan Bhandarkar wrote:
> Hi All,
>
> Can some one let me know if it is possible to set a NSPathControl using a
> NSString. I tried the follwong.
>
> NSString *Node1 = @"Test1";
> NSString *Node2 = @"Test2";
>
> [rootSubRootPath setURL:[NSURL URLWithString
Tried doing the same with the value bindings and it seemed to work.
On Oct 3, 2011, at 8:41 PM, Quincey Morris wrote:
> On Oct 3, 2011, at 20:20 , Sandeep Mohan Bhandarkar wrote:
>
>> Can some one let me know if it is possible to set a NSPathControl using a
>> NSString. I tried the follwong.
>
On Oct 3, 2011, at 18:29 , Seth Willits wrote:
> I've been receiving reports of this rare but persistent crash over the past
> few years, and I've never been able to reproduce it or figure out what's
> causing it.
One thing you could do, if you have an actual crash dump to examine, is to work
Finder icon badging ('badg' resource) is not that much use these days because
most file icons are no longer static but are generated by QuickLook on the fly,
except in the smallest of views. QuickLook does not honour the 'badg' resource,
I've been told.
Another reason that a badg resource is no
On Mon, Oct 3, 2011 at 2:01 PM, Andreas Mayer wrote:
>
> Am 03.10.2011 um 16:14 schrieb John Tsombakos:
>
>> audioPlayer = [self getSoundFile:"soundfile.wav"];
>> ...
>>
>> in getSoundFile routine:
>> AVAudioPlayer *snd;
>> ...
>> snd = [[[AVAudioPlayer alloc] initWithContentsOfURL:url error:&erro
29 matches
Mail list logo