Re: Infinite Scroll View?

2013-10-08 Thread Dave
On 7 Oct 2013, at 19:54, Kyle Sluder k...@ksluder.com wrote: On Mon, Oct 7, 2013, at 09:21 AM, Dave wrote: Hi, I'd like to be able to Scroll Infinitely in a Scroll, e.g. when the scrolling is past the last item in the Scroll start displaying the first and when scrolling before the first

Re: Infinite Scroll View?

2013-10-08 Thread Kyle Sluder
On Oct 8, 2013, at 12:44 AM, Dave d...@looktowindward.com wrote: Thanks Kyle, That's what I was trying to figure out, whether I needed to re-layout the views based on the positions or whether I could just do it by keeping an Array of the image views separately and rotating this as it

Is inout documented anywhere?

2013-10-08 Thread Dave
Hi, I've just come across this: - (void) scrollViewWillEndDragging:(UIScrollView*) theScrollView withVelocity:(CGPoint) theVelocity targetContentOffset:(inout CGPoint*) theTargetContentOffset I've never seen the inout keyword before! It is documented anyway? I tried searching but can't find

Re: Is inout documented anywhere?

2013-10-08 Thread Igor Elland
Hi, On Oct 8, 2013, at 1:29 PM, Dave d...@looktowindward.com wrote: I've never seen the inout keyword before! It is documented anyway? I tried searching but can't find anything that describes how it is supposed to work? You can refer to their meanings here

Re: Is inout documented anywhere?

2013-10-08 Thread Dave
On 8 Oct 2013, at 12:35, Igor Elland igor.ell...@me.com wrote: Hi, On Oct 8, 2013, at 1:29 PM, Dave d...@looktowindward.com wrote: I've never seen the inout keyword before! It is documented anyway? I tried searching but can't find anything that describes how it is supposed to work?

Responder chain query

2013-10-08 Thread jonat...@mugginsoft.com
I am building an OS X NSDocument app with a fairly complex view hierarchy and want to interpose my view controllers into the responder chain (this I can do). Some of the displayed views will feature just a button (to enable creation of a new object). This means that the first responder will be

Safari on Smart Card enrollment

2013-10-08 Thread charisse napeÿfffff1as
Hello All, Does Safari support smart card enrollment? I have tried to use safari to install certificate into the smart card but it seems to just save the cert in a file by default. Is this the default behavior? In Mozilla, I am able to install the certificate into the smart card so I am

resetCursorRects: in AVPlayerView?

2013-10-08 Thread Karl Moskowski
Are custom cursors not supported in AVPlayerView? Unless I’m doing something wrong, it seems to be the case. I implemented resetCursorRects: in my custom AVPlayerView subclass to set the cursor to one of the NSCursor’s built-in instances, and I call invalidateCursorRectsForView: on its window.

Re: Responder chain query

2013-10-08 Thread Seth Willits
On Oct 8, 2013, at 8:40 AM, jonat...@mugginsoft.com wrote: My intention is track the status of my top level view controllers and insert/remove these as required in the responder chain between the window and the window controller (rather than between views in the chain). That way I figure

Re: Is inout documented anywhere?

2013-10-08 Thread Lee Ann Rucker
On Oct 8, 2013, at 4:29 AM, Dave wrote: Hi, I've just come across this: - (void) scrollViewWillEndDragging:(UIScrollView*) theScrollView withVelocity:(CGPoint) theVelocity targetContentOffset:(inout CGPoint*) theTargetContentOffset I've never seen the inout keyword before! It is

Re: Infinite Scroll View?

2013-10-08 Thread Dave
Hi, I finally managed to get back on this! I've got it working when scrolling from left to right and can detect when the user scrolls past the last item, however, I can't seem to find a way to detect when the user scrolls to before the first item. I get -0 for offset X 2013-10-08

Re: Responder chain query

2013-10-08 Thread jonat...@mugginsoft.com
On 8 Oct 2013, at 17:40, Seth Willits sli...@araelium.com wrote: On Oct 8, 2013, at 8:40 AM, jonat...@mugginsoft.com wrote: My intention is track the status of my top level view controllers and insert/remove these as required in the responder chain between the window and the window

Re: Infinite Scroll View?

2013-10-08 Thread Steve Christensen
Does (scrollView.contentOffset.x = 0) not work? How are you testing for it now? On Oct 8, 2013, at 12:20 PM, Dave d...@looktowindward.com wrote: Hi, I finally managed to get back on this! I've got it working when scrolling from left to right and can detect when the user scrolls past the

Re: Infinite Scroll View?

2013-10-08 Thread Dave
Well, it never goes less than -0 whatever that means so the is redundant and 0 is a valid offset, I need to detect a scroll to *before* 0, which I never get. Thanks Dave On 8 Oct 2013, at 21:26, Steve Christensen puns...@mac.com wrote: Does (scrollView.contentOffset.x = 0) not work? How are

Re: Infinite Scroll View?

2013-10-08 Thread Dave
Hi, Spoke too soon! I just can't seem to get my head around this. I can make it work, but I'm getting into an infinite loop because updating the scroll view is causing the delegates to fire again (AFAICT). I'm not sure what to put in layoutSubviews and what to put in the delegate methods.

NSUserInterfaceItemIdentification -identifier vs -tag

2013-10-08 Thread jonat...@mugginsoft.com
The NSControl -tag property can be used to identify an action sender. Can the NSUserInterfaceItemIdentification protocol property -identifier be safely used for the same purpose? It was introduced to support window restoration. The docs apply several caveats with regard to the identifier:

Re: NSUserInterfaceItemIdentification -identifier vs -tag

2013-10-08 Thread Lee Ann Rucker
On Oct 8, 2013, at 1:47 PM, jonat...@mugginsoft.com wrote: The NSControl -tag property can be used to identify an action sender. Can the NSUserInterfaceItemIdentification protocol property -identifier be safely used for the same purpose? I don't know, but I'd prefer representedObject for

Re: NSUserInterfaceItemIdentification -identifier vs -tag

2013-10-08 Thread jonat...@mugginsoft.com
On 8 Oct 2013, at 21:54, Lee Ann Rucker lruc...@vmware.com wrote: On Oct 8, 2013, at 1:47 PM, jonat...@mugginsoft.com wrote: The NSControl -tag property can be used to identify an action sender. Can the NSUserInterfaceItemIdentification protocol property -identifier be safely used for

Re: Infinite Scroll View?

2013-10-08 Thread Marcelo Alves
Did you check the StreetScroller sample? https://developer.apple.com/library/ios/samplecode/StreetScroller/Introduction/Intro.html#//apple_ref/doc/uid/DTS40011102 it is the same code that was demonstrated in the WWDC 2011 I told you before. -- :: marcelo.alves On 08/10/2013, at 17:30, Dave

Re: NSUserInterfaceItemIdentification -identifier vs -tag

2013-10-08 Thread Lee Ann Rucker
On Oct 8, 2013, at 1:59 PM, jonat...@mugginsoft.com wrote: On 8 Oct 2013, at 21:54, Lee Ann Rucker lruc...@vmware.com wrote: On Oct 8, 2013, at 1:47 PM, jonat...@mugginsoft.com wrote: The NSControl -tag property can be used to identify an action sender. Can the

Re: Infinite Scroll View?

2013-10-08 Thread Dave
Hi, Yes, I took a look, but it's not what I want to do. I have a number of variable width images, not fixed width and all the examples I've seen use pagingEnabled and have a fixed width. Also the Street Scroller sample, just creates a label view on demand, which, again isn't what I want. I

Re: Infinite Scroll View?

2013-10-08 Thread Damian Carrillo
Hi Dave, What about if you have some repetition of the images? Say the following is a container UIView that has all of your UIImageViews stacked horizontally and the width of the following view is far smaller than that of the UIScrollView it's contained in. The gray areas are duplicated image

Re: NSUserInterfaceItemIdentification -identifier vs -tag

2013-10-08 Thread Keary Suska
On Oct 8, 2013, at 3:25 PM, Lee Ann Rucker wrote: On Oct 8, 2013, at 1:59 PM, jonat...@mugginsoft.com wrote: On 8 Oct 2013, at 21:54, Lee Ann Rucker lruc...@vmware.com wrote: On Oct 8, 2013, at 1:47 PM, jonat...@mugginsoft.com wrote: The NSControl -tag property can be used to