On Jun 10, 2014, at 3:21 PM, Seth Willits wrote:
> My app and Coda both open plain text .sql files. Coda exports a UTI for the
> .sql extension. So does my app.
If .sql files are a public format that was defined by neither your app nor
Coda, you should both be *importing* UTIs for it, instea
> On Apr 24, 2014, at 5:34 PM, Rick Mann wrote:
>
>
>> On Apr 24, 2014, at 14:10 , William Squires wrote:
>>
>> iii) Averages all the pixels to come up with a (rough) gauge of ambient
>> light level (as an unsigned byte) - preferably by using the graphics
>> coprocessor to unload the tas
I have an NSOpenGL view in a window with a nib-based toolbar that behaves
correctly, so I don't think the OpenGL machinery is completely ignorant of
toolbars.
Noah Desch
>
> That sounds correct, but IIRC the methods that convert between a window’s
> content size and its fr
Graham, I’d be glad to see how it performs with your additional test cases.
Although I spent quite a bit of time handling special cases this is very much a
work in progress and I appreciate any help anyone is willing to throw in.
I didn’t follow a specific algorithm, although much of the cubic
I’ve written a category on NSBezierPath that allows boolean operations on paths
(union, intersection, subtraction) which preserves curved elements throughout
the operation and does not require "flattening" paths into line segments prior
to processing.
I thought this might be a generally useful
I'm not sure why you need access to the NSSaveChangesRequest "transactions" at
the application layer?
In your optimistic locking example, your NSIncrementalStore gets a save request
at step 5. It tries to commit the changes to the server, but the server comes
back and says "transaction back ou
or the one who's kindOfClass is
[UIPageControl class] and set whatever colors you want on it. This *might* be a
gray area in terms of using undocumented API though.
-Noah
On Sep 26, 2013, at 5:06 PM, Noah Desch wrote:
> I'm having the same issue. When I dive into the view hierarc
I'm having the same issue. When I dive into the view hierarchy in the debugger
I see the page control inside the UIPageViewController's view, but it's frame
is {0,0,0,0}.
Noah Desch
> On Sep 25, 2013, at 7:11 PM, Rick Mann wrote:
>
>
>> On Sep 25, 2013,
Using coredata with a documented format should probably be accomplished with an
NSIncrementalStore subclass rather than trying to reverse engineer the existing
undocumented format.
Noah Desch
On Jun 25, 2013, at 11:30 AM, Scott Ribe wrote:
> On Jun 25, 2013, at 8:44 AM, Steve Sisak wr
I have had really weird issues with NSManagedObjects KVOing themselves. I would
recommend you instead override the dynamic setters for all the attributes whose
value affects your computed property and clear your pre computed value there.
Noah Desch
On Jun 19, 2013, at 3:21 AM, Rick Mann
On Jul 8, 2010, at 7:33 PM, gumbo...@mac.com wrote:
> Using the standard Employee/Department example, Whats the best way to set a
> default department for an Employee?
> So that every employee is created with a relationship to the "mailRoom"
> department.
Probably to add some custom code to
Well your list includes:
/System/Library/Frameworks/OpenGL.framework/Resources//GLRendererFloat.bundle/GLRendererFloat
/System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
/System/Lib
gBookmarkData:bookmarkData
> options:0 relativeToURL:nil bookmarkDataIsStale:&isStale error:&error];
> NSLog(@"url = %@", [url description]);
>
> if (error != nil) {
> [NSApp presentError:error];
>
On Apr 18, 2010, at 10:43 AM, Brad Stone wrote:
> I'm storing the bookmark data in an array displayed in a table:
> NSData *bookmarkData = [inAbsoluteURL
> bookmarkDataWithOptions:NSURLBookmarkCreationSuitableForBookmarkFile
>
> inc
On Apr 10, 2010, at 7:02 PM, Tony Romano wrote:
> Thanks for the reply but I am not sure I follow your point. An instance of
> 'f' is contained precisely in one instance of Bar. I can have many Bars but
> each have their own instance of the class Foo. Does the language support
> getting th
My application displays a potentially long list of items in an NSTableView. One
of the columns represents files on the user's hard drive. This column is driven
by the new bookmark data from the NSURL class. The bookmark data does not
appear to be able to save effective icon data, however other
> but *not* this:
> self.myFields = [[NSMutableArray alloc] init];
>
> That's a memory leak right there. :)
This discussion is confusing me a bit... lets see if I got this right:
If you are *not* using getters and setters but instead have myFields declared
as:
@interface MyClass
{
You don't own any of those objects so you should not be releasing them.
See:
http://developer.apple.com/mac/library/documentation/cocoa/conceptual/MemoryMgmt/Articles/mmRules.html
-Noah
On Mar 18, 2010, at 11:43 PM, William Squires wrote:
> I have some code like below in a UITableView delegat
Cells highlight using white text based on the background style as far as I can
tell. Try:
[cell setBackgroundStyle:NSBackgroundStyleLight];
Instead of setting the text color.
-Noah
On Mar 5, 2010, at 5:25 PM, Kent Hauser wrote:
> Hi,
>
> I'm trying to make a NSTableView selected row not l
19 matches
Mail list logo