iOS Calendar Question

2013-09-19 Thread Dave
Hi, I've had a request for the following functionality and I'm not sure from the docs if it is possible, this App is for iOS 5+. The App has presented a number of events in a table view. The request is to add a button to an item that saves it to the User's Calendar. This seems easy enough,

Re: iOS Calendar Question

2013-09-19 Thread Dave
On 19 Sep 2013, at 15:17, Mike Abdullah mabdul...@karelia.com wrote: On 19 Sep 2013, at 15:00, Dave d...@looktowindward.com wrote: Hi, I've had a request for the following functionality and I'm not sure from the docs if it is possible, this App is for iOS 5+. The App has presented

Re: iOS Calendar Question

2013-09-19 Thread Roland King
The answer to both of those is no, with a caveat or two. The first is Apple's explicit permissions policy since iOS 6 (so 5 still works but 5 is a small installed base now). You have to ask permission the first time and permission can be revoked by the user randomly on the setup screen later.

Re: iOS Calendar Question

2013-09-19 Thread Dave
On 19 Sep 2013, at 15:28, Roland King r...@rols.org wrote: The answer to both of those is no, with a caveat or two. Thanks a lot. The first is Apple's explicit permissions policy since iOS 6 (so 5 still works but 5 is a small installed base now). You have to ask permission the first

Re: [OT] iTunes 11.1 Beta

2013-09-19 Thread Jeff Smith
You can use Google to search Apple's dev site... site:https://developer.apple.com iTunes You can also use it to search the archive for this list... site:http://lists.apple.com/archives/cocoa-dev iTunes Jeff Found it now, thanks. It's ok I am an Apple Mac and iOS Developer. The Apple

Still can't get autolayout to work the way I want

2013-09-19 Thread Rick Mann
Xc5, iOS 7, simulator. I have a popover that comes up fine. But when I click on a cell, and it segues to the next scene, it then grows the popover in width to fill the iPad screen. The target scene is a static table view. It has two custom cells with labels in one group, and a cell used as a

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Rick Mann
On Sep 19, 2013, at 15:22 , Hunter Hillegas li...@lastonepicked.com wrote: If you haven’t seen it, Apple did expand the AutoLayout Programming Guide about a week ago to be more expansive. Also, it’s probably been said a million times but doing AutoLayout w/ Xcode 4 was terrible and with

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Hunter Hillegas
That’s too bad. My experience has been quite good but of course, each project is different and some things are more complex than others. On Sep 19, 2013, at 3:24 PM, Rick Mann rm...@latencyzero.com wrote: I'm having HUGE problems in Xc5. My comments just now are wrt Xc5 and iOS 7. You

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Brad O'Hearne
On Sep 19, 2013, at 2:45 PM, Rick Mann rm...@latencyzero.com wrote: I am never able to get this shit right 100% of the time, and I don't know if it's because I'm doing something wrong, or iOS is broken and I need to do something else. As a second to Rick's request, auto-layout has given me

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Rick Mann
On Sep 19, 2013, at 15:26 , Hunter Hillegas li...@lastonepicked.com wrote: That’s too bad. My experience has been quite good but of course, each project is different and some things are more complex than others. It's complex to describe the issues I'm seeing. I've made a half-dozen screen

Re: Modifying the save path in an NSDocument based application

2013-09-19 Thread Pax
The answer, if anyone else is thinking of answering this question, is to use NSFileWrapper - ensuring that Document is distributed as a bundle is unchecked for the folder that you generate. Simples. And my apologies to all here for not investigating further before posting a question. On 18

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Kevin Muldoon
I love the power of auto-layout, but I'll be damned if I can make it behave when working on the GUI .xib file. I've taken to using auto-layout without .xib, building the UI elements in the viewController.m and attaching NSLayoutContraints manually. It's a bit of a pain, but if the layout is

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Rick Mann
On Sep 19, 2013, at 15:29 , Kevin Muldoon caoimgh...@gmail.com wrote: I love the power of auto-layout, but I'll be damned if I can make it behave when working on the GUI .xib file. I've taken to using auto-layout without .xib, building the UI elements in the viewController.m and attaching

Re: Window controllers and memory leaks

2013-09-19 Thread Jerry Krinock
Although the problem in this thread has been solved, a project I'm working needed a systematic way to hang on to transient windows. And subclassing NSWindowController as I suggested last week is costly due to lack of multiple inheritance in Objective-C. So today I wrote a new class which…

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Kevin Muldoon
Yes, IB does automagically pop in constraints and for simple layouts, it works. But, with more complicated layouts, moving a single element around will rearrange one or more other constraints, generally breaking everything. I'm not familiar with the clear constraints command in IB, but like I

Re: iOS Calendar Question

2013-09-19 Thread Mike Abdullah
On 19 Sep 2013, at 15:00, Dave d...@looktowindward.com wrote: Hi, I've had a request for the following functionality and I'm not sure from the docs if it is possible, this App is for iOS 5+. The App has presented a number of events in a table view. The request is to add a button to

Re: iOS Calendar Question

2013-09-19 Thread Kyle Sluder
On Sep 19, 2013, at 8:41 AM, Dave d...@looktowindward.com wrote: They are worried most people will say NO and want to avoid it if possible. Then they have missed the entire point of the feature. Ironically, they're doing a fantastic job of illustrating why Apple made it mandatory and

Re: iOS Calendar Question

2013-09-19 Thread Dave
On 19 Sep 2013, at 17:12, Kyle Sluder k...@ksluder.com wrote: On Sep 19, 2013, at 8:41 AM, Dave d...@looktowindward.com wrote: They are worried most people will say NO and want to avoid it if possible. Then they have missed the entire point of the feature. Ironically, they're doing a

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Hunter Hillegas
If you haven’t seen it, Apple did expand the AutoLayout Programming Guide about a week ago to be more expansive. Also, it’s probably been said a million times but doing AutoLayout w/ Xcode 4 was terrible and with Xcode 5, it works a ton better. On Sep 19, 2013, at 3:18 PM, Brad O'Hearne

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Brad O'Hearne
On Sep 19, 2013, at 3:50 PM, Kevin Muldoon caoimgh...@gmail.com wrote: Yes, IB does automagically pop in constraints and for simple layouts, it works. But, with more complicated layouts, moving a single element around will rearrange one or more other constraints, generally breaking

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Kyle Sluder
On Sep 19, 2013, at 4:23 PM, Brad O'Hearne br...@bighillsoftware.com wrote: Anyway, you get the point. I have found myself actually devoting time to trying to reverse-think how some of these auto-generated constraints appear, because some of them are so wacky I find myself wondering that it

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Rick Mann
On Sep 19, 2013, at 17:29 , Kyle Sluder k...@ksluder.com wrote: Xcode 5 doesn't insert any constraints for you at design time. You are free to drop anything you want wherever you want on the canvas, and no blue tentacles will emerge from your views. This is not the behavior I'm

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Kyle Sluder
On Sep 19, 2013, at 5:30 PM, Rick Mann rm...@latencyzero.com wrote: This is not the behavior I'm experiencing. Well, I guess it is, but IB keeps changing the values of my constraints all the time, even when I'm editing unrelated scenes. Is IB changing the *values*, or the *numbers*

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Rick Mann
On Sep 19, 2013, at 17:36 , Kyle Sluder k...@ksluder.com wrote: Is IB changing the *values*, or the *numbers* that appear on the constraints? If a view’s frame is out of whack with its constraints, the constraints in conflict will be drawn in orange, with a number badge atop them. This

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Kevin Cathey
To get the new Xcode 5.0 auto layout workflows, check to make sure that you don't have your development target for the nib set to 4.6. You can check this by selecting the document, opening the file inspector, and under Interface Builder Document make sure Opens In is set to Default (5.0) or

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Kevin Cathey
On 19 Sep 2013, at 17:37, Rick Mann rm...@latencyzero.com wrote: On Sep 19, 2013, at 17:36 , Kyle Sluder k...@ksluder.com wrote: Is IB changing the *values*, or the *numbers* that appear on the constraints? If a view’s frame is out of whack with its constraints, the constraints in

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Rick Mann
That might be. It's hard for me to tell at a glance what's going in (might help to add the constants to the geometry tab list of constraints in the inspector. Sent from my iPhone On Sep 19, 2013, at 18:17, Kevin Cathey cat...@apple.com wrote: On 19 Sep 2013, at 17:37, Rick Mann

Re: iOS Calendar Question

2013-09-19 Thread Roland King
The first is Apple's explicit permissions policy since iOS 6 (so 5 still works but 5 is a small installed base now). You have to ask permission the first time and permission can be revoked by the user randomly on the setup screen later. I don't honestly recall the details of how you keep

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Charles Srstka
On Sep 19, 2013, at 5:50 PM, Kevin Muldoon caoimgh...@gmail.com wrote: Yes, IB does automagically pop in constraints and for simple layouts, it works. But, with more complicated layouts, moving a single element around will rearrange one or more other constraints, generally breaking