|
Re: Action on Pop
Ben,
Thanks. You're right. I was getting hung up by thinking that I had to combine the updating of the model and the updating of the UI that displays model elements. But in fact, I can update the
Ben,
Thanks. You're right. I was getting hung up by thinking that I had to combine the updating of the model and the updating of the UI that displays model elements. But in fact, I can update the
|
By
Rick Aurbach
·
#1236
·
|
|
Re: Action on Pop
Hey Rick,
Pass a reference to the data model to the incoming view controller as it’s initialized for pushing onto the stack. The view controller can then make changes to the model as they happen,
Hey Rick,
Pass a reference to the data model to the incoming view controller as it’s initialized for pushing onto the stack. The view controller can then make changes to the model as they happen,
|
By
Ben Kennedy
·
#1235
·
|
|
Action on Pop
iOS 13+, Xcode 11.4.1, Storyboard-based application.
I am using a navigation stack to manage some data edits. That is,
• nav-controller root is a list of items.
• tap on item to segue to a
iOS 13+, Xcode 11.4.1, Storyboard-based application.
I am using a navigation stack to manage some data edits. That is,
• nav-controller root is a list of items.
• tap on item to segue to a
|
By
Rick Aurbach
·
#1234
·
|
|
Re: [OT] AppleScript List
I subscribed to this, but I am unable for post to the list. I’m not sure how long they take to activate the account?
I subscribed to this, but I am unable for post to the list. I’m not sure how long they take to activate the account?
|
By
Dave
·
#1233
·
|
|
Re: [OT] AppleScript List
Hi,
I posted to it, but it doesn’t seem to be working, and not received any mail from it since 2016!
Cheers
Dave
Hi,
I posted to it, but it doesn’t seem to be working, and not received any mail from it since 2016!
Cheers
Dave
|
By
Dave
·
#1232
·
|
|
Re: [OT] AppleScript List
Hi,
I registered for it, but haven’t I haven’t had an acknowledgement? Could you check for me?
dave@...
Cheers
Dave
Hi,
I registered for it, but haven’t I haven’t had an acknowledgement? Could you check for me?
dave@...
Cheers
Dave
|
By
Dave
·
#1231
·
|
|
Re: [OT] AppleScript List
It's still alive today.
--
Shane Stanley <sstanley@...>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>
It's still alive today.
--
Shane Stanley <sstanley@...>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>
|
By
Shane Stanley
·
#1230
·
|
|
Re: [OT] AppleScript List
And here: https://macscripter.net
Bill Cheeseman
And here: https://macscripter.net
Bill Cheeseman
|
By
Bill Cheeseman
·
#1229
·
|
|
Re: [OT] AppleScript List
Why, there's an AppleScript list right here: https://apple-dev.groups.io/g/applescript
—Jens
Why, there's an AppleScript list right here: https://apple-dev.groups.io/g/applescript
—Jens
|
By
Jens Alfke
·
#1228
·
|
|
[OT] AppleScript List
Hi,
I see that the old AppleScript list that was hosted by Apple is no more, does anyone know of an alternative?
Thanks a lot
Dave
Hi,
I see that the old AppleScript list that was hosted by Apple is no more, does anyone know of an alternative?
Thanks a lot
Dave
|
By
Dave
·
#1227
·
|
|
Re: Crash, but only in release version
Of course, as soon as I sent the message, I figured out a way to do the debugging, by setting the optimisation level for the debug version. So now I can see where the problem is, sort of.
It's weird.
Of course, as soon as I sent the message, I figured out a way to do the debugging, by setting the optimisation level for the debug version. So now I can see where the problem is, sort of.
It's weird.
|
By
John Brownie
·
#1226
·
|
|
Re: Crash, but only in release version
One thing I forgot is if you are debugging a release version (I expect that this is a Mac app), you may want to make sure that you are not stripping debug symbols.
One thing I forgot is if you are debugging a release version (I expect that this is a Mac app), you may want to make sure that you are not stripping debug symbols.
|
By
Alex Zavatone
·
#1225
·
|
|
Re: Crash, but only in release version
Report the properties of the URL beforehand. At one case, I even had my old reporter get the properties, put them in a string and mail them to a specific email account to see what was going on.
You
Report the properties of the URL beforehand. At one case, I even had my old reporter get the properties, put them in a string and mail them to a specific email account to see what was going on.
You
|
By
Alex Zavatone
·
#1224
·
|
|
Crash, but only in release version
I am getting a crash, but only in the release version. I get a very helpful "Error 1" if I try to debug the release version, and logging doesn't get me anything, as the crash prevents the log entry
I am getting a crash, but only in the release version. I get a very helpful "Error 1" if I try to debug the release version, and logging doesn't get me anything, as the crash prevents the log entry
|
By
John Brownie
·
#1223
·
|
|
Re: Strange controls behaviour in sheet modal window
Hi Graham,
I have just encountered this exact same issue, and indeed, keeping a copy around of my window solved the issue. The approach that I took was a little different though and did not require me
Hi Graham,
I have just encountered this exact same issue, and indeed, keeping a copy around of my window solved the issue. The approach that I took was a little different though and did not require me
|
By
jader.feijo@...
·
#1222
·
|
|
Re: String handling not working — am I going nuts?
You've also removed support for Unix line endings. Now it only supports Windows line endings; probably a bad idea.
I'm mystified too, but IMHO enumerateLines is a better way to do it.
—Jens
You've also removed support for Unix line endings. Now it only supports Windows line endings; probably a bad idea.
I'm mystified too, but IMHO enumerateLines is a better way to do it.
—Jens
|
By
Jens Alfke
·
#1221
·
|
|
Re: String handling not working — am I going nuts?
Ok, I still don’t understand what’s going on, but I’ve got an alternative solution. (Maybe somebody can clarify this for me??)
WHAT DOESN’T WORK IN MY CONTEXT:
do {
var str = try
Ok, I still don’t understand what’s going on, but I’ve got an alternative solution. (Maybe somebody can clarify this for me??)
WHAT DOESN’T WORK IN MY CONTEXT:
do {
var str = try
|
By
Rick Aurbach
·
#1220
·
|
|
Re: manual item enabling
Hi Kurt, re-reading the documentation on basic event handling might help:
EventArchitecture.html
particularly “The Path of Key Events”, and “Handling Key Equivalents"
Note that I mentioned
Hi Kurt, re-reading the documentation on basic event handling might help:
EventArchitecture.html
particularly “The Path of Key Events”, and “Handling Key Equivalents"
Note that I mentioned
|
By
Graham Cox
·
#1219
·
|
|
Re: String handling not working — am I going nuts?
Oh. Yeah. That’s too much work.
var str = try String(contentsOf: urlContext.url) // (1)
let lines = str.split(separator: “\r\n”) // (3)
works and is faster in that you’ve removed an
Oh. Yeah. That’s too much work.
var str = try String(contentsOf: urlContext.url) // (1)
let lines = str.split(separator: “\r\n”) // (3)
works and is faster in that you’ve removed an
|
By
Marco S Hyman
·
#1218
·
|
|
Re: String handling not working — am I going nuts?
Doesn't Swift's String class have higher-level methods to break a string by lines? NSString certainly did.
—Jens
Doesn't Swift's String class have higher-level methods to break a string by lines? NSString certainly did.
—Jens
|
By
Jens Alfke
·
#1217
·
|