|
WkWebView with URLSchemeHandler
macOS 15.4; Xcode Version 11.4 (11E146)
I have a window with a WkWebView.
This WkWebView should handle a special scheme.
The only way to do this that I know of, is:
@IBOutlet var wkWebView:
macOS 15.4; Xcode Version 11.4 (11E146)
I have a window with a WkWebView.
This WkWebView should handle a special scheme.
The only way to do this that I know of, is:
@IBOutlet var wkWebView:
|
By
Gerriet M. Denkmann
·
#1247
·
|
|
Re: Correcting scrollbar after app state restoration
Thanks for pointing out that method. I tried it, but it didn't work. Not sure when the scrollbar is being restored to a stupid value. But, I've added predicate restoration, and that solves it. I also
Thanks for pointing out that method. I tried it, but it didn't work. Not sure when the scrollbar is being restored to a stupid value. But, I've added predicate restoration, and that solves it. I also
|
By
Steve Mills
·
#1246
·
|
|
Re: Correcting scrollbar after app state restoration
You can send reflectScrolledClipView: to the NSScrollView instance after state restoration.
But it should basically never be necessary to call this method manually, so even if it fixes it, something
You can send reflectScrolledClipView: to the NSScrollView instance after state restoration.
But it should basically never be necessary to call this method manually, so even if it fixes it, something
|
By
Allan Odgaard <groups-io@...>
·
#1245
·
|
|
Re: Correcting scrollbar after app state restoration
You can send reflectScrolledClipView: to the NSScrollView instance after state restoration.
But it should basically never be necessary to call this method manually, so even if it fixes it, something
You can send reflectScrolledClipView: to the NSScrollView instance after state restoration.
But it should basically never be necessary to call this method manually, so even if it fixes it, something
|
By
Allan Odgaard <groups-io@...>
·
#1244
·
|
|
Re: Correcting scrollbar after app state restoration
Hmm. I'd have to restore the search predicate. That should be doable, but it rubs me the wrong way that a document, when restored, only shows the last subset of items instead of showing everything.
Hmm. I'd have to restore the search predicate. That should be doable, but it rubs me the wrong way that a document, when restored, only shows the last subset of items instead of showing everything.
|
By
Steve Mills
·
#1243
·
|
|
Re: Correcting scrollbar after app state restoration
You need to save and restore the state of the data being shown as well. If you use an IndexSet for your sub-collection, you could use, save and restore that.
--
Glenn L. Austin, Computer Wizard and
You need to save and restore the state of the data being shown as well. If you use an IndexSet for your sub-collection, you could use, save and restore that.
--
Glenn L. Austin, Computer Wizard and
|
By
Glenn L. Austin
·
#1242
·
|
|
Correcting scrollbar after app state restoration
I've noticed that the vertical scrollbar in the scroll view for my collection view is wrong after app restoration. This happens if the full collection (via CoreData) has, say 1000 items in it, then I
I've noticed that the vertical scrollbar in the scroll view for my collection view is wrong after app restoration. This happens if the full collection (via CoreData) has, say 1000 items in it, then I
|
By
Steve Mills
·
#1241
·
|
|
Re: CoreData in Objective-C in Xcode 11
The language used for creating NSManagedObject (not MOC) subclasses is set in the data model’s file inspector. It defaults to Swift.
Core Data data models also support automatic code generation,
The language used for creating NSManagedObject (not MOC) subclasses is set in the data model’s file inspector. It defaults to Swift.
Core Data data models also support automatic code generation,
|
By
Chris Hanson
·
#1240
·
|
|
Re: CoreData in Objective-C in Xcode 11
It works as expected in Xcode 10. : /
It works as expected in Xcode 10. : /
|
By
Alex Zavatone
·
#1239
·
|
|
Re: CoreData in Objective-C in Xcode 11
Check the entity inspector in the model file. As I recall, there are options for auto-creating Obj-C it Swift class files, or manual if you want to create and edit the class files yourself. Perhaps
Check the entity inspector in the model file. As I recall, there are options for auto-creating Obj-C it Swift class files, or manual if you want to create and edit the class files yourself. Perhaps
|
By
Steve Christensen <punster@...>
·
#1238
·
|
|
CoreData in Objective-C in Xcode 11
I’m going through Chris Eidhof’s Core Data tutorial here https://www.objc.io/issues/4-core-data/full-core-data-application/ and noticed something that ends up creating a build error directly after
I’m going through Chris Eidhof’s Core Data tutorial here https://www.objc.io/issues/4-core-data/full-core-data-application/ and noticed something that ends up creating a build error directly after
|
By
Alex Zavatone
·
#1237
·
|
|
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
·
|