As discussed in another thread last week, I am using CALayers to add custom
text highlighting in an NSTextView. Briefly, based on the user input I get a
range of text, get the rect(s) of the text and calculate the CALayer(s).
Now when the user resizes the window, of course the CALayers need to
On 8/28/12 12:09 PM, Koen van der Drift wrote:
As discussed in another thread last week, I am using CALayers to add custom
text highlighting in an NSTextView. Briefly, based on the user input I get a
range of text, get the rect(s) of the text and calculate the CALayer(s).
Now when the user re
Hello everyone.
I'm trying to do something simple --- to have an NSSegmentedControl (2
segments) save and restore its selection (the "pressed" segments) from the
user-defaults.
Documentation seems to be quite clear: Cocoa Bindings Reference:
NSSegmentedControl Bindings
On Aug 28, 2012, at 9:28 AM, Motti Shneor wrote:
> But when I'm trying to do this in my XCode 4.2 project, in a .xib file, I
> experience several problems, and finally a crash on loading the .xib file.
>
> 1. In Interface builder, only one of the binding options appears for
> NSSegmentedContro
Hi Markus,
Yes, my notifications are delivered, the code I showed was to register for the
notifications in my ViewController's awakeFromNib method. The actual methods
are exactly as you showed in your post.
- Koen.
On Aug 28, 2012, at 3:00 PM, cocoa-dev-requ...@lists.apple.com wrote:
> Are
This is on iOS 5 and higher.
I have an iOS app that can open separate data files (one open at a time) using
a UIManagedDocument subclass.
When I do a -saveToURL:forSaveOperation:completionHandler
do I need to that inside a:
[[UIApplication sharedApplication] beginBackgroundTaskWithExpirati