Does NSPointerArray support zeroing weak references under ARC?
The test below seems to indicate that it does - though this is the sort of
thing I often get wrong.
Note that a NULL survives -compact.
Presumably the method is free to not compact in trivial cases - or is there
another explanation
That was an interesting question. I've used one under ARC and it does, but I
thought .. let's check with the documentation.
Well the documentation says nothing about ARC at all until you get to the end
where the Revision History table is and that says ..
2013-08-08 Noted that NSPointerAr
On Aug 8, 2014, at 23:48 , Gerriet M. Denkmann wrote:
> let b = NSXPCInterface( protocol: Xpc_CommonProtocol )
When I try it, the “protocol” is syntax highlighted as a keyword, so I suspect
that’s the first problem. Taking a cue from the declaration of NSXPCInterface
itself, I can fix th
On 9 Aug 2014, at 16:20, Quincey Morris
wrote:
> On Aug 8, 2014, at 23:48 , Gerriet M. Denkmann wrote:
>
>> let b = NSXPCInterface( protocol: Xpc_CommonProtocol )
>
> When I try it, the “protocol” is syntax highlighted as a keyword, so I
> suspect that’s the first problem. Taking a cue
On Aug 9, 2014, at 01:46 , Roland King wrote:
> I do sometimes wish the revision history was a bit more verbose, or at least
> there was a way to see the various revisions of the document to see what
> actually changed.
The 2011-09-16 revision note was correct, because at that time (and until
On Aug 9, 2014, at 09:48 , Gerriet M. Denkmann wrote:
> Are bindings supposed to work in Swift?
I haven’t played with them at all, yet, but they have to work (eventually, even
if not yet), or interoperability couldn’t work. But …
1. Don’t forget to mark your observable methods and properties a
7 aug 2014 kl. 22:28 skrev Peter Edberg :
> This is intentional. The character is ‘−’ U+2212 MINUS SIGN with UTF-8
> representation 0xE2 0x88 0x92. Many locales prefer the proper Unicode minus
> sign for negative numbers, instead of using U+002D HYPHEN-MINUS.
>
> Seems like the bug here is try
I have been tasked with getting outlines of all True Type fonts on a user Mac.
I am just beginning my research and first Google results were unsatisfying.
I am now going to NSFont but thought stopping here first might save sometime.
TIA!
-rags
___
C
You can use NSFontManager to get all fonts.
On Aug 9, 2014, at 4:30 PM, Raglan T. Tiger wrote:
>
> I have been tasked with getting outlines of all True Type fonts on a user Mac.
>
> I am just beginning my research and first Google results were unsatisfying.
>
> I am now going to NSFont but th
I need to clarify …
I would like to get bezier outlines of true type fonts …
- rags
On Aug 9, 2014, at 3:47 PM, Gerd Knops wrote:
> You can use NSFontManager to get all fonts.
>
> On Aug 9, 2014, at 4:30 PM, Raglan T. Tiger wrote:
>
>>
>> I have been tasked with getting outlines of all Tr
> On Aug 9, 2014, at 2:55 PM, Raglan T. Tiger wrote:
>
> I would like to get bezier outlines of true type fonts …
Specifically only TrueType fonts? What about OpenType or PostScript fonts?
I think your best bet is NSBezierPath, which has methods
- (void)appendBezierPathWithGlyph:(NSGlyph)glyph
> On Aug 9, 2014, at 4:14 PM, Jens Alfke wrote:
>
> Just be aware of the licensing restrictions of the fonts. Obviously you have
> the right to render text with any font legally installed on your computer
If only. Some font licenses don’t even let you use them in fillable PDF forms.
Raglan, I
> On 10 Aug 2014, at 4:35 am, Quincey Morris
> wrote:
>
> 1. Don’t forget to mark your observable methods and properties as ‘dynamic’
> (new in the latest beta).
>
> Now that I think about it, though, I hate this “enhancement”. It turns
> something that’s relatively simple to use (bindings o
On Aug 9, 2014, at 18:13 , Roland King wrote:
> If this is where we are then it would be handy to have the runtime throw, or
> at least log, if you attempt to KVO a Swift property which isn't dynamic.
Yes, though I expect (hope?) that there is eventually something better than
traditional KVO/b
This is quite helpful and I thank you all.
I will find out about the licensing issue, but we are not changing or making a
derivative.
With the outline we can apply our embroidery digitizing engine to get a font
that can be sewn. I know of competitors who do this with no licensing issues.
But
One of the things that bugs me about text on OS X is that it's laid out from
the top edge of a bounding box, not based off a baseline. In particular,
CATextLayer lays out text from its top edge, but provides no way to find out
the baseline that results. This makes laying out layers with text lab
I have an app with an Xpc Helper, which currently starts with:
NSXPCConnection( serviceName: xpcServiceName )
But the goal is that two apps should talk to each other, the Xpc Helper being
used to exchange endpoints.
So I have to use:
NSXPCConnection(machServiceName: xpcServiceName
17 matches
Mail list logo