Hey folks, quick question...
A have a couple vanilla NS object ptrs (e.g. NSWindow*) that I have to pass
through some cross-plaform C++ code until it ends up in a .mm file where where
the NS object is accessed. The problem is that in the .cpp code, there's no
obvious way to declare a NSWindow
Hey cocoa crew, quick question...
I'm looking for a Cocoa replacement for Carbon's UpdateSystemActivity() since
it appears to be unavailable under x86_64.
Any help or suggestion would be appreciated!
Thanks,
Andy
___
Cocoa-dev mailing list (Cocoa-d
ateSystemActivity' was
not declared in this scope
}
Also, if I declare it, I get a link error saying the symbol doesn't exist.
It'd be nice to use UpdateSystemActivity(), but it seems Sean's IOKit method
the only way to proceed (thanks Sean!).
Andy
>
>
> On Apr 5, 20
Hello,
Question for the cocoa experts here. I've googled around to no avail and
lists.apple.com has been down for days(!).As ya'll know, when an app loads
multiple bundles, the loader loads all the objC class name identifiers into a
flat namespace, so ya can get that warning "Class ___ is
>
>>
>> So the question of course is there any way to mark an entire objC class as
>> being private (non-exported) to a bundle? I'm half shocked and half amazed
>> that there seems to be no such way, in contrast to the compiler setting that
>> C/C++ symbols can be set to be private by defaul
Unfortunately the problem is that when you sell and ship commercial software,
shipped software can't look into the future. The real aspect of this issue,
that I raised in my initial post, is that third party developers such as
ourselves internally reuse various support classes for multiple bu
>
>
> ER: Objective-C namespaces
>
> If you're familiar with Radar numbers, you'll recognize that the bug is very
> old. The name is a bit misleading - C++ namespaces or Java packages are
> little better than adding name prefixes by hand. (For example, they don't
> solve the problem of two d
x27;t normally think about this stuff.
Happy trails!
On Nov 9, 2011, at 2:54 AM, Jean-Daniel Dupas wrote:
>
> Le 9 nov. 2011 à 09:14, Andy O'Meara a écrit :
>
>>
>>
>> Unfortunately the problem is that when you sell and ship commercial
>> software, ship
Hey folks,
We're switching over from ATSUI offscreen text rendering to NSLayoutManager,
but the glyphs don't seem to be looking as strong (sample images linked below).
I'm hoping a text rendering guru here may be able to offer some suggestions as
to what the issue could be.
It doesn't seem t
Hi everyone,
Given an NSFont object how can I extract or create a CGFontRef from it to use
directly with CoreGraphics?
I've already searched around in the lists and ADC with no luck.
So far, I've tried the following:
NSFontManager* fm = [NSFontManager sharedFontManager];
NSFo
Hi everyone,
Given an NSFont object how can I extract or create a CGFontRef from it to use
directly with CoreGraphics?
I've already searched around in the lists and ADC with no luck.
So far, I've tried the following:
NSFontManager* fm = [NSFontManager sharedFontManager];
NSFo
On Feb 2, 2010, at 9:00 PM, Nick Zitzmann wrote:
>
> On Feb 2, 2010, at 10:26 AM, Andy O'Meara wrote:
>
>> Given an NSFont object how can I extract or create a CGFontRef from it to
>> use directly with CoreGraphics?
>
> You're close. Starting in (I thin
either in ADC or in google).
Oh well, but thanks for your thoughts and suggestions!
Andy
On Feb 3, 2010, at 12:10 PM, Nick Zitzmann wrote:
>
> On Feb 3, 2010, at 11:08 AM, Andy O'Meara wrote:
>
>> My concern with CoreText is that it rules out 10.4 as I understand it, so
&
Hi gents, I have a small cocoa text layout issue that I could use some help
from the veterans here, and I've been unable to make progress using google,
ADC, or the list archives...
I'm rendering small words of text to a NSGraphicsContext using a vanilla
NSLayoutManager/NSTextStorage/NSTextCont
hat is not flipped. Strange
> but true.
>
> Paul Sanders.
>
> - Original Message -
> From: "Douglas Davidson"
> To: "Andy O'Meara"
> Cc: "Cocoa Developers"
> Sent: Saturday, February 06, 2010 10:31 PM
> Subje
Hey guys, quick question for the cocoa gurus here...
I'm using NSOpenGLContext's setFullScreen method to run my NSOpenGLContext in
fullscreen. However, in that mode, it's not clear how one should get mouse
events (or at least clicks). I saw one post a few years ago imply that he
used a repe
Hey guys, hopefully someone who knows what may be going under the
pthread/NSThread hood when GC is enabled can solve this little mystery...
Pretty straightforward situation: I have a 64 bit Cocoa app (and screen saver)
that uses pthreads (via the pthread API, *not* NSThread). To be compatible
rbageCollection/GarbageCollection.pdf
-- under the topic "Threading" (or search the pdf for "register").
On Oct 25, 2010, at 5:19 PM, Bill Bumgarner wrote:
>
> On Oct 25, 2010, at 2:22 PM, Andy O'Meara wrote:
>
>> Per Apple GC Programming Guide (page 15):
>>
>
>
> Andy, also beware that those two functions are not properly marked as
> weak, and so if your deployment target is < 10.6 and even if you test
> them against NULL, you will crash. :(
Yikes, many thanks for the catch there -- this stuff always keep me guessing,
sigh.
Thanks Sean for b
Sean, Bill,
I'm having an issue with using objc_registerThreadWithCollector() under earlier
versions of OS X. 10.4 cancels my app load because it can't resolve that
symbol at dynamic link time, so I'm trying to figure out how to fetch the
symbol address by name. Of course, if the symbol isn'
Perfect, Greg, thanks!!
On Nov 5, 2010, at 4:11 PM, Greg Parker wrote:
> On Nov 5, 2010, at 2:01 PM, Andy O'Meara wrote:
>> I'm having an issue with using objc_registerThreadWithCollector() under
>> earlier versions of OS X. 10.4 cancels my app load because it can&
21 matches
Mail list logo