You are s right, Ken. Instead of using an attributes property, I now have a
function:
-(NSDictionary*)mergeAttributes:(NSDictionary*)existingAttributes
I use the enumerateAttributes method you mentioned in an earlier post to
iterate over all the different attribute sets in
I would like to create a page thumbnail as the one I have seen on the
Apple's application Page. Any time I modify an object on the page, the
thumbnail page gets immediatelly updated.
Actually I simply get a 256 x 256 image from the NSView with
displayRectIgnoringOpacity. It works. The point is
Just got a crash report from a user. There is nothing in the trace that
relates to my app. The application specific information shows:
Application Specific Information:
objc[60867]: Method cache corrupted. This may be a message to an invalid
object, or a memory error somewhere else.
objc[60867]:
On Nov 21, 2014, at 9:24 AM, Laurent Daudelin laur...@nemesys-soft.com
wrote:
I've never seen this. Anybody has any clue what could cause a method cache
corrupted?
Well, general heap corruption, I suppose, like overwriting the end of a block
or writing to previously-freed memory. These
On Nov 21, 2014, at 9:24 AM, Laurent Daudelin laur...@nemesys-soft.com
wrote:
Just got a crash report from a user. There is nothing in the trace that
relates to my app. The application specific information shows:
Application Specific Information:
objc[60867]: Method cache corrupted.
In an OS X app I have an NSTableView that binds to an array of Job objects. I'd
like to have a checkbox column that the user can check that indicates the
active job. There should be only one of these. Is there a way to bind the
value of that column to something other than the Job for that row,
Two messages in one day with the exact same crash report in them - with the
same memory locations in the crash report even.
That seems beyond unlikely - is this actually one crash report where the
original user happened to post it here as well as reporting it, or there really
are two.
I
I think binding to a method would be simplest; if you bound it to a value on
File's Owner or some other object you'd still have to figure out which one of
them was clicked. IBAction gives you the sender, then you can do
NSInteger row = [tableView rowForView:sender];
since that works on
On Nov 21, 2014, at 16:19 , Lee Ann Rucker lruc...@vmware.com wrote:
I think binding to a method would be simplest;
You mean wiring the column's action up?
if you bound it to a value on File's Owner or some other object you'd still
have to figure out which one of them was clicked.
On Nov 21, 2014, at 4:20 PM, Rick Mann rm...@latencyzero.com wrote:
On Nov 21, 2014, at 16:19 , Lee Ann Rucker lruc...@vmware.com wrote:
I think binding to a method would be simplest;
You mean wiring the column's action up?
Oops, yeah, so many ways to describe things...
if you
In Xcode 6.1 command click on a native Swift function like print or assert and
jump to the definition. This takes you to the interface for the function in
what appears to be a machine generated “definition file”. There are no .swift
files in the Xcode package documentation area. So for Apple’s
On Nov 21, 2014, at 17:08 , Richard Charles rcharles...@gmail.com wrote:
A header files forces you to separate the interface from the implementation.
I always thought that was a good thing but apparently not.
It’s a good thing for the reasons why you think it’s a good thing, but it’s
also a
Hi all -
I’m working on getting my first desktop app ready for submission, after doing
all iOS, and I’m having some issues. Our iOS apps all support older versions so
we don’t use asset catalogs for them. The OS X app I’m working on is using
them. I have what I think is a proper AppIcon
Thank you, all, I’m going to turn on GuardMalloc, Zombies and the likes.
-Laurent.
--
Laurent Daudelin
laur...@nemesys-soft.com mailto:laur...@nemesys-soft.com
AIM/iChat/Skype:LaurentDaudelin
Since this seems like a two cents-style discussion, I figured I'd add mine.
We developers have been whining about having to type everything twice for
years now. Also, if you have interface and implementation files, you need
twice as many tabs (or windows), so to speak. Removing half the files
Given that Apple's Foundation does not support getting NSRunLoop from
CFRunLoopRef, Cocotron designed CFRunLoop using toll-free bridging from
NSRunLoop and GNUstep have a NSRunLoopFromCFRunLoop() (and GNUstep have some
some NSRunLoop extensions allowing implementing this mess without fussing
On Nov 22, 2014, at 12:43 AM, ChanMaxthon m...@maxchan.info wrote:
Given that Apple's Foundation does not support getting NSRunLoop from
CFRunLoopRef, Cocotron designed CFRunLoop using toll-free bridging from
NSRunLoop and GNUstep have a NSRunLoopFromCFRunLoop() (and GNUstep have some
some
On Nov 21, 2014, at 10:09 PM, Daniel Blakemore dblakem...@pixio.com wrote:
I've personally never whined about any of this. I really like have a place
to put all my documentation that is cleanly separated from where the actual
work gets done. In larger files, the large headerdoc comments
18 matches
Mail list logo