Storyboard SplitViewController example

2011-12-24 Thread Jamie Daniel
I am very new to Xcode and iPad development. I am trying to do the following: I have an initial NavigationController and ViewController. I am trying to go from a button on the ViewController to a SplitViewController using Storyboards but I can't seem to get it to work. Does anyone have an exampl

Re: Core Audio Help

2011-12-24 Thread Ravi Singh
I have been eagerly waiting for Chris Adamson(sp) book or Core Audio, and my Amazon order I think is around 2 years old now. I would look for his site and talks at iDev360 and VTM because he is the best resource I found for interesting stuff. On Dec 23, 2011, at 11:14 AM, Phil Hystad wrote: > I

Re: release sent to deallocated instance under ARC .. how?

2011-12-24 Thread Roland King
... and of course the getter is -(id)delegate .. no *, writing on my iPhone on the subway, can't copy the code from my mac directly. > Getter is pretty ordinary > > -(id*)delegate > { > return _delegate; > } > > So in this case A has a strong reference to B and is B's delegate, fairly

Re: release sent to deallocated instance under ARC .. how?

2011-12-24 Thread Roland King
Getter is pretty ordinary -(id*)delegate { return _delegate; } So in this case A has a strong reference to B and is B's delegate, fairly common pattern. A is now being deallocated and as part of that the delegate relationship is being broken, one of two ways, either in A's dealloc it ca

Re: presentingViewController docs patently false

2011-12-24 Thread Matt Neuburg
On Sat, 24 Dec 2011 10:32:49 -0800, Kyle Sluder said: >On Dec 24, 2011, at 10:04 AM, Matt Neuburg wrote: >I'm under the impression that the default segues consult the >definesPresentationContext property to configure the actual animation. I could >of course be mistaken. I doubt need to "consu

Re: Cannot modify autoresizing with some iOS views

2011-12-24 Thread Matt Neuburg
On Sat, 19 Nov 2011 07:28:07 -0800, Matt Neuburg said: >On Fri, 18 Nov 2011 16:22:14 -0500, David Hoerl said: >>I have a Xcode 4.2 project with a dozen or so nibs. I'm in the process >>of assuring that all the resizing is set up properly. >> >>I find that a small number of primary views - the on

Re: presentingViewController docs patently false

2011-12-24 Thread Kyle Sluder
On Dec 24, 2011, at 10:04 AM, Matt Neuburg wrote: > I don't see how this has to do with UIStoryboard. It's about the stated > effect of definesPresentationContext on presentingViewController. I do now > understand what's really going on with that, I think, and I state my > understand in the iO

Re: release sent to deallocated instance under ARC .. how?

2011-12-24 Thread Matt Neuburg
On Sat, 24 Dec 2011 13:35:07 +0800, Roland King said: object being dealloced. This line of code > >return self.delegate == delegateArg > >caused self to get a retain/autorelease, resurrecting the object. The change >to use the ivar directly fixed it Using the ivar directly is also a way of

Re: presentingViewController docs patently false

2011-12-24 Thread Matt Neuburg
On Thu, 22 Dec 2011 10:27:32 -0800, Kyle Sluder said: >On Dec 22, 2011, at 8:59 AM, Matt Neuburg wrote: > >> Okay, I did eventually find the situation in which the docs are correct. It >> only took me two days to figure it out. >> >> But it is up to the docs to state that situation! This really

Re: __PRETTY_FUNCTION__.219635

2011-12-24 Thread Steve Sisak
At 12:11 PM + 12/24/11, Peter Hudson wrote: I have been making a few ( trivial ) changes to some code and when the app runs it grinds to a halt with an Objective-c exception and the next to last item on my stack is __PRETTY_FUNCTION__.219635 IIRC, you'll get an exception if you accide

Re: __PRETTY_FUNCTION__.219635

2011-12-24 Thread Peter Hudson
Hi Ken Thanks for this - most illuminating ! I have been checking out code around the crash point - it was easy to isolate - and the exception may well have emanated from my trying to do a deep copy of a class that does not have initWithCoder / encodeWithCoder methods. I seem to remember tha

Re: __PRETTY_FUNCTION__.219635

2011-12-24 Thread Ken Thomases
On Dec 24, 2011, at 6:11 AM, Peter Hudson wrote: > I have been making a few ( trivial ) changes to some code and when the app > runs it grinds to a halt with an > Objective-c exception and the next to last item on my stack is > > __PRETTY_FUNCTION__.219635 > > ( the top of the stack being

__PRETTY_FUNCTION__.219635

2011-12-24 Thread Peter Hudson
Hi all I have been making a few ( trivial ) changes to some code and when the app runs it grinds to a halt with an Objective-c exception and the next to last item on my stack is __PRETTY_FUNCTION__.219635 ( the top of the stack being obj_msgSend ) Anybody have any ideas on this one. I