bpapa

United States

twitter.com/bpapa

Age: 36

iOS dev in NYC. In a past life, was a Java developer getting jiggy with Spring MVC.

Follow me on twitter - @bpapa

Apr
25
awarded Popular Question
Apr
20
comment XTubeManager crash in background?
@ZacharyWest how often? This is a brand new app, but I've only a couple of reports on this crash so far.
Apr
18
comment XTubeManager crash in background?
@ZacharyWest I'm seeing this too, and I'm using Branch. Also with the same sparse crash log.
Apr
16
comment Core Data unique constraints - "Dangling reference to an invalid object" on save
I'm not sure if I agree with your second paragraph. In my sample project, if I comment out line 59 in the view controller (to avoid the Exception being thrown), and then launch, tap the button, and then quit the app and view the underlying SQLite database, the Person's "job" column is still set despite the fact that the property was nil when saving the 2nd Person.
Apr
16
comment Core Data unique constraints - "Dangling reference to an invalid object" on save
It should! I am setting the merge policy on all contexts involved here. I'm pretty sure this is an Apple bug at this point but will be investigating.
Apr
16
comment Core Data unique constraints - "Dangling reference to an invalid object" on save
But I thought the whole purpose of Unique Constraints in iOS 9 is that i don't have to a "fetch or create" type of thing? I'm doing this to avoid duplicates of records that may be created in another thread, which I believe was one of the problems Unique Constraints was supposed to help solve.
Apr
15
revised Core Data unique constraints - "Dangling reference to an invalid object" on save
added 190 characters in body
Apr
15
comment Pass data to View Controller embedded inside a Container View Controller
"The Container view controller should not know anything about the letter" seems like an odd requirement. The user saw a table view, they tapped a row, another view controller was presented... of course it should be aware of that data. It sounds like you're looking for a solution in search of a real problem.
Apr
15
comment Similar iOS apps from same developer
I'm voting to close this question as off-topic because it's not a programming question
Apr
15
comment Can I use refactored storyboard in iOS 8?
Isn't this a Q & A site?
Apr
15
comment Can I use refactored storyboard in iOS 8?
This is a good question, no reason to close it. It's about a new feature introduced in 2015.
Apr
15
comment Better way to distribute iOS apps for testing
I wouldn't bother with Crashlytics, it's overkill for what you're trying to do. TestFlight really doesn't "take too long" unless you have a very specific business need to make them instantly available. Before distributing externally you have to go through review the first time which takes less than a day. Every subsequent build will likely be out within 30 minutes after you upload it to Apple. Sometimes TF is slow and you get stuck in processing but it's rare that that takes longer than an hour or so.
Apr
15
answered Can I use refactored storyboard in iOS 8?
Apr
15
asked Core Data unique constraints - "Dangling reference to an invalid object" on save
Mar
26
comment How do you share data between view controllers and other objects in Swift?
I don't think the subclassing of the Tab Bar Controller is a good recommendation. Instead, in the App Delegate, walk through the Tab Bar Controller's child view controllers and inject whatever the "Data Object" is (preferably a managed object context / custom "core data controller") into them.
Mar
22
awarded Popular Question
Mar
10
comment Can I preload the web content for Safari View Controller?
I seriously doubt Apple would ever support this. Twitter has no way of knowing whether or not a user will actually want to tap a "high priority tweet", so they're just wasting everybody's battery and data.
Mar
7
answered AVQueuePlayer: Loop last item in a queue (and eliminate hiccup) or loop last seconds of a video
Feb
11
answered How to determine whether the user has scrolled past the first cell?
Jan
29
awarded Revival
1 2 3 4 5