g an unsupported-by-Xcode system. We didn't notice that change and released an
update to our app which targets 10.11 as deployment target.
Regards
Markus
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Coco
SData%2BCompression.m
Is very easy to use and works very well. You need to add "-lz" to the "Other Linker Flags"
linker option in the target build settings of your project.
Regards
Markus
--
______
Markus Spoettl
if it
becomes key by overriding
- (BOOL)becomeFirstResponder
in your subclass and setting a breakpoint there.
Best Regards
Markus
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please d
On 9/3/20 12:15 PM, Markus Spoettl via Cocoa-dev wrote:
On macOS 11 this produces the following exception:
--
-[NSKeyedUnarchiver _validateDecodeCollectionAllowedClassesRequirementsWithClasses:]: This
method only supports decoding non-nested collections. Please
months ago, as any app deserializing such structures would be affected. There must
be thousands.
Regards
Markus
--
______
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post ad
s changed, obviously. Can someone enlighten me how one is supposed to decode
those kinds of objects? It's no option to change the encoding.
Thanks for any pointers
Regards
Markus
--
__________
Markus Spoettl
___
Coco
On 4/28/20 11:23 AM, Markus Spoettl via Cocoa-dev wrote:
- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url
options:(NSDictionary *)options
Just in case anyone is interested, main part of the solution is to wrap the usage of url
inside a
[url startAccessingSecurityScopedResource
permission error.
This worked fine prior to switching to Xcode 11 and the iOS SDK 13, I'm sure I'm just
missing a tiny bit that is now required.
Thanks for any pointers!
Best Regards
Markus
--
__
Markus Spoettl
___
rds
Markus
--
______
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/U
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your
moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/ms_lists%40shiftoption.com
This email sent to ms_li...@shiftoption.com
--
_______
works/libboost_thread.dylib'
I would try to see if the white space in the app's name could trigger this
behaviour.
Best Regards
Markus
--
______
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
rayValueForKey: returns a proxy object that you can use to manipulate the array
instance via the property accessor methods above.
Don't be intimidated, once you get a hang of it, KVO becomes second nature. KVO an
bindings can save you millions o
Thanks again!
Best Regards
Markus
--
__________
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at coco
On 3/21/18 14:26, Markus Spoettl wrote:
It seems the old rule that layer-hosting views must not have sub-views is no
longer
valid. I remember in the old days you couldn't have layer-hosting NSViews that
have
sub-views. I can't find the portion in the documentation that explicitly
.
Can that be right?
If so, does anyone know in which OS version that was changed?
Best Regards
Markus
--
______
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin reques
On 3/13/18 09:42, Markus Spoettl wrote:
I have trouble with NSComboBox in that the data source method -comboBox:completedString:
is not getting called. The combo box in question uses bindings for "Value" and "Content
Values", so I have no other data source met
s turned to YES, the combo box looses its content).
What I really want is implement case insensitive completion, I don't insist on using the
data source if there's another way to do that.
Regards
Markus
--
_______
On 2/19/18 18:56, Quincey Morris wrote:
On Feb 19, 2018, at 01:42 , Markus Spoettl <mailto:ms_li...@shiftoption.com>> wrote:
I'm not sure where the NSAccessibility… keys are defined
https://developer.apple.com/documentation/foundation/nsattributedstringkey
I found a work
r NSShadow, NSTextAttachment and NSCursor.
Of course this looses the attributes real values, but those I don't care about
anyway.
I haven't encountered a cursor attribute yet, though.
Regards
Markus
--
__________
Markus Spoettl
__
On 2/18/18 23:01, Markus Spoettl wrote:
As for additional NSAttributeString "companion" classes, I'm still open for
suggestions.
Sure enough I found other pulprits: NSTextList and NSShadow.
According to the header, NSTextList does not conform to NSSecureCoding, yet this wor
On 2/18/18 22:02, Quincey Morris wrote:
On Feb 18, 2018, at 10:30 , Markus Spoettl <mailto:ms_li...@shiftoption.com>> wrote:
The decoder isn't terribly concerned with where the individual classes will occur, just
that they might.
I was going to reply that it’s stupid that i
Of course that doesn't mean that it will work generally speaking, just for my special
case. I don't mind adding more allowed classes there, any ideas what else I (or rather my
users) might encounter?
Regards
Markus
--
_________
On 2/16/18 23:58, Quincey Morris wrote:
On Feb 16, 2018, at 14:13 , Markus Spoettl wrote:
how can I go about decoding NSAttributedString
I just tried in a playground, and the problem is in NSParagraphStyle, not
NSAttributedString. It looks like it falls foul of the known secure coding
On 2/16/18 23:58, Quincey Morris wrote:
On Feb 16, 2018, at 14:13 , Markus Spoettl wrote:
how can I go about decoding NSAttributedString
I just tried in a playground, and the problem is in NSParagraphStyle, not
NSAttributedString. It looks like it falls foul of the known secure coding
y contain one can make it work.
But how can I go about decoding NSAttributedString, how can I load such a string that
AppKit stored for me just fine.
Regards
Markus
--
______
Markus Spoettl
___
Cocoa-dev mailing li
this might be a sort of glitch. Can anyone confirm
that I have to find a different way to create the same effect?
Regards
Markus
--
__________
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please
-mouseUp: and not call super.
That's simple and effective but may not work for you, for example if you have a
view that depends on/uses mouse interaction, where you can't just kill all mouse
events.
Regards
Markus
--
______
Mark
On 25/02/17 21:01, Quincey Morris wrote:
On Feb 25, 2017, at 11:16 , Markus Spoettl mailto:ms_li...@shiftoption.com>> wrote:
My concern is that my packages can get huge in the 100MB to multiple GB range
with hundreds of folders and thousands of individual files inside. Will the
NSDo
ppKit cope with that?
Best Regards
Markus
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at
ctually does what it says)? I don't want my app to have that feature, but if
it's a file-system background-only thing, then I just might.
Best Regards
Markus
--
__
Markus Spoettl
___
Cocoa-dev mailing li
On 27/09/16 22:57, Chris Hanson wrote:
On Sep 27, 2016, at 1:54 PM, Markus Spoettl wrote:
On 27/09/16 22:39, Chris Hanson wrote:
How are you getting the URL that you pass to represent your application?
Could it be that you’re constructing the URL from a relative path when run
from the
the "open" command works fine for me.
Regards
Markus
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the mo
, but have you tried launching it
with the open command where the argument is the .app bundle vs possibly another
way like the actual executable?
--
Gary L. Wade
http://www.garywade.com/
On Sep 26, 2016, at 2:44 AM, Markus Spoettl mailto:ms_li...@shiftoption.com>> wrote:
I'm using SecStaticCo
On 26/09/16 15:16, Steve Christensen wrote:
What is the error code when it fails?
OSStatus is -67054, which is errSecCSBadResource. Only happens when launched
from the command line.
Markus
--
__
Markus Spoettl
rds
Markus
--
______
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/U
fan.
Regards
Markus
--
__________
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Hel
On 25/01/16 20:05, Markus Spoettl wrote:
By the way, you should consider implementing the observationInfo property on
your observed class. This avoids KVO storing observation info in a side
table. Note that the property is a void pointer, not an object pointer, and
therefore does no memory
iew
controller goes away (all of them at the same time), and that's where the
problem happens.
Regards
Markus
--
__________
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not po
On 25/01/16 18:34, Quincey Morris wrote:
On Jan 25, 2016, at 01:10 , Markus Spoettl mailto:ms_li...@shiftoption.com>> wrote:
Has anyone any idea how the removing of observers can cause this kind of death
spiral?
Genocidal refreshes aside, are you absolutely sure that you’re always
re
.
I wonder if there's a downside to implementing this in all my model objects
other than adding an additional pointer to their data size.
Regards
Markus
--
__________
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa
This is interesting. When I implement this property in the proxy object, the
problem goes away (at least I wasn't able to duplicate it so far). Turn off the
implementation, it comes back. Not really sure what this tells me, though.
Regards
Markus
--
______
rds
Markus
--
______
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscript
On 10/11/15 18:26, Markus Spoettl wrote:
This happens on 10.11 only, not on 10.10. Anyone able to confirm this using own
code? Maybe something is set up incorrectly? Anyone know of a workaround until
this gets fixed (yes, I will file a bug once it's confirmed that it's not my
fault)
wn
code? Maybe something is set up incorrectly? Anyone know of a workaround until
this gets fixed (yes, I will file a bug once it's confirmed that it's not my fault).
Regards
Markus
--
______
Markus Spoettl
___
On 05/10/15 15:50, Markus Spoettl wrote:
Any idea what is going on? I'm running El Capitan in a VMware Fusion 7 that runs
on Yosemite, could this be cause of the crash?
Turns out it's VMware, the app works fine on a real machine. Sorry for the
noise.
Rega
Hi,
On 05/10/15 15:50, Markus Spoettl wrote:
2015-10-05 15:41:23.084 myApp[2807:50961] +[CIImage
createCIImageWithSurfaceBytes:bytesPerRow:x:y:width:height:colorSpace:transform:]:
unrecognized selector sent to class 0x7fff742101e0
2015-10-05 15:41:44.560 myApp[2807:50961] CoreAnimation
in CVDisplayLink::performIO(CVTimeStamp*) ()
#33 0x7fff8f975f45 in CVDisplayLink::runIOThread() ()
#34 0x7fff8f9759a9 in startIOThread(void*) ()
#35 0x000100beb815 in _pthread_body ()
#36 0x000100beb792 in _pthread_start ()
#37 0x000100be8fad in thread_sta
sense. It *is* a little confusing. :)
It does and it's perfect! Thanks so much Quincey! This list would be in much
trouble without you - at least I would be!
Regards
Markus
--
__
Markus Spoettl
___
Coco
ons!
Regards
Markus
--
__________
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Uns
Yosemite (even with unchanged
code compiled against the 10.9 SDK). The table wind-down behavior seems to have
changed slightly which can trigger this in code that worked fine forever.
Regards
Markus
--
__
Markus Spoettl
arkus
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update
arkus
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
along as I connected different labels to the offending outlet name.
Finally, I moved to a different window controller in my app and renamed an
outlet, and sure enough the color change materialized.
Regards
Markus
--
__
Markus Spoettl
___
On 10/02/15 15:34, Markus Spoettl wrote:
I have an about window with a label for the app name on it. That label was
connected to an outlet named "appNamelabel" on its window controller. There are
a couple of other labels on the same window, connected to other outlets.
The labe
ounters this.
Regards
Markus
--
__________
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/U
On 01/02/15 23:06, Graham Cox wrote:
On 1 Feb 2015, at 5:23 am, Markus Spoettl wrote:
I did the same conversion a while back and have had no such issue. I found it
completely straight forward and surprisingly painless. Are you sure you're
implementing all the required protocols?
+ I
oardWriting
+ In the object you're calling "source" NSDraggingSource
In my implementation "obj" and "source" are the same object, but that should not
matter. Looking at my code, I think that's all the needs to be done.
Regards
Markus
--
__
place (pictures, downloads, music, movies). Other paths require
explicit user consent and the only way to get that is having the user point to
the path in an open/save sheet/panel.
Regards
Markus
--
__
Markus Sp
-mouseMoved: events will not
automatically be called just by implementing the event method (unlike the other
mouse methods), you need a tracking area for that to work.
Regards
Markus
--
__
Markus Spoettl
___
Cocoa
nt
translucent VIEW background on an outline view, you actually need to put the
outline in inside a NSVisualEffectsView container. Even though the tree/outline
does this automatically, you just don't have any control over it.
Regards
Markus
--
________
On 25/11/14 15:28, Scott Ribe wrote:
On Nov 25, 2014, at 1:26 AM, Markus Spoettl wrote:
My user says he doesn't experience sluggishness, he also tried rebooting the
machine and repair the disk permissions. Still crashes reliably every time.
In that case, I'd personally su
he doesn't experience sluggishness, he also tried rebooting the
machine and repair the disk permissions. Still crashes reliably every time.
Regards
Markus
--
__
Markus Spoettl
___
Cocoa-dev mailing list (
On 24/11/14 14:54, Scott Ribe wrote:
On Nov 24, 2014, at 3:03 AM, Markus Spoettl
wrote:
I'm attaching the call stack of the crash in the hope that someone on the
list recognizes it. Any ideas what might be going on?
Is this 10.10? And the libs are still using FSRef underneath
0x7fff895936cb _pthread_wqthread + 729
22 libsystem_pthread.dylib 0x7fff895914a1 start_wqthread + 13
--
__________
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin req
ast minute to fix that sort of thing if they knew about it.
Regards
Markus
--
______
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the li
fix it).
Regards
Markus
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins
says "unzip
the attached app and start it") by requesting an app to reproduce the issue. I
find the whole experience extremely unrewarding, rude and very deterring.
Regards
Markus
--
______
Markus Spoettl
___
Co
Hello,
On 16/09/14 16:28, Markus Spoettl wrote:
using Yosemite DP8 (first tested and observed with DP7), we get very heavy
flickering when animating a popup overlay window over a window whose content
consists of views sitting on NSVisualEffectViews
(NSVisualEffectBlendingModeWithinWindow
a reproducible test project - which could take a lot of
time if it turns out to be reproducible at all - I was wondering if someone else
noticed that too.
Regards
Markus
--
__________
Markus Spoettl
___
Cocoa-dev mai
don't mention a change in
NSSlider.
Regards
Markus
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contac
ke here?
Regards
Markus
--
__________
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(a
discussion is allowed *and* alive? I find it
really really frustrating that this is being made so difficult.
Regards
Markus
--
______
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please d
thought) and I just tried but it seems like changing
the frame of the header view (in order to shrink it dynamically based on the
clipview's bounds) from outside the table view isn't working.
Regards
Markus
--
______
Mark
ar
feedback from.
Regards
Markus
--
______
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscr
everse the insert order, starting at the
last index and moving towards 0.
Regards
Markus
--
______
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator c
myself killing
storeagent and storehelper using the Activity Monitor. That helps sometimes.
Regards
Markus
--
______
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin reques
Regards
Markus
--
______
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.
directory are way too many. The file system is much
more efficient if you spread those files into sub-folders. We got the best
performance with a 3-level sparse folder index (files are stored on the third
folder level).
Regards
Markus
--
__
Markus Spoettl
he save is complete. Updating ensures
the references are valid for the next go.
Regards
Markus
--
______
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator c
encoded). It would be much nicer if there
would be a graceful way of handling this. Is an exception handler the only way
to do that?
Regards
Markus
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev
okmarkDataIsStale:error:] ()
#9 0x000100113588 in -[MyController getURL] at
/Users/markus/Projects/MyController.m:187
--
______
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not p
turns a reduced set, NSToolbar will
reconstruct items with identifiers not currently allowed when restoring a
toolbar configuration that was stored when all items were allowed.
Regards
Markus
--
______
Markus Spoettl
___
On 2/8/14 9:31 PM, Markus Spoettl wrote:
On 2/8/14 8:43 PM, Trygve Inda wrote:
I am reading a document in the format of the old version of my app and
converting it to a new format. The old version is not a document at all but
is a fixed data file in /Application Support/MyApp/
MyDocument
your
NSDocumentController setting fileURL to nil when it is done?
Markus
--
______
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the
The “Discussion” is no more enlightening either. Therefore I
have no idea what the purpose of this method is. Apparently, based on your
results, its purpose is not your purpose.
On 2014 Feb 07, at 13:43, Markus Spoettl wrote:
So the question is: How do I remove an item with a given identifi
On 2/7/14 10:31 PM, Markus Spoettl wrote:
Hi,
I have a strange problem with a toolbar that is configured in IB which I need
to adjust programmatically. It has a delegate set (to the window controller) but
for some reason
- (NSArray *)toolbarAllowedItemIdentifiers:(NSToolbar*)toolbar
is
e SDK, running on Mountain Lion.
Regards
Markus
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderato
otiate the format that should be generated.
Any ideas on how to solve this?
Regards
Markus
--
______
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator c
uuid_unparse_upper().
See man uuid for details.
Thanks a lot!
Regards
Markus
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list
esn't commit to it either.
Anyone with authority here to confirm that assumption?
Regards
Markus
--
__________
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests o
Did that, we'll see what comes out of it.
Thanks for the feedback, both of you!
Regards
Markus
--
______
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin r
Hello,
I got a crash log from a user that's mildly puzzling. It happens somewhere
deep down CoreText it seems, while encoding an NSAttributedString (whose content
I don't know). Any ideas how it can some to this?
My app has a standard UITextView that feeds the model property that is encoded
ling from this that it's a violation using it if you're already using
NSUndoManager just doesn't get across at all (to me anyway). It also doesn't say
so in the Change Tracking section in the overview.
Could you point me to the portion I'm missing?
Regar
is trying to save changes as a result of that. That requires me
to know when that happens, and I don't.
Regards
Markus
--
______
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do n
e app delegate's
-applicationWillResignActive:), but I'm not sure if that's just an illusion and
there's trouble waiting down the road.
Any thoughts?
Regards
Markus
--
__________
Markus Spoettl
__
AquaticPrime users - that's where this
code comes from. The function you're looking for is
APCreateDictionaryForLicenseData().
Regards
Markus
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lis
documentation
simply doesn't say it will pass on a dereferenced value. The fact that the leak
went away tells me I'm on the right track.
Regards
Markus
--
______
Markus Spoettl
___
Cocoa-dev mailing list
w the NSDocument architecture works. It
reads the document file content first (asynchronously or synchronously), then
creates the UI for it.
Regards
Markus
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Coco
On 10/2/13 10:40 PM, David Duncan wrote:
On Oct 2, 2013, at 9:33 AM, Markus Spoettl wrote:
On the iPad (both device and simulator) this produces a sheet with
"Button2" missing. No matter how many buttons one adds, the last one added
goes missing.
On iPhone (again both device and
1 - 100 of 506 matches
Mail list logo