RE: Static TableView Leaks...

2012-04-06 Thread Julius Oklamcak
> leak: > Malloc 48 bytes per incident > libsystem_c.dylib > studup https://devforums.apple.com/message/630695#640345 Known bug in iOS 5.1 ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: Static TableView Leaks...

2012-04-06 Thread G S
> > leak: > Malloc 48 bytes per incident > libsystem_c.dylib > studup > I've seen this in our project continually, and we're not using ARC. I don't remember exactly where this arises at the moment, but strdup leaks seem to be widely seen but not all that serious (it didn't seem that much memory w

Static TableView Leaks...

2012-04-06 Thread R
Using Xcode 4.3.1 for iOS5 with ARC Create a new project, single view, static table view. Don't add anything to the table view just plain as the default. Go to Product-Profile-Leaks-Profile INTERACT WITH THE TABLEVIEW - USE YOUR MOUSE TO PUSH THE TABLEVIEW UP OR DOWN It leaks. I was testin

Re: Can't get UTI to stick

2012-04-06 Thread C.W. Betts
Try making the UTI UTTypeConformsTo to also include public.data. Also, make sure in the Spotlight importer that the app's UTI is being imported. If you do mdls on a .tgc file, what do you get? On Apr 2, 2012, at 7:02 PM, Jo Meder wrote: > Hi, > > I've written a Quick Look generator for one of my

Re: NSDocument app: combine multiple file contents to open one window instead of multiple windows

2012-04-06 Thread Kevin Perry
Unless I'm mistaken, I don't think Gilles is trying to create a "multi-document window" interface like Xcode or Preview. It sounds like he wants a single window with a single view (or set of related views) that simply displays the contents of multiple files in aggregate. If that understanding i

Re: NSDocument app: combine multiple file contents to open one window instead of multiple windows

2012-04-06 Thread Kyle Sluder
On Apr 6, 2012, at 8:29 AM, Gilles Celli wrote: > Versions ? Well here in my case for now I don't need it for my application > since it's kind a viewer / visualizer of the data, I'm not editing or > changing anything > to the file…it's a like a PDF viewer but here for data / graphs. Fair enoug

Re: NSDocument app: combine multiple file contents to open one window instead of multiple windows

2012-04-06 Thread Gilles Celli
Versions ? Well here in my case for now I don't need it for my application since it's kind a viewer / visualizer of the data, I'm not editing or changing anything to the file…it's a like a PDF viewer but here for data / graphs. Maybe you got me wrong but it's simply to append the file's contents

Re: NSDocument app: combine multiple file contents to open one window instead of multiple windows

2012-04-06 Thread Kyle Sluder
On Apr 6, 2012, at 7:39 AM, Gilles Celli wrote: > It works and if a user opens multiple files there are of course separate > files document windows, but I would prefer only one window: Question: how would this work with Versions? --Kyle Sluder ___ C

NSDocument app: combine multiple file contents to open one window instead of multiple windows

2012-04-06 Thread Gilles Celli
Hi all, My document-based application on Mac OS X reads ASCII data file to draw graphs based on date/time and y-values. It reads the file contents by overriding readFromURL:ofType:error: ... NSString *fileContents = [[NSString alloc] initWithContentsOfURL:absoluteURL

Re: iOS drawer-style interaction

2012-04-06 Thread Scott Andrew
What about using a UIPanGestureRecognizer? I didn't see anything in the docs that says a swipe get's continuous feedback. A UIPanGestureRecognizer gives continuous feedback during the drag. Scott On Apr 5, 2012, at 11:45 PM, Rick Mann wrote: > I'm trying to implement a drawer of sorts. Initial

Re: iOS 5: AVFoundation and MPMediaItemPropertyAssetURL

2012-04-06 Thread Rhythmic Fistman
On 6 April 2012 01:56, John Michael Zorko wrote: > > Hello, all ... > > I'm experimenting with making AVFoundation play local [purchased from] iTunes > content on the device. I can set up an MPMediaQuery to fetch the content like > so: > >    MPMediaQuery *query = [[[MPMediaQuery alloc] init] au

Re: Displaying an arbitrary unicode character using CGContextShowTextAtPoint or CGContextShowGlyphsAtPoint

2012-04-06 Thread Rhythmic Fistman
On 30 March 2012 18:18, Jeff Schriebman wrote: > I need to display the upwards arrow character in a specific position in a > view. > The unicode equivalence is U+2B06 and in UTF-8 it is E2 AC 86. > > I can successfully display it in Xcode on the console using NSLog(@"This is > an up arrow charac