> On Oct 17, 2020, at 9:57 PM, Andreas Falkenhahn via Cocoa-dev
> wrote:
>
> Hi,
>
> I have an NSView that I set as the content view of my NSWindow. The NSView
> has three subviews. Where should I reposition and resize those three subviews
> when the NSWindow size changes?
>
> I see that
> On Jun 29, 2020, at 15:24, Sandor Szatmari
> wrote:
>
>
>
>> On Jun 28, 2020, at 22:29, じょいすじょん via Cocoa-dev
>> wrote:
>>
>> One way to do this is with the command line tool:
>> caffeinate
>>
>> You could run a background task
One way to do this is with the command line tool:
caffeinate
You could run a background task that starts it with something like
caffeinate -dimsu
You can probably also find its source code on opensource.apple.com to
understand what it does and how.
Like here is a version:
https://opensource.a
Have you tried any of the properties like calendar (NSCalendar), locale
(NSLocale) and timeZone (NSTimeZone) ?
Those are what drive much of NSDateFormatter…
By default they probably inherit from the current system settings or whatever
the app inherits at launch.
Date, time and number formats are
> On Jul 26, 2019, at 10:50, Dragan Milić via Cocoa-dev
> wrote:
>
>> pet 26.07.2019., at 03.08, Rob Petrovec wrote:
>>
>> I would not recommend using those deprecated API. They are not long for
>> this world. With that said, I don’t have a better solution.
>
> Yeah, I’d like ti avoid usi
> On Jul 26, 2019, at 12:19, Steve Mills via Cocoa-dev
> wrote:
>
> On Jul 25, 2019, at 20:50:18, Dragan Milić via Cocoa-dev
> wrote:
>>
>> The thing is, in that dragging session I have to supply a list of URLs, so
>> that other applications expecting URLs (like Finder, for example) would
> On Aug 8, 2017, at 9:09, Jens Alfke wrote:
>
>
>> On Aug 7, 2017, at 5:02 PM, David Hoerl wrote:
>>
>> But then I though - heck, if Foo has NSObject as its super class, gee, maybe
>> -init isn't really need. I mean, if all of Foo's ivars and properties are
>> initialized, its a shortcut,
> On Jul 27, 2017, at 10:13, Conrad Shultz wrote:
>
>
>
>> On Jul 22, 2017, at 7:32 PM, Jens Alfke wrote:
>>
>>
>>> On Jul 21, 2017, at 7:19 PM, Conrad Shultz wrote:
>>>
>>> You can build a Safari extension as an app extension bundled with an app,
>>> meaning you can write your extension
> On Feb 14, 2017, at 1:58, Andreas Falkenhahn wrote:
>
> On 13.02.2017 at 17:33 じょいすじょん wrote:
>
>> Yeah, my first suggestion didn't work, but points out the problem overall in
>> you nib.
>> Looks like somebody did try to edit the xml before and munged it.
at 0:56, Andreas Falkenhahn wrote:
>
> On 13.02.2017 at 16:40 じょいすじょん wrote:
>
>> You have a lot of dupes in your nib file connections.
>
>> For example, select the AppDelegate in the nib in IB, and look at the
>> Connections Inspector.
>> You'll see i
You have a lot of dupes in your nib file connections.
For example, select the AppDelegate in the nib in IB, and look at the
Connections Inspector.
You'll see it has 2 Main Menu referencing outlets.
So it's hitting a random one of the two.
You have this kind of duplication in lots of places in you
You might take a look back at the TextEdit source.
It should be pretty straight forward to save as .rtf or .rtfd, if by table you
mean you have a rich text table.
> On Jan 25, 2017, at 6:35, Peter Hudson wrote:
>
> I was trying to avoid having to go to Direct RTF markup. But as you say, it
>
> On 2016 Dec 15, at 0:47, Andreas Falkenhahn wrote:
>
> I'm creating my GUI programmatically. It simply consists of a UILabel,
> a UITableView and two UIButtons.
>
> When creating those three controls I've noticed that they all seem to
> use different color schemes by default which makes the G
> On 2016 Dec 8, at 9:22, Jens Alfke wrote:
>
>
>> On Dec 7, 2016, at 3:16 PM, Leo wrote:
>>
>> Any attempt to call it with runModal results with the following errors:
>>
>> [General] *** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for
>> empty array
>> [General] (null)
>
> Wha
> On 2016 Dec 7, at 6:27, Carl Hoefs wrote:
>
>>
>> On Dec 6, 2016, at 1:33 PM, Carl Hoefs
>> wrote:
>>
>>> On Dec 6, 2016, at 1:24 PM, David Duncan wrote:
>>>
>>> Your safest bets are to either clear the delegate of the layer at an
>>> appropriate time (possibly in your view controller’s
If this is on 10.10 as was noted earlier, NSCollectionViewFlowLayout is not
available is it?
> On 2016 Nov 7, at 11:34, Rob Petrovec wrote:
>
> I haven’t seen Jean-Daniel’s reply (he likely replied directly to you), but I
> think he is correct. Your best bet is to subclass NSCollectionViewFl
Have you also tried NSWorkspace for this?
> On 2016 Sep 27, at 2:38, Markus Spoettl wrote:
>
> It is an OSX Cocoa GUI application. I have always started it from the command
> line by executing the executable inside the bundle. While this always worked,
> it no longer seems to.
>
> That said,
Have you considered Core Foundation?
https://developer.apple.com/library/ios/documentation/CoreFoundation/Reference/CFNotificationCenterRef/
It is all C
Another alternative is to look at the Objective-C runtime library routines.
You can do a lot with the language from C...
> On 2016 Sep 8, at 1:
> On 2016 Sep 6, at 18:49, Dave wrote:
>
>>
>> Ah.
>> Well in that case, you get accessibility and you need users to allow it
>> once.
>
> I said in my original post - without using Accessibility
>
> Cheers
> Dave
I know. I remember.
Point is, the AX API is your only realistic option to
> On 2016 Aug 27, at 23:31, Keary Suska wrote:
>
>
>> On Aug 27, 2016, at 8:22 AM, じょいすじょん
>> wrote:
>>
>>
>>> On 2016 Aug 27, at 23:09, Keary Suska wrote:
>>>
>>>>
>>>> On Aug 27, 2016, at 5:22 AM, Andreas Fa
> On 2016 Aug 27, at 23:09, Keary Suska wrote:
>
>>
>> On Aug 27, 2016, at 5:22 AM, Andreas Falkenhahn
>> wrote:
>>
>> Consider the following example properties:
>>
>> NSApplication: @property(strong) NSMenu *mainMenu
>> NSFont: @property(readonly, copy) NSString *familyName
>> NSColo
> On 2016 Aug 22, at 23:04, Andreas Falkenhahn wrote:
>
> On 22.08.2016 at 15:49 dangerwillrobinsondan...@gmail.com wrote:
>
>
>>> On Aug 22, 2016, at 10:26 PM, Andreas Falkenhahn
>>> wrote:
>
>>> Does anybody have an idea
>>> what could cause this behaviour on 10.6 and how I can fix this
> On 22 Jul 2016, at 8:22, Uli Kusterer wrote:
>
> On 21 Jul 2016, at 17:20, Graham Cox wrote:
>> One of my apps uses NSTask to wrap a command line utility that is embedded
>> in the same app’s resources. This utility writes files to disk - I have no
>> knowledge of which APIs it uses to do t
Did you do run into any issues with rubberbanding and responsive/momentum
scrolling?
> On Jun 14, 2016, at 1:03 AM, Jens Alfke wrote:
>
> I've done it by subclassing NSScroller. (The code's not open-source, though.)
> As far as I know, that's the only way to do it. It's fairly easy.
>
> —Jens
> On Jun 11, 2016, at 1:43 AM, Kyle Sluder wrote:
>
> On Thu, Jun 9, 2016, at 08:03 PM, George Toledo wrote:
>> I'm having a hard time finding documentation that covers this question...
>>
>> Does Quicklook play audio of a previewed file at the sample rate it was
>> encoded at, or is it somehow
25 matches
Mail list logo