> On Sat 10.02.2024, at 11.16, Dragan Milić via Cocoa-dev wrote:
>
> Hello all,
>
> I’ve finally changed my main development platform to macOS 14 Sonoma and
> almost immediately have I encountered something I consider being a bug. I
> searched for similar issues, but now
Hello all,
I’ve finally changed my main development platform to macOS 14 Sonoma and almost
immediately have I encountered something I consider being a bug. I searched for
similar issues, but nowhere have I found any relevant information or help.
The issue is rather funny; if you have a subview
Hi all,
I’ve never used NSFileCoordinator class, simply because I haven’t had any need
for it until now. And now that I’m about to need it rather soon, I’m trying to
get a grasp on it, but it does’t go very well so far. Even though the
documentation reads pretty clear, I don’t seem to get it co
Since my question is about specific Cocoa API, but it also involves file system
operations, I don't know it the appropriate place to ask is here or
Filesystem-dev list, so I'll ask on both (and hope nobody will mind it :-))
I have an application, which "messes" with files in different ways. It c
Hi all,
I have a simple problem, but I’m not able to solve it in an easy way, so I
suspect I’m doing something wrong.
I have a simple view-based NSTableView, which is a dragging source. The data
being dragged are provided to the pasteboard using the standard data source
method - [NSObject tabl
> On 20. 10. 2022., at 01:22, Sandor Szatmari wrote:
>
> I have a status item and in order to get it to show I have to call this in my
> code that orders in the view/window
>
>[[NSApplication sharedApplication] activateIgnoringOtherApps:YES]
>
> I have no idea if this is the best way to acc
igured out what the
problem is. But I also realised I’ve come to some wrong conclusions before, so
I want to correct myself as well so that nobody here is left confused by them.
I’ll do that first…
> On 18. 10. 2022., at 18:43, Dragan Milić wrote:
>
> This issue isn’t related to th
> On 18. 10. 2022., at 19:11, Alex Zavatone wrote:
>
> I am speaking from an iOS perspective but, is there something like
> makeFirstResponder?
Yes, there is. It should be sent to an NSWindow instance and I tried to do that
in -[NSMenuDelegate menuNeedsUpdate:], or -[NSMenuDelegate menuWillOpen
Hi all,
I’m developing a tiny application, which has an NSStatusItem instance with a
menu. One for the menu items of the menu has a custom view, which is either an
NSTextField instance, or in can even be an NSView instance containing the
NSTextField instance (the latter approach enables me to a
> On 4 Aug 2021, at 12:30, RhapSoft Feedback wrote:
>
> Hi Dragan,
>
> I experienced a similar crash with my Mac app recently when using recent
> versions of Xcode.
> I found a way to fix it:
> I added the CoreData framework explicitly in the target dependency setting as
> it was not present.
>
Not really Cocoa but more Xcode/SDK problem, but still…
I’ve got a Mac application, which uses CoreData. The usage of the framework is
rather moderate, nothing really fancy about it. The application is build with
SDK 11 (1Big Sur), but the minimal deployment target is Sierra (10.12).
The last “
On 27 May 2021, at 20:48, Jens Alfke wrote:
>> On May 27, 2021, at 11:17 AM, Dragan Milić via Cocoa-dev
>> wrote:
>>
>> I’ve got an application, which uses (a couple of) XPC service(s) to
>> accomplish various tasks. Since recently, I don’t know when exactly but
Hi all,
I’ve got an application, which uses (a couple of) XPC service(s) to accomplish
various tasks. Since recently, I don’t know when exactly but probably after
some macOS update, I started seeing these messages coming out when XPC services
are used:
[connection] nw_endpoint_handler_set_adap
Reading Keychain Services docs on and on and I can’t seem to find a way to
access the keychain, which in Keychain Access application appears as “iCloud”.
I’ve got no idea what its path could be so I could use SecKeychainOpen(), it
isn’t in the default list returned by SecKeychainCopySearchList()
> čet 05.11.2020., at 20:57, Rob Petrovec wrote:
>
> Check out NSTableViewStylePlain
Yes Rob, that was it, thanks a lot!! And now I feel quite stupid, trying all
complicated things (described in my second message), while it’s so very simple
:-)
To my defence, that value stands somehow apart, b
… trying again, as the stupid DTK machine suddenly reseted itself (it does that
regularly) and incomplete message was somehow sent on booting back!!
What would be the best approach to set custom insets of the contentView
(NSClipView) of a NSScrollView? I’ll try to describe the problem in more
d
Hi all,
What would be the best approach to set custom insets of the contentView
(NSClipView) of a NSScrollView? I’ll try to describe the problem in more
details…
I’m trying to make and application look nice on upcoming Big Sur. The fact that
Apple has made it so hard for an application (with r
Hello,
My question is not strictly related to Cocoa and I apologise for that, but this
place seems to be the only useful resource for macOS related development and
looking for information and questions (apart from noisy stack overflow).
Secondly, I’m not very experienced in cryptography and rel
> čet 21.11.2019., at 23.43, Pascal Bourguignon wrote:
>
> It’s not like children not being happy.
That comment was related to “I’m leaving this place” announcement, probably
because “most of you don’t agree with what I find ‘valid concerns’ so I’m
leaving”. That’s exactly how it sounded to me.
> čet 21.11.2019., at 23.06, Matthew Kozak wrote:
>
> Wow.
> Debate (even heated) about Cocoa-dev (broadly) is one thing, but the personal
> attacks, and attack on the list itself to the point of rage quitting, are all
> unnecessary. Before sending messages, please look in the mirror and say th
> ćet 21.11.2019., at 21.20, Pier Bover wrote:
>
> It's time for me to leave this mailing list.
Yeah! Good bye!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the mod
> pet 04.10. 2019., at 11.51, Jeremy Hughes via Cocoa-dev wrote:
>
> It wasn’t clear to us (outside Apple) that Carbon was a temporary API until
> 2007, when Apple suddenly abandoned 64-bit Carbon.
I don’t agree. The first version of macOS predecessor (Rhapsody) shipped only
with “Yellow Box” (
> čet 03.10.2019., at 10.53, Matthew Kozak via Cocoa-dev wrote:
>
> Well, actually:
> http://www.eat-more-burgers.com/blog/drugstore-burger
> (couldn't resist).
>
> Maybe more like going to a drug's manufacturing plant to complain about your
> PBM (pharmacy benefits manager), but yeah.
Touché!
> čet 03.10.2019., at 00.49, John Randolph via Cocoa-dev wrote:
>
> Speaking as a former moderator of this list, this thread is off-topic for
> Cocoa-dev. This list is for TECHNICAL discussion and help.
> Kindly take it to reddit or wherever else the denizens of
> comp.sys.mac.advocacy ended u
> 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 using that too.
> pet 26.07.2019., at 03.30, Steve Mills via Cocoa-dev wrote:
>
> On pet 26.10.2019,. at 02.37, Steve Mills via Cocoa-dev wrote:
>
> Use the single image methods instead of adding multiple items.
Do you think of deprecated (as of Lion) one:
-[NSView dragImage:at:offset:event:pasteboard:source:slideBack:] ??
-- Dragan
Hi everyone,
Here's a very straightforward question: starting a dragging session with
-[NSDraggingSession beginDraggingSessionWithItems:event:source:]
and having multiple dragging items automatically adds a badge, showing items
count, to the composited dragging image. Is there any public way
On Jan 24, 2018, at 20.56, Jeremy Hughes wrote:
> Vince has explained why it does matter.
>
> If you change the deployment target to 10.13 (which you probably don’t want
> to do) the application icons should no longer be duplicated. They’re
> currently being duplicated for backwards compatibili
On Jan 24, 2018, at 20.03, Jeremy Hughes wrote:
> I posted a related question in https://apple-dev.groups.io/g/xcode/
> ("Assets.car is much larger for High Sierra builds”) but I didn’t get much in
> the way of a reply.
Yeah, my problem is not exactly related. But thanks for the link, I didn't
My question is Xcode/ibtool related and not Cocoa, but since Xcode-users list
is decommissioned quite some time ago, and related subtopic in Apple Dev Forum
isn't very active, I hope you won't mind me asking here, since I couldn't fine
explanation anywhere else.
I've finally upgraded to macOS 1
On sre 20.09.2017., at 15.26, Steve Mills wrote:
> It is, sadly, deprecated, you know. NSCollectionView is a laughable
> replacement. My apps using IKImageBrowserView started autoscrolling to the
> bottom starting in 10.12, IIRC. Trying to replace them with NSCollectionView
> was so maddening a
I've got a fairly simply application, with IKImageBrowserView embedded in
NSScrollView, as is the most common case. When running on macOS 10.13 High
Sierra GM and whenever the IKImageBrowserView is presented and there are enough
items in it to make it scrollable, it throws and exception with the
Though it's definitely not an ideal solution, manually removing the container
corresponding to the application's bundle identifier in "~/Library/Containers",
and then relaunching the application
causes the corresponding Application Scripts subfolder to get created.
Thinking more about it, I real
On pet 09.06.2017., at 14.59, Shane Stanley wrote:
> You will get that error if your app isn't correctly code-signed.
I tried with three signing identities (“Mac Development”, “3rd Party Mac
Developer Application” and “Developer ID Application”) and all three behave the
same. The application al
I'm developing a sandboxed application, which should run some scripts and
following sandboxing rules, those should be located in "~/Library/Application
Scripts/com.mydomain.myapp". The application also tries to be friendly to users
and offers them to "install" predefined scripts (bundled in the
I’m trying to make usage of Cocoa UI preservation API, but it seems I got stuck
at the very beginning and even after almost two hours of trying to figure out
what I’m doing wrong, there’s no progress at all. I’m sensing I’m missing
something obvious, but I don’t know what that would be.
Anyhow,
On sre 09.03.2016., at 01.49, Dragan Milić wrote:
> As it becomes common for my recent posts, since the issue is not easy to
> explain in words, I’ve attached a very simple project demonstrating it.
>
> It’s ongoing troubles with NSSplitViews, this time speci
As it becomes common for my recent posts, since the issue is not easy to
explain in words, I’ve attached a very simple project demonstrating it.
It’s ongoing troubles with NSSplitViews, this time specifically with
NSSplitViewController. A sentence from documentation says:
“A split view controll
I’m trying to implement rather complex UI, with a lot of views involved. The
main window should contain one main view (module), which cannot be removed, and
then users can add arbitrary number of additional specific views (modules) and
arrange them on positions to their liking. Those additional
On sre 09.12.2015., at 19.12, Greg Weston wrote:
>> I opened a radar a while back and got this answer:
>>
>> "Shared file lists are no longer supported. There is no exact replacement
>> API.”
>> “If you want to manage your recent documents list, you should use
>> NSDocumentController."
>> “If y
This may not be the appropriate list to ask, but I couldn’t think of any better
place…
Now that (as of El Capitan) complete LSSharedFileList API is deprecated, which
API is one supposed to use to retrieve list of items (in “favorites”, “recent
documents”, “recent servers”, “login items” etc…) a
On pet 13.11.2015., at 11.00, Ken Thomases wrote:
> Hmm. Oh well.
>
> Your screencast of the failing case shows that you have some additional views
> (boxes, it looks like) in the hierarchy, and you haven't explained fully the
> constraints involved.
Just to put some light onto this… I’ve jus
On pet 13.11.2015., at 11.00, Ken Thomases wrote:
> Your screencast of the failing case shows that you have some additional views
> (boxes, it looks like) in the hierarchy, and you haven't explained fully the
> constraints involved.
I put those boxes just to give me some visual indication of ho
On pet 13.11.2015., at 05.18, Ken Thomases wrote:
> Try, as an experiment, leaving out the aspect ratio constraint. If that
> changes the split view behavior, try putting it back but at a priority lower
> than the split view holding priorities.
>
> I suspect the problem is that, as the video p
Hi,
Here comes yet another autolayout question. Before continuing any further I
want to mention that I tried to find an answer searching this mail list
archive, but I couldn’t find anything helpful.
So, there’s this huge application I’m working on, which is all springs & struts
UI developed du
I’m trying to use SplitViewController/NSSplitViewItem (both new in OS X 10.10)
objects combo to control NSSplitView instances in my application.
First off, even though I’ve got the latest version of Apple documentation
installed, it completely omits NSSplitViewItem reference. That class is only
Hello,
I wonder if anyone have got more experience developing Finder Sync extensions
for Yosemite. I believe I figured out some things I’d like to achieve aren’t
possible and I’d like to confirm them. It’s related to FIFinderSync protocol
method - [FIFinderSync menuForMenuKind:]. According to d
On uto 17.03.2015., at 16.39, Kyle Sluder wrote:
> Just so you know, you can link against the 10.8 SDK and set your minimum
> deployment target to 10.7.
Thanks, you were, like, one minute faster than me with my additional reply.
-- Dragan
___
Cocoa-d
On uto 17.03.2015., at 16.11, Dragan Milić wrote:
> On čet 12.03.2015., at 19.15, Chris Cianflone wrote:
>
>> Hi all,
>>
>> We had a similar issue. When running on Yosemite the same thing would
>> happen to us with the focus rings not displaying. Don't
On čet 12.03.2015., at 19.15, Chris Cianflone wrote:
> Hi all,
>
> We had a similar issue. When running on Yosemite the same thing would happen
> to us with the focus rings not displaying. Don't know if this helps in your
> case, but the "fix" for us was to stop building with the 10.7 SDK. M
Hi all,
Documentation states many of NSWorkspace methods cannot be used in a sandboxed
application. I wonder if that applies to registering and receiving
NSWorkspaceDidMountNotification and NSWorkspaceDidUnmountNotification
notifications.
I have a situation in which a sandboxed application (wi
My previous message sent to the list apparently didn’t get admin approval,
there were two attached images showing standard alarm panels with buttons which
don’t draw their focus ring. Therefore, in this message I’ll combine answers to
both Kyle and Graham.
On pon 09.03.2015., at 17.48, Kyle Slu
On pon 09.03.2015., at 16.33, Motti Shneor wrote:
>> Date: 9 במרץ 2015 בשעה 11:58:11 GMT+2
>> From: Dragan Milić
>> Subject: Re: All buttons lost focus ring on Yosemite
>> To: Cocoa-dev
>>
>> On pet 06.03.2015., at 18.37, Kyle Sluder wrote:
>>
&g
On pet 06.03.2015., at 18.37, Kyle Sluder wrote:
> On Fri, Mar 6, 2015, at 10:49 AM, Dragan Milić wrote:
>
>> Thanks for the suggestion. A bad category was something I also thought could
>> be the reason for this behaviour, but it looks like it isn’t. There are no
>>
On uto 17.02.2015., at 01.04, Corbin Dunn wrote:
> On Feb 12, 2015, at 6:40 AM, Dragan Milić wrote:
>
>> I’m dealing with a rather strange issue. When running my application on
>> Yosemite, all buttons lose focus ring (when having focus). When I say all, I
>> mean abso
I’m dealing with a rather strange issue. When running my application on
Yosemite, all buttons lose focus ring (when having focus). When I say all, I
mean absolutely ALL buttons, even those in standard alert panels and sheets. I
can move focus between buttons using keyboard without any problem (p
On sre 13.08.2014., at 02.30, Douglas Davidson wrote:
> NSSpellChecker uses DO to connect with the spellchecker process. It properly
> handles any exceptions that may result, so these exceptions would be caught
> and handled and you do not need to be reporting them.
Thanks, so they can be safe
I'm getting exception reports from users of an application I'm working on that
I cannot reproduce. The exception comes from the NSSpellChecker instance, and
the trace looks something like this:
NSObjectInaccessibleException
NSDistantObject (0x62279bc0) is invalid (no connection)
0x7fff91c
A couple of users have reported getting quite some (sometimes a lot, like
hundreds or thousands) logging errors coming from my application (OS X). The
logs state something like this:
: CGContextRotateCTM: invalid context 0x0. This is a serious error. This
application, or a library it uses, is
Is it possible to set a QTMovieLayer (yes, I know it's deprecated in 10.9) as
the IKImageBrowserCellForegroundLayer of an IKImageBrowserCell? If I do so in
cell's -layerForType: method and then play a movie associated with the layer, I
can hear the audio track, but there's no movie rendering abo
Again replying to myself…
On pon 10.02.2014., at 11.59, Dragan Milić wrote:
> The remaining issue is that strings drawn on the layer (using standard string
> drawing methods) still don't have antialiasing.
This is also solved, perhaps it may help someone else to:
https://develope
Okay, replying to myself here…
On pon 10.02.2014., at 10.30, Dragan Milić wrote:
> I haven't done many things with CALayers in the past, so maybe I'm missing
> some setting to make this work, but it doesn't look like that looking at that
> class' public API. On the
I'm trying to use IKImageBrowser class for something which is supposed to
resemble Finder's icon view appearance. Hence, I need quite customized item
titles, e.g. multiline string, oval gradient background (like Finder's label
indicators), etc. Customizing item's title frame and views title (set
Hi all,
Is there any API (or any other way) to read user settings for the Notification
Center in OS X 10.8 (e.g. whether user notifications are enabled for a
particular application)? The only thing I can find is some kind of database
(.db) file located in the "~/Library/Application Support/Noti
I use QL API in my application to preview all kind of files (the application is
actually a kind of file browser). Before going into real problems, I just want
to say I'm just using simple QLPreviewPanel, no hacks or tweaks of any kind.
Also, I'm not using any private or non-documented APIs. I al
Just an update on this issue:
On čet 23.02.2012., at 20.00, Greg Parker wrote:
> Yep, that's CFRelease(NULL), plus ExceptionHandling.framework catching the
> Unix signal and trying to turn it into an Objective-C exception.
>
> That background thread is part of NSCache. This could be a bug in yo
First of all, I apologise if this is not the right topic for this list.
Some beta testers of an application I'm working on experience rather strange
and sudden crashes, very often when the application is doing nothing, just
sitting idle in the background. The crash happens in a thread named
"co
On pet 21.10.2011., at 15.41, Dragan Milić wrote:
> Hello,
>
> This may not be strictly related to Cocoa, but I'm willing to use any API
> that can serve the purpose and perhaps something like that exists in Cocoa, I
> just don't know of it.
>
> So, I want
On pet 21.10.2011., at 15.41, Dragan Milić wrote:
> Hello,
>
> This may not be strictly related to Cocoa, but I'm willing to use any API
> that can serve the purpose and perhaps something like that exists in Cocoa, I
> just don't know of it.
>
> So, I want
Hello,
This may not be strictly related to Cocoa, but I'm willing to use any API that
can serve the purpose and perhaps something like that exists in Cocoa, I just
don't know of it.
So, I want to mount shared volume(s) that reside on the same server. I use
FSMountServerVolumeAsync() function,
On sre 01. 07. 2009., at 03:28, Alex Kac wrote:
I don't see how Apple makes it difficult.
This was a comment about Apple rendering all 3rd party CM plug-ins
completely obsolete and useless.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Hello everyone,
I'd firstly like just to mention that I'm not a premium ADC member and
I've had the bare bones Snow Leopard 10A380 build (passed as a asset
from a fellow developer, who is a premium member), without any new
developer tools or documentation,... So I don't have full insight in
On uto 12. 05. 2009., at 06:54, Michael Ash wrote:
I think you've misunderstood. There is no problem with the fork/exec
approach here.
You actually are spot on with that remark, my knowledge of UNIX system
calls is not very broad, on the contrary it's rather limited I'd say.
Thank you all
On uto 12. 05. 2009., at 01:55, Michael Ash wrote:
2009/5/11 Gwynne Raskind :
This is workable, but make sure you use a fork()/exec() pair to re-
execute
yourself in that case, and use argc/argv in your main() to
determine which
mode to run in. Don't just use fork() by itself - there are seve
On uto 12. 05. 2009., at 01:52, Michael Ash wrote:
2009/5/11 Dragan Milić :
On pon 11. 05. 2009., at 20:07, Douglas Davidson wrote:
On May 11, 2009, at 10:53 AM, Dragan Milić wrote:
Is there any way to initialise and use WebKit out of the main
thread?
No, there isn't. This
On uto 12. 05. 2009., at 00:16, Stephen J. Butler wrote:
2009/5/11 Dragan Milić :
So, I assume creating attributed strings is not thread safe, but I
don't
remember anything like that stated in the documentation. In my
opinion, that
looks like a bug.
It is thread safe... if you sti
On pon 11. 05. 2009., at 20:07, Douglas Davidson wrote:
On May 11, 2009, at 10:53 AM, Dragan Milić wrote:
Is there any way to initialise and use WebKit out of the main thread?
No, there isn't. This is a fundamental restriction on the use of
WebKit.
Yes, I know. I just hoped ther
Hello all,
Is there any way to initialise and use WebKit out of the main thread?
I know this message may look like good candidate for the Webkit-dev
mailing list, but I actually don't want to use WebKit directly, it's
just a consequence of trying to create NSAttributedString instance
from
Hell all,
Let's suppose I've got NSString @"C:omponent" , which represents the
name of a file. Is there a way to instruct NSString class not to treat
a leading single letter followed by a column as a path separator?
Namely, I need this one treated as only one path component
@"C:omponent",
Hello all,
Is there any way of saving paginated multipage PDF created with
NSPrintOperation into memory? What I need to do is to create multiple
PDF out of the NSTextView and put it into the memory buffer. The PDF
document should be properly paginated, and NSTextView can hold RTFD
attribu
Hi all.
Now, I really sincerely apologise for bringing this thread into life
again and for probably abusing the list, since the topic is not
strictly Cocoa, so if moderators mind this, just don't approve the
message. But I need to ask a bit of advice related to privileged
reading/writing
81 matches
Mail list logo