NSCopying is a protocol, likewise NSCoding. Have you declared that your class
implements the protocol in the header file, for example:
@interface MySuperClass : NSObject {
...
}
...
@end
~Phil
On Jul 21, 2011, at 10:51 AM, Chris Tracewell wrote:
> I have a private framework that is in
Thanks for the tips Quincey and Nick. I'll keep an eye out for the use of
NSNotFound.
~Phil
On Jul 19, 2011, at 2:46 PM, Quincey Morris wrote:
> On Jul 19, 2011, at 12:32, Nick Zitzmann wrote:
>
>> The only problem I ever had with unarchiving 32-bit app archives in a 64-bit
>> app was with lo
similar decoding problem where the int values will not be
correctly read as longs in the new environment, or is NSNumber taking care of
things under the hood for me?
~Phil
On Jul 13, 2011, at 12:47 PM, Philip Dow wrote:
> Brilliant. Thank you Glenn. I compiled the app for 32 bit and it read
like structure names vs ?, etc...).
> This, in and of itself, shouldn't make it incompatible, but a structure with
> two structures each with two floats doesn't match with the double-based
> CGRect.
>
> On Jul 13, 2011, at 12:20 PM, Philip Dow wrote:
>
>> I a
I am trying to decode a 3rd party archive encoded in the old NSArchiver (not
keyed) format. At a point in the decoding, I expect to find a CGRect, but when
I call
[coder decodeValueOfObjCType:@encode(CGRect) at:&myRect]
an exception is raised with the error:
file inconsistency: read '{?={?=ff
On Jun 27, 2011, at 6:17 PM, Quincey Morris wrote:
> On Jun 27, 2011, at 15:58, Philip Dow wrote:
>
>> I am exploring using a custom window controller for a core data document
>> based application and wanted to ask those more knowledgeable than myself if
>> ther
I am exploring using a custom window controller for a core data document based
application and wanted to ask those more knowledgeable than myself if there are
any caveats I must consider.
Following the documentation, I am overriding NSDocument's makeWindowControllers
method in my NSPersistentDo
Heya all,
I wanted to share an Objective-C wrapper for the SearchKit API. To my knowledge
there is no existing Obj-C wrapper for this particular API, although it seems
at one time there was an effort to produce one.
This particular wrapper consists of a single class which captures most of
Sear
to my app, though.
~Phil
On May 23, 2011, at 12:38 PM, Philip Dow wrote:
> I'm stumped on this one.
>
> To my knowledge I have correctly built a localized Help Book for my Mac OS
> application. Everything about the help book works except the spotlight search
> in the help
I'm stumped on this one.
To my knowledge I have correctly built a localized Help Book for my Mac OS
application. Everything about the help book works except the spotlight search
in the help menu. For example, I can open the help book, navigate it, and send
users to specific pages with context s
On May 20, 2011, at 3:27 PM, Nick Zitzmann wrote:
> That's how to _set_ date picker elements, not _select_ them.
>
> Anyway, I did figure out how to do this. Apparently the only way to
> programmatically select a date picker element is to use private
> NSDatePickerCell methods, but to unselect
On May 14, 2011, at 1:35 AM, William Squires wrote:
>
> On Apr 28, 2011, at 6:12 PM, Indragie Karunaratne wrote:
>
>> Despite the confusing title, I'm sure this is an issue that someone else has
>> run into before. I have a parent scroll view that houses a bunch of
>> subviews, including an N
I just submitted the following bug report and wanted to post it here as well to
see if anyone had a recommended workaround.
NSLayoutManager layoutManager:didCompleteLayoutForTextContainer:atEnd callback
is never called with atEnd flag set to YES if last character of text is
NSFormFeedCharacter.
Hello, quick question. What is the maximum length of an utf-8 string
that NSURL can handle when using +[NSURL urlWithString:]. I understand
that Safari can deal with tens of thousands of characters in the url
field. Would somebody be able to offer a more specific number?
~Phil
_
It's not trivial, but you want to create a transparent window and show
it while simultaneously returning an empty image. Then in the
draggedImage:movedTo method you can update the position of the window
and depending on ui window element it is over, change the shape.
~Phil
On Jul 24, 2008,
Howdie,
I'm playing around with the NSToolTipAttribute in attributed strings
and I seem to be finding that the attribute is not written to the
pasteboard when I cut/paste or drag text around in an NSTextView. Is
this a known issue?
Checking Google I discovered that back in 2004 it was rep
I have a filed a report, Bug ID# 6072333.
~Phil
On Jul 11, 2008, at 1:02 PM, Julien Jalon wrote:
On Fri, Jul 11, 2008 at 8:00 PM, Philip Dow <[EMAIL PROTECTED]> wrote:
That's right, I realized after posting the message that I should
have boiled it down to th
ay "does not display the content as
multipage". What does it display?
You should try to dump on disk the data produced in the first case
and take a look at it.
--
Julien
On Wed, Jul 9, 2008 at 4:40 AM, Philip Dow <[EMAIL PROTECTED]> wrote:
Hi all,
I am trying to genera
Hi all,
I am trying to generate multipage pdf data for display in a quick look
preview from rich text attributed string data. Attributed strings
don't know anything about pages, so it seems to me that I'll have to
go through the OS printing architecture to generate the multipage pdf
conte
19 matches
Mail list logo