On Sep 10, 2010, at 10:50 PM, Richard Somers wrote:
> I have a custom view where this behavior is undesirable. How can I disable
> this view from receiving mouse events when the window is inactive and the
> user uses the command key with the mouse?
You want -acceptsFirstMouse:.
http://develop
I just noticed that when you hold down the command key over an
inactive window and click and drag the mouse, the window will receive
mouse events. You can move the window, use the tool bar, select text,
interact with views, etc. Almost what ever you can do when the window
is active with a m
Hello,
Somebody have a good material about TDD in Cocoa?
Actually I found on Apple's site about OCUnit but I would like to know what you
guys use. I also would like to know if somebody have any sugestion about tools
for acceptance/integration tests .
Thanks again.
Sent from my iPhone___
Hi Ken,
Thanks so much. I will look into -interiorBackgroundStyle. That sounds like the
key. Meanwhile, we will modify our images to work correctly. I've built an
image tester and many of them work well and I think we can fix those that don't.
Thanks again
Marc
El Sep 10, 2010, a las 6:03 PM,
On Fri, Sep 10, 2010 at 10:58 AM, Marc Respass wrote:
> Hi,
>
> I have a need for a lot of different template images in my apps. I have
> worked with my artist but she is not sure how to build a template image. We
> have both researched it and we are not finding much good information. The
> docs
Thanks Ken and Dave.
Regards,
Phil
On Sep 10, 2010, at 5:19 PM, Ken Thomases wrote:
> On Sep 10, 2010, at 4:11 PM, Dave Carrigan wrote:
>
>> On Sep 10, 2010, at 1:08 PM, Philip Vallone wrote:
>>>
>>> Thanks for the prompt replay.
>>>
>>> Ok I added autorelease:
>>>
>>> PinDetailsView *de
On Sep 10, 2010, at 4:11 PM, Dave Carrigan wrote:
> On Sep 10, 2010, at 1:08 PM, Philip Vallone wrote:
>>
>> Thanks for the prompt replay.
>>
>> Ok I added autorelease:
>>
>> PinDetailsView *detailsView= [[[PinDetailsView alloc]
>> initWithFrame:CGRectMake(0, 0, 270, 420)]autorelease];
>>
>>
On Sep 10, 2010, at 1:08 PM, Philip Vallone wrote:
>
> Thanks for the prompt replay.
>
> Ok I added autorelease:
>
> PinDetailsView *detailsView= [[[PinDetailsView alloc]
> initWithFrame:CGRectMake(0, 0, 270, 420)]autorelease];
>
> Is this a correct way to release the object, or should I
On Sep 10, 2010, at 1:11 PM, Dave Carrigan wrote:
> On Sep 10, 2010, at 1:05 PM, Dave DeLong wrote:
>> *Unless the documentation says otherwise. Consider, for example, +[NSData
>> dataWithBytesNoCopy:...].
>
>
> True, although that particular method is taking ownership of a buffer, not of
>
On Sep 10, 2010, at 1:05 PM, Dave DeLong wrote:
> *Unless the documentation says otherwise. Consider, for example, +[NSData
> dataWithBytesNoCopy:...].
True, although that particular method is taking ownership of a buffer, not of
an object. I would be curious if there are any APIs that actuall
Thanks for the prompt replay.
Ok I added autorelease:
PinDetailsView *detailsView= [[[PinDetailsView alloc]
initWithFrame:CGRectMake(0, 0, 270, 420)]autorelease];
Is this a correct way to release the object, or should I use
[detailsView release];
Or is either acceptable?
Thanks,
On Sep 10,
*Unless the documentation says otherwise. Consider, for example, +[NSData
dataWithBytesNoCopy:...].
Dave
On Sep 10, 2010, at 2:03 PM, Dave Carrigan wrote:
> Nothing can ever take ownership from you
smime.p7s
Description: S/MIME cryptographic signature
On Sep 10, 2010, at 12:57 PM, Philip Vallone wrote:
> If I create a view and add it to my superview, am I no longer the owner and
> do not have to release it?
That's not how cocoa memory management works. Nothing can ever take ownership
from you; if you own something, you have to release it. If
Hi,
If I create a view and add it to my superview, am I no longer the owner and do
not have to release it?
PinDetailsView *detailsView= [[PinDetailsView alloc]
initWithFrame:CGRectMake(0, 0, 270, 420)];
detailsView.backgroundColor = [UIColor whiteColor];
CGRect frame = details
On Sep 10, 2010, at 12:52 PM, Carter R. Harrison wrote:
> I'm working on a app that establishes a network connection using NSStream. I
> found though that the code does not behave very well when it is trying to
> connect to an unreachable IP address or an IP address that just isn't
> accepting
My SOAP request is coded like this:
#pragma mark -
#pragma mark SOAP method
- (void)sXMLRequest:(NSString *)message {
WSMethodInvocationRef soapCall;
NSDictionary *params = [NSDictionary
dictionaryWithObjectsAndKeys:message, @"sXMLRequest", nil];
NSDictionary *result;
Hi,
I have a need for a lot of different template images in my apps. I have worked
with my artist but she is not sure how to build a template image. We have both
researched it and we are not finding much good information. The docs on
template images say to use "black" and "clear" in the image b
Hey Folks,
I'm working on a app that establishes a network connection using NSStream. I
found though that the code does not behave very well when it is trying to
connect to an unreachable IP address or an IP address that just isn't accepting
connections on the port I have specified. The code
On Sep 10, 2010, at 2:13 AM, Johan Rydberg wrote:
> I'm researching the drag and drop facilities in NSTableView.
>
> Since there's no "commit drag" method in the data source protocol, is it
> possible to do a move operation between two tables with different data
> sources? If so, when and how i
I have developed a Cocoa application that communicates with a server via SOAP
messages. On some Macs the SOAP requests sometimes fails, in that the SOAP
requests sent never reaches the destination. And when this happens, all SOAP
messages sent never gets a response back. The server never see the
I'm researching the drag and drop facilities in NSTableView.
Since there's no "commit drag" method in the data source protocol, is it
possible to do a move operation between two tables with different data
sources? If so, when and how is the row removed from the drag data source?
All examples I'
Hi Keith,
If you can reproduce this, even for one time, add a breakpoint on NSLog and you
can get the backtrace for the offending problem. Post it back here to the list
and we can give suggestions on how to fix it.
Clark pointed out the major entry points of problems. In addition, people
somet
Op 9 sep 2010, om 21:58 heeft Remco Poelstra het volgende geschreven:
> I'm looking for some way to generate a tone that resembles the sound of an
> instrument. I need precise control of the base frequency (pitch). I'm
> wondering what would be the best way to generate it on an iPhone.
> Store a
On Sep 10, 2010, at 1:19 AM, vincent habchi wrote:
> Le 9 sept. 2010 à 21:58, Remco Poelstra a écrit :
>
>> I'm looking for some way to generate a tone that resembles the sound of an
>> instrument. I need precise control of the base frequency (pitch). I'm
>> wondering what would be the best wa
Le 9 sept. 2010 à 21:58, Remco Poelstra a écrit :
> I'm looking for some way to generate a tone that resembles the sound of an
> instrument. I need precise control of the base frequency (pitch). I'm
> wondering what would be the best way to generate it on an iPhone.
> Store a file with a know fr
25 matches
Mail list logo