Re: Xcode 14 minimum deployment target

2022-10-28 Thread Markus Spoettl via Cocoa-dev
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 (Cocoa-dev@lists.apple.com) Ple

Re: Cocoa framework or Object class to uncompress files

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

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 do

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
, 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 admin requests

NSSecureCoding & Nested Collections & macOS 11

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

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
rmission 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
-- __ 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: 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
ocoa-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-20 Thread Markus Spoettl
/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) Please do

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

2018-04-21 Thread Markus Spoettl
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 of hours of coding. Hope this

Re: Layer-hosting views as superview?

2018-03-21 Thread Markus Spoettl
! 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 cocoa-dev-admins(at

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 forbids

Layer-hosting views as superview?

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

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

NSComboBox -comboBox:completedString: not called

2018-03-13 Thread Markus Spoettl
hat is 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 <ms_li...@shiftoption.com <mailto:ms_li...@shiftoption.com>> wrote: I'm not sure where the NSAccessibility… keys are defined https://developer.apple.com/documentation/foundation/nsattributedstringk

Re: NSSecureCoding & NSAttributedString

2018-02-19 Thread Markus Spoettl
, 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 ___ Cocoa-dev

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 works (

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 <ms_li...@shiftoption.com <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 rep

Re: NSSecureCoding & NSAttributedString

2018-02-18 Thread Markus Spoettl
, just that they might. 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 -- __ Markus S

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 <ms_li...@shiftoption.com> 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 fall

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 <ms_li...@shiftoption.com> 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 fall

NSSecureCoding & NSAttributedString

2018-02-16 Thread Markus Spoettl
w 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 list (Cocoa-dev@lists.apple.com) Please d

NSView sub-layers clipped in 10.13?

2018-01-01 Thread Markus Spoettl
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 do not post admi

Re: Click-through

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

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 <ms_li...@shiftoption.com <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 indi

Re: NSDocument autosavesInPlace + package file = no revert?

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

NSDocument autosavesInPlace + package file = no revert?

2017-02-25 Thread Markus Spoettl
)? 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 list (Cocoa-dev@lists.apple.com) Ple

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 <ms_li...@shiftoption.com> 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 re

Re: SecStaticCodeCheckValidity fails when app is lauched from Terminal

2016-09-27 Thread Markus Spoettl
mand 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 moderators at cocoa-dev-adm

Re: SecStaticCodeCheckValidity fails when app is lauched from Terminal

2016-09-26 Thread Markus Spoettl
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 <ms_li...@shiftoption.com <mailto:ms_li...@shiftoption.com>

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
-- __ 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: NSFileWrapper

2016-06-04 Thread Markus Spoettl
-- __ 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: Removing Observers eats up memory

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

Re: Removing Observers eats up memory

2016-01-25 Thread Markus Spoettl
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-dev@lists.apple.com

Re: Removing Observers eats up memory

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

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 <ms_li...@shiftoption.com <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 abs

Removing Observers eats up memory

2016-01-25 Thread Markus Spoettl
-- __ 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 Subscription: https

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). Thanks

10.11: NSDatePicker cuts off year digit

2015-11-10 Thread Markus Spoettl
ode? 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 ___ Cocoa-dev

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

2015-10-05 Thread Markus Spoettl
TimeStamp*) () #33 0x7fff8f975f45 in CVDisplayLink::runIOThread() () #34 0x7fff8f9759a9 in startIOThread(void*) () #35 0x000100beb815 in _pthread_body () #36 0x000100beb792 in _pthread_start () #37 0x000100be8fad in thread_start () --

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

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. Regards Markus

Preventing Document from closing

2015-04-04 Thread Markus Spoettl
-- __ 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: 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 ___ Cocoa-dev

Re: Weird crashes on Yosemite

2015-03-13 Thread Markus Spoettl
on 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
-- __ 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: Drawing inside an NSImage?

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

Re: Color fun with IBOutlet named appNameLabel

2015-02-23 Thread Markus Spoettl
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 ___ Cocoa-dev mailing list (Cocoa

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 labels are all inside

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 ms_li...@shiftoption.com 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

Re: Modernising dragging problem

2015-01-31 Thread Markus Spoettl
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 -- __ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa

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

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

Re: Mouse tracking under a transparent view still working

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

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 (Cocoa

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 ms_li...@shiftoption.com 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

Weird crash in FSRefCreate while saving NSDocument

2014-11-24 Thread Markus Spoettl
_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 requests or moderator

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 ms_li...@shiftoption.com 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

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

2014-09-19 Thread Markus Spoettl
this (or tell us how to 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

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

2014-09-19 Thread Markus Spoettl
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 list. Contact the moderators at cocoa-dev

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

2014-09-18 Thread Markus Spoettl
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 ___ Cocoa-dev mailing

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
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 mailing list (Cocoa-dev

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. Contact

CATransaction ignores animationDuration executes completionBlock immediately

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

Yosemite API discussions

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

Offsetting content of NSTable/NSOutlineView

2014-06-25 Thread Markus Spoettl
suggests asking in the devforums, I did. It appears that any technical questions by developers are completely ignored there. I'm beginning to think there is a secret place where Apple directs people they want to hear feedback from. Regards Markus -- __ Markus

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 -- __ Markus Spoettl

Re: Differences in string handling for NSString and NSAttributedString

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

Re: iOS: Cannot connect to iTunes Store

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

Re: NSDocument save incremental file package in-place

2014-03-02 Thread Markus Spoettl
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 comments to the list

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
-- __ 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

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
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 post admin requests or moderator comments

Re: makeDocumentForURL:nil withContentsOfURL:fileURL causing deletion

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

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: NSToolbar delegate -toolbarAllowedItemIdentifiers:

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

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

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

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

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 ms_li...@shiftoption.com wrote: So the question is: How do I remove an item

UIDocumentInteractionController open-in multiple UTIs

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

Re: Crash on iOS when encoding an NSAttributedString

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

Can CFUUIDCreateString() return lowercase characters?

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

Re: Can CFUUIDCreateString() return lowercase characters?

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

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

Mixing UIDocument's NSUndoManager and -updateChangeCount:

2014-01-13 Thread Markus Spoettl
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 ___ Cocoa-dev mailing list

Re: Mixing UIDocument's NSUndoManager and -updateChangeCount:

2014-01-13 Thread Markus Spoettl
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 not post admin requests or moderator

Re: Mixing UIDocument's NSUndoManager and -updateChangeCount:

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

Correct use of CFArraySortValues context parameter

2013-12-07 Thread Markus Spoettl
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 (Cocoa-dev@lists.apple.com) Please do

Re: Correct use of CFArraySortValues context parameter

2013-12-07 Thread Markus Spoettl
. The function you're looking for is APCreateDictionaryForLicenseData(). Regards Markus -- __ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: Getting mouse clicks when the main loop is busy

2013-11-10 Thread Markus Spoettl
, this is just how 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

Re: UIActionSheet -addButtonWithTitle weirdness on iPad

2013-10-03 Thread Markus Spoettl
On 10/2/13 10:40 PM, David Duncan wrote: On Oct 2, 2013, at 9:33 AM, Markus Spoettl ms_li...@shiftoption.com 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

UIActionSheet -addButtonWithTitle weirdness on iPad

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

Re: UIActionSheet -addButtonWithTitle weirdness on iPad

2013-10-02 Thread Markus Spoettl
on a popover. When I'm off work, I'll try the experiment and file a documentation bug. — F On 2 Oct 2013, at 11:33 AM, Markus Spoettl ms_li...@shiftoption.com wrote: Hello, I just came across the following, would someone confirm this: UIActionSheet *sheet = [[UIActionSheet

  1   2   3   4   5   >