Re: Popover arrow point never properly aligned

2016-06-01 Thread Logan Cautrell
I would check the sourceRect property on UIPopoverPresentationController. If you want precise control over the positioning, then you may need a custom view in a UIBarButton. You can calculate the position and update the sourceRect accordingly. -logan > On May 26, 2016, at 7:08 PM, Rick Mann

Re: debugging AirDrop (update)

2016-06-01 Thread Gerriet M. Denkmann
Some Apple engineer asked me to do 3 to 5 reboots. This sounded like voodoo to me, but I duly did 3 reboots. Now my iPad gets discovered again (was undiscovered for a week, a reboot did not change anything). Can anybody explain why 3 reboots ≠ 1 reboot? Gerriet. > On 28 May 2016, at 02:06, Jen

PDF image template comes out too small

2016-06-01 Thread David Catmull
I'm trying to use PDF files as image templates for my segment controls, but they come out too small. I created them using Affinity Designer, adding the "Template" suffix. They end up getting drawn at half size in my controls. I tried changing the export DPI from the default (~144) to 72, but it ha

Re: PDF image template comes out too small

2016-06-01 Thread Aandi Inston
I've never used this API but perhaps the problem is that you are thinking of PDF pages as having a size in pixels. They absolutely do not, because they are a rich collection of text, multiresolution images and vector. The fact that your PDF pages might contain only a single resolution image is of n

Re: PDF image template comes out too small

2016-06-01 Thread Quincey Morris
On Jun 1, 2016, at 07:51 , David Catmull wrote: > > I'm trying to use PDF files as image templates for my segment controls, but > they come out too small. What platform? What does “use” mean? That is, are you creating NSImage/UIImage objects, drawing them into bitmaps, using CGPDF… functions, e

Re: PDF image template comes out too small

2016-06-01 Thread David Catmull
On OS X. I have an NSSegmentedControl in my xib, with my template images assigned to the segments by specifying the image names. On Wed, Jun 1, 2016 at 10:36 AM, Quincey Morris < quinceymor...@rivergatesoftware.com> wrote: > On Jun 1, 2016, at 07:51 , David Catmull wrote: > > > I'm trying to use

Re: PDF image template comes out too small

2016-06-01 Thread Quincey Morris
On Jun 1, 2016, at 10:55 , David Catmull wrote: > > On OS X. I have an NSSegmentedControl in my xib, with my template images > assigned to the segments by specifying the image names. It’s a bit hard to tell what’s going on if it’s all done in IB. You might consider adding code to examine the i

Re: Popover arrow point never properly aligned

2016-06-01 Thread Rick Mann
According to the docs, specifying barButtonItem is sufficient: "Assign a value to this property to anchor the popover to the specified bar button item. When presented, the popover’s arrow points to the specified item. Alternatively, you may specify the anchor location for the popover using the

Re: Popover arrow point never properly aligned

2016-06-01 Thread David Duncan
Can you post a (cropped) screenshot? > On Jun 1, 2016, at 1:39 PM, Rick Mann wrote: > > According to the docs, specifying barButtonItem is sufficient: > > "Assign a value to this property to anchor the popover to the specified bar > button item. When presented, the popover’s arrow points to th

Re: Popover arrow point never properly aligned

2016-06-01 Thread Rick Mann
> On Jun 1, 2016, at 13:49 , David Duncan wrote: > > Can you post a (cropped) screenshot? http://cl.ly/091f0h1w361P -- Rick Mann rm...@latencyzero.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or mo

Re: Popover arrow point never properly aligned

2016-06-01 Thread Eric Dolecki
Did you ever move that share button? On Wed, Jun 1, 2016 at 2:33 PM -0700, "Rick Mann" wrote: > On Jun 1, 2016, at 13:49 , David Duncan wrote: > > Can you post a (cropped) screenshot? http://cl.ly/091f0h1w361P -- Rick Mann rm...@latencyzero.com ___

Re: Popover arrow point never properly aligned

2016-06-01 Thread Rick Mann
> On Jun 1, 2016, at 15:02 , Eric Dolecki wrote: > > Did you ever move that share button? No, it's just part of the Storyboard. I do add and remove it (and another button) depending on some app state, using setRightBarButtonItems(), but even when that code isn't called, and the buttons are j

Re: debugging AirDrop (update)

2016-06-01 Thread Greg Parker
> On Jun 1, 2016, at 4:52 AM, Gerriet M. Denkmann wrote: > > Some Apple engineer asked me to do 3 to 5 reboots. > This sounded like voodoo to me, but I duly did 3 reboots. > Now my iPad gets discovered again (was undiscovered for a week, a reboot did > not change anything). > > Can anybody exp