> Yep, I'm aware of the setWantsLayer/setLayer order making a difference.
>
> In my case I want a layer-hosting view, not a layer-backed view.
>
> However, my question isn't really about that, but about what is done when you
> check the box next to the layer in Interface Builder, in the 'setWant
Hi all
I just started using @properties this week, so probably don't understand the
nuances, but after looking at Matt's sample code, reading the property related
docs and doing some experimentation, I'm not sure I understand what problem
he's trying to solve. Is he talking about overriding inh
Hi again,
I have used the delegate method
tableView:toolTipForCell:rect:tableColumn:row:mouseLocation: and it's working
fine except on first try. So for example I click a button which launches a
panel with my tableview and I move my mouse to hover over a cell and no
tooltip. Now if I scroll
Hi folks
Le 22 juin 2011 à 08:58, Ken Tozier a écrit :
> I just started using @properties this week, so probably don't understand the
> nuances, but after looking at Matt's sample code, reading the property
> related docs and doing some experimentation, I'm not sure I understand what
> problem
On Jun 22, 2011, at 3:23 AM, Joanna Carter wrote:
> Hi folks
>
> Le 22 juin 2011 à 08:58, Ken Tozier a écrit :
>
>> I just started using @properties this week, so probably don't understand the
>> nuances, but after looking at Matt's sample code, reading the property
>> related docs and doing s
Possibly Radar 5847161 - Tooltip on NSTableView does not appear on newly
selected cell
Summary:
If an NSTableView has a delegate that implements
tableView:toolTipForCell:rect:tableColumn:row:mouseLocation:, tooltips will not
appear when a cell is selected and the mouse is not moved.
Apple's r
It's a variation on this pattern, from the "The Objective-C Programming
Language":
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/ObjectiveC/Chapters/ocProperties.html#//apple_ref/doc/uid/TP30001163-CH17-SW1
Mikkel___
Cocoa-dev
On Jun 22, 2011, at 4:28 AM, Mikkel Islay wrote:
> It's a variation on this pattern, from the "The Objective-C Programming
> Language":
> http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/ObjectiveC/Chapters/ocProperties.html#//apple_ref/doc/uid/TP30001163-CH17-SW1
I was goi
I created a new function to log every method from a class in runtime.
The problem that I have is in this line :
id value = va_arg(stackFrame, id);
Doesn`t convert the type of object inside the arguments.
Any idea on what I'm doing wrong? Is there another way to do this?
void InitDebug
On Tue, 21 Jun 2011 22:24:07 -0400, Eric Gorr said:
>This should be an easy question for someone to answer.
Even easier, though, if you were to ask this instead on the
apple-help-authoring list. Addressing your question to the right group is
always a good idea, and in this case, that is certain
On Mon, 20 Jun 2011 21:29:55 -0300, Tales Pinheiro de Andrade
said:
>Hello
Hello.
>is it possible to temporally disable the scroll in one direction?
Yes.
> For example, if the user start scrolling in horizontal, so it's only possible
> to scroll in that direction, until the scroll end. After
On Wed, 22 Jun 2011 09:23:54 +0100, Joanna Carter
said:
>Hi folks
>
>Le 22 juin 2011 à 08:58, Ken Tozier a écrit :
>
>> I just started using @properties this week, so probably don't understand the
>> nuances, but after looking at Matt's sample code, reading the property
>> related docs and doin
On Jun 22, 2011, at 11:19 AM, Matt Neuburg wrote:
> Even easier, though, if you were to ask this instead on the
> apple-help-authoring list.
Thanks.
>> I would like to understand why the anchor based link isn't working. I'm sure
>> I'm doing something obviously wrong
>
> Not necessarily;
On Jun 22, 2011, at 7:40 AM, Guillermo Moral wrote:
> The problem that I have is in this line :
> id value = va_arg(stackFrame, id);
> Doesn`t convert the type of object inside the arguments.
That line looks OK. What does “doesn’t convert the type of object” mean,
exactly? It’s hard to answer t
Alright, thank you!
I was trying to do this in my class, that is a subclass of UIScrollview. But it
was looking strange and not really working.
I'll try this.
Thank you again.
On 22 Jun, 2011,at 12:37 PM, Matt Neuburg wrote:
On Mon, 20 Jun 2011 21:29:55 -0300, Tales Pinheiro de Andrade
sa
Hi Matt
> Well, if you really want to know that, just read the discussion in the book:
>
> http://www.apeth.com/iOSBook/ch12.html
>
> My thought was (putting myself in the shoes of the student), hey, I have no
> idea exactly what code @synthesize generates, but whatever it is, it surely
> cons
Hi,
I have a xib file with a MyButton nested that way
MyWindow
MyContentView
MySplitView
MyRightView
MyScrollerView
MyDocumentView
MyButton
I have properly subclassed all of these classes and overrided
- (BOOL
On Jun 22, 2011, at 10:41 AM, Joanna Carter wrote:
> AFAICT, you are talking about making "non-GC" accessors less prone to
> reference counting errors? If I'm using GC, then this, presumably, becomes
> less relevant?
My book is about iOS 4; there is no GC in that world! :)
m._
Hi Matt
> My book is about iOS 4; there is no GC in that world! ☺
Aha! Missed that bit
But was I finally right?
Joanna
--
Joanna Carter
Carter Consulting
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or
On 22 Jun 2011, at 11:10 AM, Joanna Carter wrote:
>> My book is about iOS 4; there is no GC in that world! ☺
>
> Aha! Missed that bit
>
> But was I finally right?
Consider the multi-threaded case where you want property access to be atomic
(and remember, properties might not always be object
Hi,
When my app quits it leave a gap on the Finder's menu bar where the
NSStatusItem was. This gap gets cleaned up the next time a user
"switches" apps. But if you quit my app, see the gap in the Finder
bar, then just leave the Finder as the frontmost app for awhile that
gap just remains onscreen
My mistake.
The MyButton was placed "under" another view.
Now I have put it over the view and it feels the firstClick.
Fine.
Regards
-- Leonardo
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator com
For those of us new to @synthesize, would it be possible to get concrete
examples of exactly what it does to create "thread safety? What is Apple doing,
under the hood, to provide this?
For example: Say I have 3 properties, a float, a struct and an NSObject
subclass. Written by hand they might
On Jun 22, 2011, at 1:49 PM, Ken Tozier wrote:
> For those of us new to @synthesize, would it be possible to get concrete
> examples of exactly what it does to create "thread safety? What is Apple
> doing, under the hood, to provide this?
Well, obviously, that's an implementation detail. Any e
i’ve got a subclass of NSWindow (MagneticWindow) that provides:
- (NSSize) windowWillResize: (NSWindow*) sender toSize: (NSSize)
frameSize;
i use this to provide constrained live resizing of the window, i.e., if the
shift key is down, the window will only resize in the horizontal or verti
Mac QA wrote:
> When my app quits it leave a gap on the Finder's menu bar where the
> NSStatusItem was. This gap gets cleaned up the next time a user
> "switches" apps. But if you quit my app, see the gap in the Finder
> bar, then just leave the Finder as the frontmost app for awhile that
> gap ju
On Jun 22, 2011, at 2:15 AM, Lee Ann Rucker wrote:
> Possibly Radar 5847161 - Tooltip on NSTableView does not appear on newly
> selected cell
>
> Summary:
> If an NSTableView has a delegate that implements
> tableView:toolTipForCell:rect:tableColumn:row:mouseLocation:, tooltips will
> not ap
On Jun 22, 2011, at 4:00 PM, Corbin Dunn wrote:
>
> On Jun 22, 2011, at 2:15 AM, Lee Ann Rucker wrote:
>
>> Possibly Radar 5847161 - Tooltip on NSTableView does not appear on newly
>> selected cell
>>
>> Summary:
>> If an NSTableView has a delegate that implements
>> tableView:toolTipForCel
Hello
I need to watch when the mouse moved over the view (even when the app is not
'active'), and if this happens, to do something.
What I did:
in my custom subclassed view I defined:
-(id)initWithFrame:(NSRect)frameRect {
self = [super initWithFrame:frameRect];
NSLog(@"Init called!");
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 6/22/11 5:04 PM, Nick wrote:
> NSTrackingArea* trackingArea = [[NSTrackingArea alloc] initWithRect:[self
> frame] options: (NSTrackingMouseEnteredAndExited | NSTrackingActiveAlways)
> owner:self userInfo:nil];
Don't use [self frame]... that is
On Jun 22, 2011, at 7:41 PM, Conrad Shultz wrote:
> On 6/22/11 5:04 PM, Nick wrote:
>> NSTrackingArea* trackingArea = [[NSTrackingArea alloc] initWithRect:[self
>> frame] options: (NSTrackingMouseEnteredAndExited | NSTrackingActiveAlways)
>> owner:self userInfo:nil];
>
> Don't use [self frame]
Thanks a lot, It worked! :-)
I was creating a custom window, and wanted to make the "close/minimize/zoom"
buttons to behave naturally.
The only thing that isn't working in my custom window - is the
"click-through" on the [NSWindow standardWindowButton] button (I am using a
"fake" titlebar).
Whenev
32 matches
Mail list logo