Re: WatchOS3 layering?

2017-01-27 Thread Eric E. Dolecki
Thanks for your reply. I do think that might work. There is just that one
area of overlap to worry about. The group background image could indeed be
a solution. I'll give it a go.

Eric

On Fri, Jan 27, 2017 at 10:27 AM Jeff Kelley  wrote:

> Hi Eric,
>
> This sounds achievable. You can embed interface objects inside of a
> WKInterfaceGroup, and that group can have a background image. So you’d put
> the group in with your background image, and then inside of it would be the
> semicircle image. Does that sound like it would work?
>
>
> Jeff Kelley
>
> slauncha...@gmail.com | @SlaunchaMan  |
> jeffkelley.org
>
> On Thu, Jan 26, 2017 at 10:55 PM, Eric Dolecki  wrote:
>
> I have a quick question.
> I've been asked to make a companion watch app and have been given a sketch
> file for the design. In the design in the center is an image of a product.
> On top and larger is an image that will be hooked up via sequence to the
> digital crown - a semicircle progress thing.
> So it seems like two images atop one another. Is this possible? For iOS
> it's a no brainier. I've dabbled in watch development but it's been a long
> time.
> Eric
>
> Get Outlook for iOS
>
> ___
>
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/slaunchaman%40gmail.com
>
> This email sent to slauncha...@gmail.com
>
>
>
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WatchOS3 layering?

2017-01-27 Thread Jeff Kelley
Hi Eric,

This sounds achievable. You can embed interface objects inside of a
WKInterfaceGroup, and that group can have a background image. So you’d put
the group in with your background image, and then inside of it would be the
semicircle image. Does that sound like it would work?


Jeff Kelley

slauncha...@gmail.com | @SlaunchaMan  |
jeffkelley.org

On Thu, Jan 26, 2017 at 10:55 PM, Eric Dolecki  wrote:

> I have a quick question.
> I've been asked to make a companion watch app and have been given a sketch
> file for the design. In the design in the center is an image of a product.
> On top and larger is an image that will be hooked up via sequence to the
> digital crown - a semicircle progress thing.
> So it seems like two images atop one another. Is this possible? For iOS
> it's a no brainier. I've dabbled in watch development but it's been a long
> time.
> Eric
>
> Get Outlook for iOS
> ___
>
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/slaunchaman%40gmail.com
>
> This email sent to slauncha...@gmail.com
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: setFontManagerFactory:

2017-01-27 Thread Raglan T. Tiger

> On Jan 27, 2017, at 1:48 AM, Alastair Houghton  
> wrote:
> 
> set a breakpoint on [NSFontManager sharedFontManager] then start your program 
> and see what the backtrace looks like (that will tell you where the first 
> invocation is;


Great idea.  I did move setFontManagerFactory to main.m and still got no  hit 
on the init method.

-rags
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Debugging a privileged helper

2017-01-27 Thread John Brownie

Stephane Sudre wrote:

Have you tried removing the Program entry?
That's produced, as far as I can tell, by the SMJobBless process. The 
file I pass is:



"http://www.apple.com/DTDs/PropertyList-1.0.dtd;>



Label
org.sil.KLMHelper
MachServices

org.sil.KLMHelper





It's added to the binary with the linker flag -sectcreate __TEXT 
__launchd_plist (path to the file). The launchd plist is exactly 
analogous to the tool that is already working, just the identifiers changed.

--
John Brownie
In Finland on furlough from SIL Papua New Guinea
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: setFontManagerFactory:

2017-01-27 Thread Alastair Houghton
On 26 Jan 2017, at 19:06, Raglan T. Tiger  wrote:
> 
> According to the docs if one does:
> 
>   [ NSFontManager setFontManagerFactory:[ EFontManager class ] ];
> 
> before the main nib file is loaded and where EFontManager is a subclass of 
> NSFontManager and EFontManager does implement init as its designated 
> initializer.
> 
> My problem is that my init method for EFontManager is never called.

Are you running any other code before your -[NSFontManager 
setFontManagerFactory:] invocation?  Note that “any other code” may include 
e.g. constructor functions from libraries you’re linking with... while I 
wouldn’t expect system libraries to be invoking [NSFontManager 
sharedFontManager] at that point, it’s possible some third-party library does 
that.

I’d try moving it to near the start of your main() function and see if it 
starts working.  If it does, there’s probably some code somewhere that’s asking 
for the font manager early on.

The other thing you could do is, in the debugger, set a breakpoint on 
[NSFontManager sharedFontManager] then start your program and see what the 
backtrace looks like (that will tell you where the first invocation is; you’re 
going to have to ensure that you call -setFontManager: *prior* to that somehow).

Kind regards,

Alastair.

--
http://alastairs-place.net


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com