|
Re: Is this a bug in AppDelegate?
Good idea… However I just did this:
1. created a new document project
2. added to AppDelegate.m
- (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender {
// Use this method to decide
Good idea… However I just did this:
1. created a new document project
2. added to AppDelegate.m
- (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender {
// Use this method to decide
|
By
Peter Teeson
·
#647
·
|
|
Re: Is this a bug in AppDelegate?
I can’t swear to it, but I’m pretty certain this is a result of state restoration. Assuming you had at some previous point created an untitled window, then state restoration will recreate it at
I can’t swear to it, but I’m pretty certain this is a result of state restoration. Assuming you had at some previous point created an untitled window, then state restoration will recreate it at
|
By
Quincey Morris
·
#646
·
|
|
Is this a bug in AppDelegate?
macOS Yosemite 10.10.5; Xcode 6.4
In testing a vanilla Document app I tracked down what may be a bug in Cocoa.
I expected that the app would not open an untitled file
macOS Yosemite 10.10.5; Xcode 6.4
In testing a vanilla Document app I tracked down what may be a bug in Cocoa.
I expected that the app would not open an untitled file
|
By
Peter Teeson
·
#645
·
|
|
Re: UIImageView Scaling
The docs for that section do reflect the behavior, which you can see where the imageView size was set to the image size pre-layout by calling sizeToFit(). The problem is that in the auto layout world,
The docs for that section do reflect the behavior, which you can see where the imageView size was set to the image size pre-layout by calling sizeToFit(). The problem is that in the auto layout world,
|
By
Steve Christensen <punster@...>
·
#644
·
|
|
Re: UIImageView Scaling
Steve,
I haven’t explored your argument in a test environment, but the reason I said the call to setNeedsLayout() was in ‘addition’ to the call to sizeToFit() is the following excerpt from the
Steve,
I haven’t explored your argument in a test environment, but the reason I said the call to setNeedsLayout() was in ‘addition’ to the call to sizeToFit() is the following excerpt from the
|
By
Rick Aurbach
·
#643
·
|
|
Re: UIImageView Scaling
I'm glad it worked for you.
One thing I noticed in your bug report is your mention of the *addition* of setNeedsLayout() to the existing sizeToFit(). I believe in the auto layout world that
I'm glad it worked for you.
One thing I noticed in your bug report is your mention of the *addition* of setNeedsLayout() to the existing sizeToFit(). I believe in the auto layout world that
|
By
Steve Christensen <punster@...>
·
#642
·
|
|
Re: UIImageView Scaling
Follow-up. Filed rdar:\\42735829
42735829
1Attachments
Image Scaling When Returning From UIImagePickerController
Created on July 30 2018, 12:01 PM for iOS + SDK
Close
Follow-up. Filed rdar:\\42735829
42735829
1Attachments
Image Scaling When Returning From UIImagePickerController
Created on July 30 2018, 12:01 PM for iOS + SDK
Close
|
By
Rick Aurbach
·
#641
·
|
|
Re: UIImageView Scaling
Steve,
I know I’ve tried various things to force a re-layout, but obviously not that.
Your solution worked in my app beautifully. Thank you so much for the suggestion.
I will follow up by filing a
Steve,
I know I’ve tried various things to force a re-layout, but obviously not that.
Your solution worked in my app beautifully. Thank you so much for the suggestion.
I will follow up by filing a
|
By
Rick Aurbach
·
#640
·
|
|
Re: UIImageView Scaling
Hi Rick,
Sorry I didn't reply sooner but the day job got in the way. I just tried out your test app on my iPhone. I ended up adding overrides of viewWillLayoutSubviews() and viewDidLayoutSubviews()
Hi Rick,
Sorry I didn't reply sooner but the day job got in the way. I just tried out your test app on my iPhone. I ended up adding overrides of viewWillLayoutSubviews() and viewDidLayoutSubviews()
|
By
Steve Christensen <punster@...>
·
#639
·
|
|
Re: Time zone crap.
Slightly off topic, but...
Veld or veldt(both Afrikaans and pronounced as “felt") refers to open, uncultivated grassland in southern Africa. “Bush" generally refers to thick vegetation consisting
Slightly off topic, but...
Veld or veldt(both Afrikaans and pronounced as “felt") refers to open, uncultivated grassland in southern Africa. “Bush" generally refers to thick vegetation consisting
|
By
B T Small
·
#638
·
|
|
Re: UIImageView Scaling
Yup. It disturbs me too.
But unless UIImagePickerController is doing something funky behind the scenes, then no, I am not doing anything on a background thread, nor am I explicitly making any changes
Yup. It disturbs me too.
But unless UIImagePickerController is doing something funky behind the scenes, then no, I am not doing anything on a background thread, nor am I explicitly making any changes
|
By
Rick Aurbach
·
#637
·
|
|
Re: Time zone crap.
Guys, you are epic beyond all expectation.
You do realize that this fucks security transactions for a large part of GMT + 1, right?
Like major fucks, right?
And through your help now we know..
There
Guys, you are epic beyond all expectation.
You do realize that this fucks security transactions for a large part of GMT + 1, right?
Like major fucks, right?
And through your help now we know..
There
|
By
Alex Zavatone
·
#636
·
|
|
Re: Time zone crap.
AHA!
I tried them all.
Fun times!
It is called the veld, is it not? Must I send you a photo from the Cape Town Fish Market which sadly is in Windhoek.
Biltong saves lives
AHA!
I tried them all.
Fun times!
It is called the veld, is it not? Must I send you a photo from the Cape Town Fish Market which sadly is in Windhoek.
Biltong saves lives
|
By
Alex Zavatone
·
#635
·
|
|
Re: Time zone crap.
In a capital and it was jacked in Doha and Windhoek.
Good data though.
In a capital and it was jacked in Doha and Windhoek.
Good data though.
|
By
Alex Zavatone
·
#634
·
|
|
Re: Time zone crap.
You can try
zdump -v /usr/share/zoneinfo.default/Africa/Windhoek
To understand what your system thinks is the timezone in Windhoek, on my system the latest lines
You can try
zdump -v /usr/share/zoneinfo.default/Africa/Windhoek
To understand what your system thinks is the timezone in Windhoek, on my system the latest lines
|
By
Giacomo Tufano
·
#633
·
|
|
Re: Time zone crap.
It seems that Namibia recently changed the timezone permanently (cfr. https://support.microsoft.com/en-us/help/4074837/time-zone-and-dst-changes-in-windows-for-northern-cyprus-sudan-and-ton , sorry
It seems that Namibia recently changed the timezone permanently (cfr. https://support.microsoft.com/en-us/help/4074837/time-zone-and-dst-changes-in-windows-for-northern-cyprus-sudan-and-ton , sorry
|
By
Giacomo Tufano
·
#632
·
|
|
Re: Time zone crap.
Hi Alex,
Sorry to hear of your problem. I’m in Johannesburg, I’ve included my setting below which may help.
Note that I set the region to Apple Europe and the system detects Johannesburg (if it
Hi Alex,
Sorry to hear of your problem. I’m in Johannesburg, I’ve included my setting below which may help.
Note that I set the region to Apple Europe and the system detects Johannesburg (if it
|
By
B T Small
·
#631
·
|
|
Re: Time zone crap.
AFAIK cell phones can determine time accurately via the cell transmission, so they are always accurate. Macs, and iOS devices without cell chips, on the other hand, don’t have that benefit nor a GPS
AFAIK cell phones can determine time accurately via the cell transmission, so they are always accurate. Macs, and iOS devices without cell chips, on the other hand, don’t have that benefit nor a GPS
|
By
Keary Suska
·
#630
·
|
|
Re: UIImageView Scaling
No worries about disagreements: you're looking at the code and I'm getting the condensed version in your description.
Your comment about timing being an issue disturbs me since, ideally, the behavior
No worries about disagreements: you're looking at the code and I'm getting the condensed version in your description.
Your comment about timing being an issue disturbs me since, ideally, the behavior
|
By
Steve Christensen <punster@...>
·
#629
·
|
|
Re: Time zone crap.
This sounds like something for Radar. So far, travelling the well-known world (the oddest being the canary islands), I have had any issues with that.
I have been tracking the back-and-forth of the
This sounds like something for Radar. So far, travelling the well-known world (the oddest being the canary islands), I have had any issues with that.
I have been tracking the back-and-forth of the
|
By
Alexander von Below
·
#628
·
|