Re: Xcode 14 minimum deployment target

2022-10-28 Thread Markus Spoettl via Cocoa-dev
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

Re: Cocoa framework or Object class to uncompress files

2022-10-25 Thread Markus Spoettl via Cocoa-dev
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

Re: WKWebView rejecting keyboard input

2021-04-15 Thread Markus Spoettl via Cocoa-dev
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

Re: NSSecureCoding & Nested Collections & macOS 11

2020-09-05 Thread Markus Spoettl via Cocoa-dev
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

Re: NSSecureCoding & Nested Collections & macOS 11

2020-09-03 Thread Markus Spoettl via Cocoa-dev
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

NSSecureCoding & Nested Collections & macOS 11

2020-09-03 Thread Markus Spoettl via Cocoa-dev
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

Re: iOS open In place, permission denied

2020-04-28 Thread Markus Spoettl via Cocoa-dev
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

iOS open In place, permission denied

2020-04-28 Thread Markus Spoettl via Cocoa-dev
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 ___

Re: Code signing problem in one project...

2020-04-26 Thread Markus Spoettl via Cocoa-dev
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

Re: Questions regarding release

2019-09-26 Thread Markus Spoettl via Cocoa-dev
-- __ 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

Re: Crashing in NSTabView

2019-05-22 Thread Markus Spoettl
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 -- _______

Re: code signing fails to verify on 10.10?

2019-05-19 Thread Markus Spoettl
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)

Re: Best strategy to update view controllers in navigation stack after users edit data

2018-04-21 Thread Markus Spoettl
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

Re: Layer-hosting views as superview?

2018-03-21 Thread Markus Spoettl
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

Re: Layer-hosting views as superview?

2018-03-21 Thread Markus Spoettl
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

Layer-hosting views as superview?

2018-03-21 Thread Markus Spoettl
. 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

Re: NSComboBox -comboBox:completedString: not called

2018-03-13 Thread Markus Spoettl
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

NSComboBox -comboBox:completedString: not called

2018-03-13 Thread Markus Spoettl
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 -- _______

Re: NSSecureCoding & NSAttributedString

2018-02-19 Thread Markus Spoettl
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

Re: NSSecureCoding & NSAttributedString

2018-02-19 Thread Markus Spoettl
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 __

Re: NSSecureCoding & NSAttributedString

2018-02-18 Thread 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

Re: NSSecureCoding & NSAttributedString

2018-02-18 Thread Markus Spoettl
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

Re: NSSecureCoding & NSAttributedString

2018-02-18 Thread Markus Spoettl
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 -- _________

Re: NSSecureCoding & NSAttributedString

2018-02-17 Thread Markus Spoettl
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

Re: NSSecureCoding & NSAttributedString

2018-02-17 Thread Markus Spoettl
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

NSSecureCoding & NSAttributedString

2018-02-16 Thread Markus Spoettl
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

NSView sub-layers clipped in 10.13?

2018-01-01 Thread Markus Spoettl
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

Re: Click-through

2017-03-25 Thread Markus Spoettl
-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

Re: NSDocument autosavesInPlace + package file = no revert?

2017-02-25 Thread Markus Spoettl
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

Re: NSDocument autosavesInPlace + package file = no revert?

2017-02-25 Thread Markus Spoettl
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

NSDocument autosavesInPlace + package file = no revert?

2017-02-25 Thread Markus Spoettl
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

Re: SecStaticCodeCheckValidity fails when app is lauched from Terminal

2016-09-27 Thread Markus Spoettl
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

Re: SecStaticCodeCheckValidity fails when app is lauched from Terminal

2016-09-27 Thread Markus Spoettl
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

Re: SecStaticCodeCheckValidity fails when app is lauched from Terminal

2016-09-26 Thread Markus Spoettl
, 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

Re: SecStaticCodeCheckValidity fails when app is lauched from Terminal

2016-09-26 Thread Markus Spoettl
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

SecStaticCodeCheckValidity fails when app is lauched from Terminal

2016-09-26 Thread 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

Re: NSFileWrapper

2016-06-04 Thread Markus Spoettl
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

Re: Removing Observers eats up memory

2016-01-26 Thread Markus Spoettl
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

Re: Removing Observers eats up memory

2016-01-25 Thread Markus Spoettl
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

Re: Removing Observers eats up memory

2016-01-25 Thread Markus Spoettl
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

Re: Removing Observers eats up memory

2016-01-25 Thread Markus Spoettl
. 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

Re: Removing Observers eats up memory

2016-01-25 Thread Markus Spoettl
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 -- ______

Removing Observers eats up memory

2016-01-25 Thread 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/Update your Subscript

Re: 10.11: NSDatePicker cuts off year digit

2015-11-11 Thread Markus Spoettl
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)

10.11: NSDatePicker cuts off year digit

2015-11-10 Thread Markus Spoettl
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 ___

Re: 10.11 app crashes in [CIImage createCIImageWithSurfaceBytes:::::]

2015-10-05 Thread 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

Re: 10.11 app crashes in [CIImage createCIImageWithSurfaceBytes:::::]

2015-10-05 Thread Markus Spoettl
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

10.11 app crashes in [CIImage createCIImageWithSurfaceBytes:::::]

2015-10-05 Thread Markus Spoettl
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

Re: Preventing Document from closing

2015-04-04 Thread Markus Spoettl
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

Preventing Document from closing

2015-04-04 Thread Markus Spoettl
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

Re: Weird crashes on Yosemite

2015-03-13 Thread Markus Spoettl
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

Re: Weird crashes on Yosemite

2015-03-13 Thread 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

Re: Drawing inside an NSImage?

2015-03-09 Thread 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

Re: Color fun with IBOutlet named "appNameLabel"

2015-02-23 Thread Markus Spoettl
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 ___

Re: Color fun with IBOutlet named "appNameLabel"

2015-02-22 Thread 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

Color fun with IBOutlet named "appNameLabel"

2015-02-10 Thread Markus Spoettl
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

Re: Modernising dragging problem

2015-02-02 Thread Markus Spoettl
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

Re: Modernising dragging problem

2015-01-31 Thread Markus Spoettl
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 -- __

Re: Search for emails in Mail’s previous recipients list from MacOSX app

2015-01-15 Thread Markus Spoettl
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

Re: Mouse tracking under a transparent view still working

2015-01-11 Thread Markus Spoettl
-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

Re: Blurry is the New Sharp

2015-01-05 Thread Markus Spoettl
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 -- ________

Re: Weird crash in FSRefCreate while saving NSDocument

2014-11-25 Thread Markus Spoettl
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

Re: Weird crash in FSRefCreate while saving NSDocument

2014-11-25 Thread Markus Spoettl
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 (

Re: Weird crash in FSRefCreate while saving NSDocument

2014-11-24 Thread Markus Spoettl
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

Weird crash in FSRefCreate while saving NSDocument

2014-11-24 Thread Markus Spoettl
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

Re: Heavy flickering on Retina Macs with Yosemite & NSVisualEffectView & overlay windows

2014-09-19 Thread Markus Spoettl
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

Re: Heavy flickering on Retina Macs with Yosemite & NSVisualEffectView & overlay windows

2014-09-19 Thread Markus Spoettl
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

Re: Heavy flickering on Retina Macs with Yosemite & NSVisualEffectView & overlay windows

2014-09-18 Thread Markus Spoettl
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

Re: Heavy flickering on Retina Macs with Yosemite & NSVisualEffectView & overlay windows

2014-09-17 Thread Markus Spoettl
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

Heavy flickering on Retina Macs with Yosemite & NSVisualEffectView & overlay windows

2014-09-16 Thread Markus Spoettl
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

10.10 NSSlider continuous mode sends gazillions of action messages

2014-07-26 Thread Markus Spoettl
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

CATransaction ignores animationDuration executes completionBlock immediately

2014-07-22 Thread Markus Spoettl
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

Yosemite API discussions

2014-07-08 Thread Markus Spoettl
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

Re: Offsetting content of NSTable/NSOutlineView

2014-06-25 Thread Markus Spoettl
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

Offsetting content of NSTable/NSOutlineView

2014-06-25 Thread Markus Spoettl
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

Re: Differences in string handling for NSString and NSAttributedString

2014-05-05 Thread Markus Spoettl
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

Re: iOS: Cannot connect to iTunes Store

2014-04-11 Thread Markus Spoettl
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

Re: NSDocument save incremental file package in-place

2014-03-02 Thread Markus Spoettl
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.

Re: NSDocument save incremental file package in-place

2014-03-02 Thread Markus Spoettl
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

Re: NSDocument save incremental file package in-place

2014-03-02 Thread 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

How to avoid exceptions when decoding incomprehensible archives

2014-02-26 Thread Markus Spoettl
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

Crash in -URLByResolvingBookmarkData::::: in sandboxed app

2014-02-19 Thread Markus Spoettl
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

Re: NSToolbar delegate -toolbarAllowedItemIdentifiers:

2014-02-08 Thread Markus Spoettl
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 ___

Re: makeDocumentForURL:nil withContentsOfURL:fileURL causing deletion

2014-02-08 Thread 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

Re: makeDocumentForURL:nil withContentsOfURL:fileURL causing deletion

2014-02-08 Thread Markus Spoettl
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

Re: NSToolbar delegate -toolbarAllowedItemIdentifiers:

2014-02-07 Thread Markus Spoettl
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

Re: NSToolbar delegate -toolbarAllowedItemIdentifiers not getting called, other delegate methods are

2014-02-07 Thread Markus Spoettl
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

NSToolbar delegate -toolbarAllowedItemIdentifiers not getting called, other delegate methods are

2014-02-07 Thread Markus Spoettl
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

UIDocumentInteractionController open-in multiple UTIs

2014-01-26 Thread Markus Spoettl
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

Re: Can CFUUIDCreateString() return lowercase characters?

2014-01-21 Thread Markus Spoettl
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

Can CFUUIDCreateString() return lowercase characters?

2014-01-21 Thread Markus Spoettl
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

Re: Crash on iOS when encoding an NSAttributedString

2014-01-21 Thread Markus Spoettl
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

Crash on iOS when encoding an NSAttributedString

2014-01-19 Thread Markus Spoettl
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

Re: Mixing UIDocument's NSUndoManager and -updateChangeCount:

2014-01-13 Thread Markus Spoettl
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

Re: Mixing UIDocument's NSUndoManager and -updateChangeCount:

2014-01-13 Thread Markus Spoettl
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

Mixing UIDocument's NSUndoManager and -updateChangeCount:

2014-01-13 Thread Markus Spoettl
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 __

Re: Correct use of CFArraySortValues context parameter

2013-12-07 Thread 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

Correct use of CFArraySortValues context parameter

2013-12-07 Thread Markus Spoettl
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

Re: Getting mouse clicks when the main loop is busy

2013-11-10 Thread Markus Spoettl
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

Re: UIActionSheet -addButtonWithTitle weirdness on iPad

2013-10-02 Thread Markus Spoettl
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   2   3   4   5   6   >