Re: Auto layout and Scroll View Problems?
Re: Auto layout and Scroll View Problems?
- Subject: Re: Auto layout and Scroll View Problems?
- From: Dave <email@hidden>
- Date: Thu, 03 Sep 2015 16:27:14 +0100
> On 3 Sep 2015, at 15:56, Kyle Sluder <email@hidden> wrote:
>
> On Thu, Sep 3, 2015, at 08:14 AM, Dave wrote:
>> Hi,
>>
>> I’m trying to setup a Scroll View for Auto Layout, at the suggestion to
>> someone on the list, I’m looking at:
>>
>> http://natashatherobot.com/ios-autolayout-scrollview/
>> <http://natashatherobot.com/ios-autolayout-scrollview/>
>>
>> I have the following View Hierarchy setup in the Window NIB.
>
> Are you trying to use an iOS tutorial to set up an OS X scroll view?
> NSScrollView and UIScrollView do not work the same way.
>
> --Kyle Sluder
Ahhh, yes I was doing that. Is there anything you know of that applies to NSScrollView? Once I’ve done that, I need to make it work for NSStackView. The idea is that the Scroll View contains a Stack View and my detail views are added to the the Stack View in Code. The Detail views are further made up of for a Disclosure View which has a header and a body, the body can be hidden or revealing by clicking a disclosure triangle button, something like this:
> Item Title (undisclosed)
or
V Item Title (disclosed)
[TextField1] [TextField2] [TextField3] [Button1] [Button2]
——————————————————————————————————
I’d rather do this in XCode/IB but can do it in code if that’s easier?
If you know of any documentation that might help, I’d be grateful if you would let me know.
Thanks a lot
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden