Why no scroll-to-top gesture?

2015-10-16 Thread Gerriet M. Denkmann
Master-Detail iOS 9 app; Xcode 7. Master has a TableView with UISearchController. When I scroll the Master TableView and then use the scroll-to-top gesture (a tap on the status bar) the expected thing happens. But when I do the same with the SearchResultsTableView, nothing happens at all. I have

Re: App Transport Security has blocked a cleartext HTTP for a local IP

2015-10-16 Thread Devarshi Kulshreshtha
What happens if you only use this: > > NSAllowsArbitraryLoads > > > ?? > Then it works as expected.. but that is not the preferred approach .. because we are pointing to local ip just for testing purpose, in future we will be pointing it to a public IP (probably https) and if we miss to update

Re: App Transport Security has blocked a cleartext HTTP for a local IP

2015-10-16 Thread Devarshi Kulshreshtha
> I read on some blogposts that ios9 GM did not support IP addresses for > ATS. Do not know if this has changed. > > I am testing it on iOS9 simulator :-/ > On Thu, Oct 15, 2015 at 9:06 PM, Devarshi Kulshreshtha < > devarshi.bluec...@gmail.com> wrote: > >> Our webservices are hosted in some local

Re: App Transport Security has blocked a cleartext HTTP for a local IP

2015-10-16 Thread Devarshi Kulshreshtha
On Fri, Oct 16, 2015 at 1:59 AM, Jens Alfke wrote: > What’s the exact URL that failed to load? > > —Jens http://10.32.27.12/api/Students -- Thanks, Devarshi ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar

2015-10-16 Thread Jacek Oleksy
On Mon, Oct 12, 2015 at 1:10 AM, Jens Alfke wrote: > > On Oct 11, 2015, at 2:07 PM, Jacek Oleksy wrote: > > The problem can be seen after creating a new project in XCode, adding > toolbar and putting a button on it (with proper style) and then > putting another button on the view. The height diff

Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar

2015-10-16 Thread Jacek Oleksy
On Mon, Oct 12, 2015 at 4:19 PM, Richard Charles wrote: > >> On Oct 11, 2015, at 3:07 PM, Jacek Oleksy wrote: >> >> I am not subclassing NSToolbar, I am using NSView (and putting >> NSButton as a subview). > > Why would you not use NSToolbar? I would bet that Apple “native” toolbars use > NSTool

Re: App Transport Security has blocked a cleartext HTTP for a local IP

2015-10-16 Thread James White
It's not necessarily a vulnerability. The purpose of ATS is to get people thinking about implementing SSL. Potentially Apple could make this mandatory in the future but you'll have plenty of notice. Sent from my iThing > On 16 Oct 2015, at 08:14, Devarshi Kulshreshtha > wrote: > > What happe

Re: App Transport Security has blocked a cleartext HTTP for a local IP

2015-10-16 Thread Charles Srstka
> On Oct 16, 2015, at 2:32 AM, James White wrote: > > It's not necessarily a vulnerability. The purpose of ATS is to get people > thinking about implementing SSL. Potentially Apple could make this mandatory > in the future but you'll have plenty of notice. If they made it mandatory, they would

How OS X's system-wide "look up" feature is implemented?

2015-10-16 Thread Nick
When we right-click on any selected text (or tap with three fingers), a popover view shows up, displaying info about the text selected (a dictionary definition, a wikipedia article). This function has been available on OS X since Lion. Is it possible to add my own "widget/button/tab" to this popov

Re: How OS X's system-wide "look up" feature is implemented?

2015-10-16 Thread Seth Willits
> On Oct 16, 2015, at 9:11 AM, Nick wrote: > > When we right-click on any selected text (or tap with three fingers), a > popover view shows up, displaying info about the text selected (a > dictionary definition, a wikipedia article). > This function has been available on OS X since Lion. > > Is

Re: How OS X's system-wide "look up" feature is implemented?

2015-10-16 Thread Jens Alfke
> On Oct 16, 2015, at 9:11 AM, Nick > wrote: > > Is it possible to add my own "widget/button/tab" to this popover somehow? > Even using an undocumented way? There should be... OS X does it somehow. Implement a service. —Jens ___

Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar

2015-10-16 Thread Richard Charles
> On Oct 16, 2015, at 1:24 AM, Jacek Oleksy wrote: > > NSToolbar is not a view, it is a class designed to "provide the > mechanism for a titled window to display a toolbar just below its > title bar" (from the doc). I need to display the toolbar in different > place, that is why I need to use cu

Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar

2015-10-16 Thread Richard Charles
> On Oct 16, 2015, at 1:24 AM, Jacek Oleksy wrote: > > Still, I have no idea why the 22 vs 24px :/ Just made a new project in Xcode. Put a Rounded Textured Button in a view. Put a Rounded Textured Button in a toolbar. Launched the app and measured button height with Pixie. Both buttons measur

Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar

2015-10-16 Thread Lee Ann Rucker
On Oct 16, 2015, at 1:57 PM, Richard Charles wrote: > >> On Oct 16, 2015, at 1:24 AM, Jacek Oleksy wrote: >> >> NSToolbar is not a view, it is a class designed to "provide the >> mechanism for a titled window to display a toolbar just below its >> title bar" (from the doc). I need to display

Hide UINavigationBar and keep UIPageController content static

2015-10-16 Thread Stevo Brock
I have what I hope to be an easy-to-solve situation, but so far that solution has been elusive. Rather basic setup… UIPageController subclass in a storyboard. All I have in the storyboard is the UIPageController and its associated Navigation Item. In UIPageController viewDidLoad, I create a n