Re: NIB for Cocoa Standard Alert Sheet
Hi, Thanks a lot, I guess I’ll have to do something like that. I’m sure I’ve seen it laid out in a document somewhere but maybe I imagined it. Thanks a lot Dave On 20 Apr 2015, at 21:16, Lee Ann Rucker lruc...@vmware.com wrote: It's a very simple layout, you could make your own. Use the Xcode 6 layout debugger option to see where all the parts end up. I'm pretty sure it's all generated in code, actually, since it's older than autolayout and the variable number of buttons, with the spacing changing depending on how many you have, not to mention any right-to-left language issues it might do (never checked), is not something easily done in nibs. From: cocoa-dev-bounces+lrucker=vmware@lists.apple.com [cocoa-dev-bounces+lrucker=vmware@lists.apple.com] on behalf of Dave [d...@looktowindward.com] Sent: Monday, April 20, 2015 11:12 AM To: Cocoa Developers Subject: NIB for Cocoa Standard Alert Sheet Hi All, Is the Cocoa Standard Alert Sheet available anywhere in a NIB or failing that is there a list of the fields and their Frame Rectangles anywhere? I’m sure it’s there somewhere, I’ve been doing google searches but I can’t think of the right thing to search for! Thanks a lot All the Best Dave ___ 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/lrucker%40vmware.com This email sent to lruc...@vmware.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: NIB for Cocoa Standard Alert Sheet
It's a very simple layout, you could make your own. Use the Xcode 6 layout debugger option to see where all the parts end up. I'm pretty sure it's all generated in code, actually, since it's older than autolayout and the variable number of buttons, with the spacing changing depending on how many you have, not to mention any right-to-left language issues it might do (never checked), is not something easily done in nibs. From: cocoa-dev-bounces+lrucker=vmware@lists.apple.com [cocoa-dev-bounces+lrucker=vmware@lists.apple.com] on behalf of Dave [d...@looktowindward.com] Sent: Monday, April 20, 2015 11:12 AM To: Cocoa Developers Subject: NIB for Cocoa Standard Alert Sheet Hi All, Is the Cocoa Standard Alert Sheet available anywhere in a NIB or failing that is there a list of the fields and their Frame Rectangles anywhere? I’m sure it’s there somewhere, I’ve been doing google searches but I can’t think of the right thing to search for! Thanks a lot All the Best Dave ___ 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/lrucker%40vmware.com This email sent to lruc...@vmware.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: NIB for Cocoa Standard Alert Sheet
Display a View within a Window that looks exactly like a sheet, but I don’t want any of the button presses etc - don’t ask — it’s for a demo! lol Cheers Dave On 20 Apr 2015, at 19:42, Conrad Shultz conrad_shu...@apple.com wrote: On Apr 20, 2015, at 11:12 AM, Dave d...@looktowindward.com wrote: Hi All, Is the Cocoa Standard Alert Sheet available anywhere in a NIB or failing that is there a list of the fields and their Frame Rectangles anywhere? I’m sure it’s there somewhere, I’ve been doing google searches but I can’t think of the right thing to search for! Obligatory question: what are you trying to do? ___ 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: NIB for Cocoa Standard Alert Sheet
On Apr 20, 2015, at 11:12 AM, Dave d...@looktowindward.com wrote: Hi All, Is the Cocoa Standard Alert Sheet available anywhere in a NIB or failing that is there a list of the fields and their Frame Rectangles anywhere? I’m sure it’s there somewhere, I’ve been doing google searches but I can’t think of the right thing to search for! Obligatory question: what are you trying to do? ___ 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: NIB for Cocoa Standard Alert Sheet
You could create an UIAlertSheet show it and all that, then call recursiveDescription on the sheet which will tell you the description of all the views it has. You should be able to assemble a similar looking view with that info. On Mon, Apr 20, 2015 at 11:51 AM, Dave d...@looktowindward.com wrote: Display a View within a Window that looks exactly like a sheet, but I don’t want any of the button presses etc - don’t ask — it’s for a demo! lol Cheers Dave On 20 Apr 2015, at 19:42, Conrad Shultz conrad_shu...@apple.com wrote: On Apr 20, 2015, at 11:12 AM, Dave d...@looktowindward.com wrote: Hi All, Is the Cocoa Standard Alert Sheet available anywhere in a NIB or failing that is there a list of the fields and their Frame Rectangles anywhere? I’m sure it’s there somewhere, I’ve been doing google searches but I can’t think of the right thing to search for! Obligatory question: what are you trying to do? ___ 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/conceptuallyflawed%40gmail.com This email sent to conceptuallyfla...@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