Hi,
I have a window that is NOT resizable, in IB I’ve set:
Content Size: 400,300
Minimum Content Size: 400,300
Maximum Content Size: 400,300
and have also unchecked “Resize”.
I then select the Window in IB and select “Reset to Suggested Constraints”.
However when I run it
> On 2015 Dec 08, at 06:31, Dave wrote:
>
> I then select the Window in IB and select “Reset to Suggested Constraints”.
also known as the “Ruin My Day” selection.
> Does anyone have an idea why this is happening?
It would be interesting to look at the window’s styleMask in the debugger and
> On 8 Dec 2015, at 23:06, Jerry Krinock wrote:
>
>
>> On 2015 Dec 08, at 06:31, Dave wrote:
>>
>> I then select the Window in IB and select “Reset to Suggested Constraints”.
>
> also known as the “Ruin My Day” selection.
I love that button - I always try to figure out after I’ve pressed it
This may not be the appropriate list to ask, but I couldn’t think of any better
place…
Now that (as of El Capitan) complete LSSharedFileList API is deprecated, which
API is one supposed to use to retrieve list of items (in “favorites”, “recent
documents”, “recent servers”, “login items” etc…) a
Hi,
I have a simple window with a WebView and an NSButton that I want to display as
a modal window. The window is loaded from a NIB using MyCompanyAlertController,
that also acts as the WebView's delegate (set in the NIB).
When run as a sheet in my main window (using method showAlertInSheet: be
Hey all,
I am being supplied a time (not day specific). Say "7:30 AM" - as a string.
Could be PM.
I need to make a slider with a range of 1 minute to 120 mins. Moving the
slider adjusts the 7:30 AM display. So I am adding minutes to the display
time. What's the best way to do this? I am using Swi
> On Dec 8, 2015, at 12:14 PM, Eric E. Dolecki wrote:
>
> Hey all,
>
> I am being supplied a time (not day specific). Say "7:30 AM" - as a string.
> Could be PM.
>
> I need to make a slider with a range of 1 minute to 120 mins. Moving the
> slider adjusts the 7:30 AM display. So I am adding mi
I opened a radar a while back and got this answer:
"Shared file lists are no longer supported. There is no exact replacement API.”
“If you want to manage your recent documents list, you should use
NSDocumentController."
“If you want to run a background tool independent of your main application, y
I tried an extension I found. It's off by 5 hours...
extension NSDate
{
convenience
init(dateString:String) {
let dateStringFormatter = NSDateFormatter()
dateStringFormatter.calendar = NSCalendar(calendarIdentifier:
NSCalendarIdentifierGregorian)
dateStringFormatter
For your needs, if you have an NSDate, have you tried just using
dateByAddingTimeInterval?
--
Gary L. Wade (Sent from my iPhone)
http://www.garywade.com/
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or modera
> On Dec 8, 2015, at 2:04 PM, Eric E. Dolecki wrote:
>
> I tried an extension I found. It's off by 5 hours...
>
> extension NSDate
> {
>convenience
>init(dateString:String) {
>let dateStringFormatter = NSDateFormatter()
>dateStringFormatter.calendar = NSCalendar(calendar
> On Dec 8, 2015, at 2:04 PM, Eric E. Dolecki wrote:
>
> I tried an extension I found. It's off by 5 hours...
>
> extension NSDate
> {
> convenience
> init(dateString:String) {
> let dateStringFormatter = NSDateFormatter()
> dateStringFormatter.calendar = NSCalendar(cale
Thank you everyone. I simplified the extension and now have it working
properly using a formatter.
extension NSDate
{
convenience
init(dateString:String) {
let dateStringFormatter = NSDateFormatter()
dateStringFormatter.calendar = NSCalendar(calendarIdentifier:
NSCalendarId
13 matches
Mail list logo