Detect whether UIRefreshControl can be used

2013-05-08 Thread Diederik Meijer | Ten Horses
Hi, I am implementing a UIRefreshControl in an app that runs on iOS 5.1 or higher and want to test if the device is running iOS 6, because this is an iOS 6 feature. I'd like to avoid detecting the iOS version in runtime and use a respondsToSelector route instead. I am getting no compiler

Re: Wanted: new owner for Mac apps

2013-05-08 Thread Steven Degutis
Snippy? I'm having a hard time figuring out which part could be snippy. The part about the different interpretations of the sort order of the list of forks? I just found it a neat observation and wanted to share. The part about people deleting their own forks? Just wanted to warn people that

Re: Wanted: new owner for Mac apps

2013-05-08 Thread Alex Zavatone
This: If none of them exist by the time you read this, well then sorry. At least you'll have learned sooner than later that permanence is an illusion. -Steven On May 8, 2013, at 10:56 AM, Steven Degutis wrote: Snippy? I'm having a hard time figuring out which part could be snippy. The part

Re: Wanted: new owner for Mac apps

2013-05-08 Thread Alex Zavatone
On May 8, 2013, at 1:14 AM, Steven Degutis wrote: It's funny how when you say in order of but omit the direction, people have different assumptions: https://github.com/biohazardffm/grs/network/members On Tue, May 7, 2013 at 1:37 PM, Steven Degutis sbdegu...@gmail.com wrote: Update: The

Re: UIGestureRecognizers for 2-6?

2013-05-08 Thread Matt Neuburg
On Thu, 02 May 2013 09:41:04 -0400, Eric E. Dolecki edole...@gmail.com said: Hi all, I am looking for subclassed UIGestureRecogizers for numerals 2, 3, 4, 5, 6. I am simply looking to save some time by plugging in these recognizers if any has any laying around or knows where I can get some

Re: UIGestureRecognizers for 2-6?

2013-05-08 Thread Eric E. Dolecki
I can't remember what it's called, but a solution I found uses JSON data for the main points in a gesture, and you tell the Class to load up all the JSON files (one per gesture) and then detection goes from there. It's a lot of overhead, but I get why and it mostly works. Google Voice: (508)

Re: Showing numpad key equivs in menu items

2013-05-08 Thread David M. Cotter
Would you be able to share this code? well, it's incomplete at the moment, i haven't sewn it all up.and besides that i'd have to get permission to share it, as it's adobe code. i'm on sabbatical now so i'm not even really here too. TextMate also draws a custom string as key equivalent

Re: Detect whether UIRefreshControl can be used

2013-05-08 Thread Nick Zitzmann
On May 8, 2013, at 8:51 AM, Diederik Meijer | Ten Horses diede...@tenhorses.com wrote: I am implementing a UIRefreshControl in an app that runs on iOS 5.1 or higher and want to test if the device is running iOS 6, because this is an iOS 6 feature. I'd like to avoid detecting the iOS

UICollectionView

2013-05-08 Thread koko
Given an array of UIImages as a data source I want to populate a UICollection with these images. If I call -reloadData I see nothing in the view until the data source is exhausted then the view is displayed will all images. How can the UICollectionView be told to display each cell / image as

Re: Detect whether UIRefreshControl can be used

2013-05-08 Thread Diederik Meijer | Ten Horses
Thank you Nick, that works perfectly!! Op May 8, 2013, om 5:20 PM heeft Nick Zitzmann n...@chronosnet.com het volgende geschreven: On May 8, 2013, at 8:51 AM, Diederik Meijer | Ten Horses diede...@tenhorses.com wrote: I am implementing a UIRefreshControl in an app that runs on iOS 5.1

Re: UICollectionView

2013-05-08 Thread David Duncan
On May 8, 2013, at 11:06 AM, koko k...@highrolls.net wrote: Given an array of UIImages as a data source I want to populate a UICollection with these images. If I call -reloadData I see nothing in the view until the data source is exhausted then the view is displayed will all images.

Allow access to Documents folder in a sandbox app

2013-05-08 Thread Peng Gu
Hi, Is there any way to access the documents folder without letting user select it explicitly in a sandbox app? If I want to submit the app to the App Store, does the app have to be sandboxed? Thanks, - Peng ___ Cocoa-dev mailing list

Re: Does initWithHTML:dataUsingEncoding:documentAttributes: run an event loop?

2013-05-08 Thread Jens Alfke
On May 7, 2013, at 3:52 PM, Ken Thomases k...@codeweavers.com wrote: Yes, it can. Under the hood, NSAttributedString is using WebKit for HTML rendering. In part that means that, when invoked from a background thread, it has to shunt the work to the main thread. But it also means the main

Re: Allow access to Documents folder in a sandbox app

2013-05-08 Thread Igor Elland
Hi, Is there any way to access the documents folder without letting user select it explicitly in a sandbox app? No. If I want to submit the app to the App Store, does the app have to be sandboxed? Yes. Cheers, Igor ___ Cocoa-dev mailing list

Re: Allow access to Documents folder in a sandbox app

2013-05-08 Thread Mike Abdullah
On 8 May 2013, at 20:02, Peng Gu pan...@gmail.com wrote: Hi, Is there any way to access the documents folder without letting user select it explicitly in a sandbox app? Yes, a temporary entitlement, but Apple are highly unlikely to allow you it. If I want to submit the app to the App

Re: Allow access to Documents folder in a sandbox app

2013-05-08 Thread Sean McBride
On Wed, 8 May 2013 20:22:30 +0100, Mike Abdullah said: Is there any way to access the documents folder without letting user select it explicitly in a sandbox app? Yes, a temporary entitlement, but Apple are highly unlikely to allow you it. Just to clarify, you don't actually need Apple's

setFrame: weirdness in UITableViewCell

2013-05-08 Thread Laurent Daudelin
I'm trying to use a custom view which does only one thing: drawing the rect defined by its bounds: - (void)drawRect:(CGRect)rect { // Drawing code UIBezierPath *path = [UIBezierPath bezierPathWithRoundedRect:self.bounds

Too many threads?

2013-05-08 Thread Rainer Standke
Hello all, I have an app that's rendering QuickTime movies based on AVFoundation. It's multi-threaded via GCD, and has up 6 renders going at the same time. I am getting un-explained crashes, or at least I can't explain them. The crashing thread is usually something deep in AVFoundation. I get

Re: Too many threads?

2013-05-08 Thread John Randolph
On May 8, 2013, at 3:03 PM, Rainer Standke li...@standke.com wrote: When the crashes happen the has something like 2000 threads going, according to Activity Monitor, and all the Free RAM is used up. Running out of RAM is probably the cause. It wouldn't surprise me at all to see crashes in

Re: Wanted: new owner for Mac apps

2013-05-08 Thread Luther Baker
Steve's entire thread was about giving away his source code -- he even keeps us up to date as it starts to leave his hands ... and you read snippy into that last comment? ... and then decide to publicly call him out on it? I really don't understand how you got snippy out of that comment but your

Re: Wanted: new owner for Mac apps

2013-05-08 Thread Alex Zavatone
On May 8, 2013, at 8:17 PM, Luther Baker wrote: Steve's entire thread was about giving away his source code -- he even keeps us up to date as it starts to leave his hands ... and you read snippy into that last comment? ... and then decide to publicly call him out on it? Yes. Because I

Re: Too many threads?

2013-05-08 Thread Stephen J. Butler
If that's a POSIX error code it's reporting, then 35 maps to either EAGAIN or EWOULDBLOCK. I thought it might be you're hitting the max file limit (256 by default) but that would cause open() to return EMFILE. However, pthread_create() can return EAGAIN, and with 2000+ threads you might be

Re: Wanted: new owner for Mac apps

2013-05-08 Thread Steven Degutis
Alex, does this mean you aren't gonna buy me a PaintCode license out of gratitude? Dang. :( On Wed, May 8, 2013 at 7:25 PM, Alex Zavatone z...@mac.com wrote: On May 8, 2013, at 8:17 PM, Luther Baker wrote: Steve's entire thread was about giving away his source code -- he even keeps us up to

Re: Does initWithHTML:dataUsingEncoding:documentAttributes: run an event loop?

2013-05-08 Thread Andy Lee
On May 8, 2013, at 3:14 PM, Jens Alfke j...@mooseyard.com wrote: On May 7, 2013, at 3:52 PM, Ken Thomases k...@codeweavers.com wrote: Yes, it can. Under the hood, NSAttributedString is using WebKit for HTML rendering. In part that means that, when invoked from a background thread, it has

Re: Showing numpad key equivs in menu items

2013-05-08 Thread Allan Odgaard
On May 8, 2013, at 23:17, David M. Cotter m...@davecotter.com wrote: TextMate also draws a custom string as key equivalent ... the only (user visible) shortcoming I have found is that it doesn’t left/right align the key/modifier glyphs this was a requirement of ours, to have it actually be

Re: Too many threads?

2013-05-08 Thread Seth Willits
On May 8, 2013, at 3:03 PM, Rainer Standke wrote: When the crashes happen the has something like 2000 threads going, according to Activity Monitor, and all the Free RAM is used up. Even with 6 renders going on in parallel there's no way you should have 2000 threads. Something you're doing

NSPersistentDocument Migration with Sandbox

2013-05-08 Thread Jim McGowan
Hi, I'm working on an update to a Core-Data document app, and have a new version of the document model. I've got automatic migration (with a mapping model) of documents in the old format working fine when the app is run without sandboxing. However, when running in the sandbox, migration

Re: NSPersistentDocument Migration with Sandbox

2013-05-08 Thread Jerry Krinock
On 2013 May 08, at 21:20, Jim McGowan jim_mcgo...@mac.com wrote: sandboxd gives this message on the console: deny file-write-create /Users/jimmcgowan/Desktop/.AGPS Examples.rtd.migrationdestination_41b5a6b5c6e848c462a8480cd24caef3 I've never worked with a sandboxed document, but the above