|
Re: When does AppDelegate:applicationDidFinishLaunching get called?
Since you referenced a Window, I’m assuming MacOS application, not iOS. Probably the same, but not sure since I don’t program for iOS.
According to the documentation,
Since you referenced a Window, I’m assuming MacOS application, not iOS. Probably the same, but not sure since I don’t program for iOS.
According to the documentation,
|
By
Jonathan Prescott
·
#1147
·
|
|
Re: When does AppDelegate:applicationDidFinishLaunching get called?
The thing is, this Code is supposed to initialize the App Sub-system before any other parts of the App get called. If I put it in AwakeFromNib then the initalization will be dependant of which Window
The thing is, this Code is supposed to initialize the App Sub-system before any other parts of the App get called. If I put it in AwakeFromNib then the initalization will be dependant of which Window
|
By
Dave
·
#1146
·
|
|
Re: When does AppDelegate:applicationDidFinishLaunching get called?
Hi,
It seems that whichever method I use, the view get called first. I need a way of initialising App Sub-systems before any view gets called. I’m not sure if this has changed or not or whether its
Hi,
It seems that whichever method I use, the view get called first. I need a way of initialising App Sub-systems before any view gets called. I’m not sure if this has changed or not or whether its
|
By
Dave
·
#1145
·
|
|
Re: When does AppDelegate:applicationDidFinishLaunching get called?
-(void)awakeFromNib might work for you.
Sandor
-(void)awakeFromNib might work for you.
Sandor
|
By
Sandor Szatmari
·
#1144
·
|
|
Re: When does AppDelegate:applicationDidFinishLaunching get called?
You can also look at other methods in the AppDelegate, such as init, applicationWillFinishLaunchingWithOptions and so on.
Just look at the header. They are easy to try.
You can also look at other methods in the AppDelegate, such as init, applicationWillFinishLaunchingWithOptions and so on.
Just look at the header. They are easy to try.
|
By
Alex Zavatone
·
#1143
·
|
|
When does AppDelegate:applicationDidFinishLaunching get called?
Mac Project.
MacOS 10.14.6
Hi All,
I have some code that needs to be initialized before any Window/View are displayed. The App was working ok, but it looks like something has changed?
I have a call
Mac Project.
MacOS 10.14.6
Hi All,
I have some code that needs to be initialized before any Window/View are displayed. The App was working ok, but it looks like something has changed?
I have a call
|
By
Dave
·
#1142
·
|
|
Flipped Views not Appearing Correctly when Loaded from Storyboard
Hi All,
I am using Flipped Views (isFlipped = YES) in a window. The window is loaded from a Storyboard file. Initially the window appears Bottom Up instead of Top Down. When I resize the window all
Hi All,
I am using Flipped Views (isFlipped = YES) in a window. The window is loaded from a Storyboard file. Initially the window appears Bottom Up instead of Top Down. When I resize the window all
|
By
Dave
·
#1141
·
|
|
Re: [OT] Cocoa Developer Needed
> On 13 Dec 2019, at 01:24, Sandor Szatmari <admin.szatmari.net@...> wrote:
>
>
> I’m looking for a macOS developer to join our team in Northern NJ. This is for mid-level candidates or
> On 13 Dec 2019, at 01:24, Sandor Szatmari <admin.szatmari.net@...> wrote:
>
>
> I’m looking for a macOS developer to join our team in Northern NJ. This is for mid-level candidates or
|
By
Dave
·
#1140
·
|
|
How to Initial Views using Manual Layout?
XCode 11
Mac
Hi,
I have the following view hierarchy in a Storyboard
XCode 11
Mac
Hi,
I have the following view hierarchy in a Storyboard
|
By
Dave
·
#1139
·
|
|
Silencing deprecation warnings in Swift
I’m in the process of porting some Obj-C code to Swift. Several Core Data entity properties are marked as deprecated for general use but, at least in several migration methods, they still need to be
I’m in the process of porting some Obj-C code to Swift. Several Core Data entity properties are marked as deprecated for general use but, at least in several migration methods, they still need to be
|
By
Steve Christensen <punster@...>
·
#1138
·
|
|
Specializing NSPredicateEditor
Can anyone think of a way to subclass NSPredicateEditor so a shift-click in the + button will cause the same template as the clicked row to be inserted instead of the next unused template? If there
Can anyone think of a way to subclass NSPredicateEditor so a shift-click in the + button will cause the same template as the clicked row to be inserted instead of the next unused template? If there
|
By
Steve Mills
·
#1137
·
|
|
Where is my crash log?
Console.app told me:
default 22:57:28.157905+0700 ReportCrash Saved crash report for chronyd[15863] version 0 to chronyd_2019-12-14-225728_Spinat.crash
But I cannot find this.
Where should I
Console.app told me:
default 22:57:28.157905+0700 ReportCrash Saved crash report for chronyd[15863] version 0 to chronyd_2019-12-14-225728_Spinat.crash
But I cannot find this.
Where should I
|
By
Gerriet M. Denkmann
·
#1136
·
|
|
[OT] Cocoa Developer Needed
I’m looking for a macOS developer to join our team in Northern NJ. This is for mid-level candidates or higher.
Candidates must be well versed or fluent in the following:
Objective-C/C
SQL
I’m looking for a macOS developer to join our team in Northern NJ. This is for mid-level candidates or higher.
Candidates must be well versed or fluent in the following:
Objective-C/C
SQL
|
By
Sandor Szatmari
·
#1135
·
|
|
Re: Drag & Drop, a lifelong curse
I just thought you might know. It's too complex for me to rejigger it all just to find that answer, and I have it working now, so I don't care. :)
--
Steve Mills
Drummer, Mac geek
I just thought you might know. It's too complex for me to rejigger it all just to find that answer, and I have it working now, so I don't care. :)
--
Steve Mills
Drummer, Mac geek
|
By
Steve Mills
·
#1134
·
|
|
[OT] Cocoa Developer Needed
I’m looking for a macOS developer to join our team in Northern NJ. This is for mid-level candidates or higher.
Candidates must be well versed or fluent in the following:
Objective-C/C
SQL
I’m looking for a macOS developer to join our team in Northern NJ. This is for mid-level candidates or higher.
Candidates must be well versed or fluent in the following:
Objective-C/C
SQL
|
By
Sandor Szatmari
·
#1133
·
|
|
Re: Drag & Drop, a lifelong curse
I suspect you can answer that quicker than me.
--
Shane Stanley <sstanley@...>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>
I suspect you can answer that quicker than me.
--
Shane Stanley <sstanley@...>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>
|
By
Shane Stanley
·
#1132
·
|
|
Re: Drag & Drop, a lifelong curse
Does that give you the multiple images thing where different destinations can rearrange the images in stacks, grids, or whatever? My drag source is a collection view or a table view, so the initial
Does that give you the multiple images thing where different destinations can rearrange the images in stacks, grids, or whatever? My drag source is a collection view or a table view, so the initial
|
By
Steve Mills
·
#1131
·
|
|
Re: Drag & Drop, a lifelong curse
Maybe I'm missing something, but can't you just use this:
[[NSPasteboard generalPasteboard] clearContents];
[[NSPasteboard generalPasteboard] writeObjects:@[url]];
--
Shane Stanley
Maybe I'm missing something, but can't you just use this:
[[NSPasteboard generalPasteboard] clearContents];
[[NSPasteboard generalPasteboard] writeObjects:@[url]];
--
Shane Stanley
|
By
Shane Stanley
·
#1130
·
|
|
Re: Drag & Drop, a lifelong curse
After just trying all kinds of random crap, I got it to work. Turns out, if you call [url pasteboardPropertyListForType:NSPasteboardTypeFileURL], you can't use that with [pbItem setPropertyList:thing
After just trying all kinds of random crap, I got it to work. Turns out, if you call [url pasteboardPropertyListForType:NSPasteboardTypeFileURL], you can't use that with [pbItem setPropertyList:thing
|
By
Steve Mills
·
#1129
·
|
|
Drag & Drop, a lifelong curse
OK, so after "modernizing" my app to add multiple drag items (flavor NSPasteboardTypeFileURL) to the drag clipboard instead of just one with multiple flavors (NSFilenamesPboardType and
OK, so after "modernizing" my app to add multiple drag items (flavor NSPasteboardTypeFileURL) to the drag clipboard instead of just one with multiple flavors (NSFilenamesPboardType and
|
By
Steve Mills
·
#1128
·
|