|
Nah, twas a joke answer. I usually group them. I used to be a "match the groups to folders" person but I gave up and haven't looked back. It's very freeing!
|
# ? May 13, 2017 13:11 |
|
|
# ? Jun 5, 2024 04:54 |
|
It's no big deal to let them fall out of sync in a regular project, I guess. The original point was that Xcake makes the sync automatic, and it does help you manage your stuff. It seems like a lot of people don't have as negative a view toward .pbxproj as I do. When I have needed to use FileMerge to merge the fact that Person A added, renamed, moved or deleted files and Person B added, renamed, moved or deleted other files, I have found it so inscrutable that I just take everyone's additions, go into the project in Xcode and remove redundant file references, file references for nonexistent files, redundant entries in Build Phases, etc. The pbxproj for a quite small project-- 2 targets (main and test), maybe 40 source files, a dozen XIBs (there's a blech for another day), is about 1000 lines--ridiculously large for what it's actually covering. In modern project formats, you can usually specify a source directory, a resource directory, your dependencies, and a few compile flags and be on your way. Using Ruby scripts to duct tape Apple's bad developer tools into usability is already standard--that's what CocoaPods and even Carthage are. I'm also growing to believe that it's wrong to hide the raw representations of project/config files from developers. GUIs are great for convenience and discoverability, but you need to be able to organize and version and diff the raw representation. brap fucked around with this message at 17:48 on May 13, 2017 |
# ? May 13, 2017 17:45 |
|
Is it possible to rename a project and folders in Xcode without creating waves of issues? I'm using Git and CocoaPods in case that's revelant.
|
# ? May 13, 2017 20:36 |
|
Honest question: is it weird that, for source code that's only gonna be used for one project, I don't really care where the files go or how they're organized? I just throw each project's source files into their own directory and call it a day (language & build system notwithstanding). Every time I've tried to do it the "right" way and have the directory structure match the Xcode groups has just wound up being a waste of time at best, and caused extra work when the Xcode groups needed to get reorganized. Of course, I don't have the negative view of Xcode and pbxproj that some do, so maybe I am weird vv
|
# ? May 13, 2017 20:41 |
|
uncle blog posted:Is it possible to rename a project and folders in Xcode without creating waves of issues? I'm using Git and CocoaPods in case that's revelant. If you weren't using CocoaPods then probably. With CocoaPods? Who knows. Maybe. You can change the display name of a project without having to rename the project. Just use the new display name in iTunes Connect, etc. If you need to rename a file, do it inside Xcode so that it's aware of the change, and it will issue the necessary git commands too. If you rename a folder with source code in it, Xcode will, of course, no longer be able to find your source code. You can rename the folder that your whole project is in just fine, so long as you didn't hard code any paths anywhere. Or just throw all the files in one folder (except third party stuff) and only worry about keeping the Xcode groups organized.
|
# ? May 13, 2017 20:59 |
|
uncle blog posted:Is it possible to rename a project and folders in Xcode without creating waves of issues? I'm using Git and CocoaPods in case that's revelant. Yes. But it might not be worth it.
|
# ? May 16, 2017 00:52 |
|
Apple Goons, I'd like to mess around with iOS development, but have no access to anything running OSX to do so with. My understanding is that even using something like Xamarin requires access to an Apple computer to get the job done. I assume the most cost effective way to solve this would be picking up a generation or two old Macbook of some sort. Are there any recommendations on a model or year of MB that would be cheap, but wouldn't sacrifice a great deal on the development experience? Or would doing some VM related shenanigans on my desktop be a saner option?
|
# ? May 16, 2017 20:27 |
|
I think we recently agreed that any Macbook Pro since 2012 will be just fine.
|
# ? May 16, 2017 21:45 |
|
lord funk posted:I think we recently agreed that any Macbook Pro since 2012 will be just fine. I'm currently rocking my Macbook Air from Fall 2012. Aside from my battery lasting all of 45 minutes, it's able to run XCode and apps just fine. Probably not anything super intensive game wise but that's fine for me.
|
# ? May 17, 2017 03:17 |
|
ancient MacBook Air club!
|
# ? May 17, 2017 04:10 |
|
pokeyman posted:ancient MacBook Air club! Sup bro. Honestly, been thinking about upgrading but the problem is I just don't need to do it because somehow this dude is still hanging on.
|
# ? May 17, 2017 04:14 |
|
Yep. Nothing in the current line really grabs me and this ol' shitbox is still humming. The Thunderbolt Display helps.
|
# ? May 17, 2017 04:23 |
|
Any best practices when purchasing a used Mac? Expected cost?
|
# ? May 17, 2017 04:42 |
|
Warbird posted:Any best practices when purchasing a used Mac? Expected cost? Nah. But I'd grab an SSD and swap it out if you get one with a spinny disc.
|
# ? May 17, 2017 13:21 |
|
Is it just me, or is Xcode especially bad about molesting storyboards since 8.3 or so? If I so much as look at a storyboard file, Xcode adjusts a dozen coordinates by 0.5 or sometimes 0.00000000001, even if I let it do its thing and commit the changes. It used to do that but then be happy for one version of Xcode if you let it do its thing once. Now it's every god drat time I open a storyboard file.
|
# ? May 17, 2017 18:57 |
|
I have a pet theory that opening storyboards on retina vs non-retina screens makes for some adjustments of 0.5 points but I've never confirmed it. Any chance that's relevant to you or your team?
|
# ? May 17, 2017 22:55 |
|
pokeyman posted:I have a pet theory that opening storyboards on retina vs non-retina screens makes for some adjustments of 0.5 points but I've never confirmed it. Any chance that's relevant to you or your team? This is my theory too; I used to see it all the time when I had an old iMac at work, but I don't think I've seen it since I got a rMBP. I do always still run Xcode on a non-retina external display though, but it may still be something to do with the primary display.
|
# ? May 17, 2017 22:59 |
|
On the Xcode device? That could be it. I do switch between external displays and built-in Retina display frequently.
|
# ? May 17, 2017 23:43 |
|
pokeyman posted:I have a pet theory that opening storyboards on retina vs non-retina screens makes for some adjustments of 0.5 points but I've never confirmed it. Any chance that's relevant to you or your team? I saw that, with a corresponding Radar id, being discussed on the iOS-Developer Slack this week.
|
# ? May 19, 2017 07:42 |
|
alanthecat posted:I saw that, with a corresponding Radar id, being discussed on the iOS-Developer Slack this week. Well that's something I suppose! Now that I know there's a filed bug report I can go back to not reporting it myself.
|
# ? May 20, 2017 16:41 |
|
I only release an app every year and a half or so, but it still amazes me every time that the hardest part of the whole process is trying to get certificates and signing to actually work. Which crazy combination of restarting Xcode, revoking and reissuing certs, and randomly editing things will work this time?
|
# ? May 21, 2017 15:41 |
|
Even using all of the fastlane tools isn't 100% bulletproof. Running cert/sigh until everything is happy used to be bulletproof.
|
# ? May 22, 2017 01:15 |
|
Is there something broken with auto layout in 10.3.1? I've started getting UIViewAlertForUnsatisfiableConstraints in half of my view controllers where a UIView-Encapsulated-Layout-Height constraint has appeared that disagrees with all of the actual constraints I have in place. Picking one of my constraints at random and lowering its priority to 999 always gets rid of the warnings and, interestingly, never causes any layout problems. edit: It seems that all of the views with this problem contain table views with self-sizing table cells. Self-sizing cells has been nothing but problems. ManicJason fucked around with this message at 18:49 on May 23, 2017 |
# ? May 23, 2017 18:44 |
|
I've completely sworn off self-sizing cells. Can't figure out how to use them without weird poo poo happening. I'm fully prepared to admit I'm doing something wrong. But I've tried so many times and it always ends in tears.
|
# ? May 23, 2017 20:27 |
|
pokeyman posted:I've completely sworn off self-sizing cells. Can't figure out how to use them without weird poo poo happening. I'm fully prepared to admit I'm doing something wrong. But I've tried so many times and it always ends in tears. Agreed. I threw it all out when it broke programmatically scrolling a UITableView to a specific offset. Ain't nobody got time for that.
|
# ? May 23, 2017 20:29 |
|
For what it's worth, they are working for me in several places.. just with these slightly disturbing log messages. Let's never speak of the time I tried to use a self sizing table cell that contained a self sizing collection view. That also worked for a few iOS versions, but its duct taped logic started blowing up with assertion failures in iOS 9. It was never a good idea.
|
# ? May 23, 2017 22:26 |
|
Looks like I'm going to WWDC.
|
# ? Jun 2, 2017 04:31 |
|
Huckleduck posted:Looks like I'm going to WWDC. Speaking of, is there a thread this year for it or keynote at least?
|
# ? Jun 4, 2017 22:00 |
|
Any thoughts on how early to line up for the keynote? I'm not sure what to expect with the venue change in terms of how many seats there are in the main auditorium...
|
# ? Jun 4, 2017 22:20 |
|
attn people who like to write tests If you do testing with Xcode using XCTest, you don't want to miss session 409, "What's New in Testing". It is absolutely crammed with new stuff. Should be something interesting there for everyone.
|
# ? Jun 5, 2017 21:23 |
|
Mixed feelings on one hand some really nice things in Xcode 9, on another no news about XcodeKit or other extension points. All those radars Apple asked us to file so they'd know where to extend mostly unanswered.
|
# ? Jun 5, 2017 21:43 |
|
oh my god like 90% of the xcode 9 features are exactly what my team has been complaining about since we started writing swift code. this is amazing
|
# ? Jun 6, 2017 01:55 |
|
Groups match the file system now. Nice. My Eclipse-using brain kept being surprised when they weren't the same.
|
# ? Jun 6, 2017 02:12 |
|
dc3k posted:oh my god like 90% of the xcode 9 features are exactly what my team has been complaining about since we started writing swift code. this is amazing Yeah, it's some great new features and it seems to even not be painfully slow now? Too bad I can't use it because I am brain-damaged and incapable of using anything that isn't vim and I assume "all-new editor" means xvim is super loving broken.
|
# ? Jun 6, 2017 04:13 |
|
oh drat I didn't even think about that. Every time I switch to a machine without xvim installed I end up writing gibberish all over my files for a while until I get used to it
|
# ? Jun 6, 2017 04:16 |
|
dc3k posted:oh drat I didn't even think about that. Every time I switch to a machine without xvim installed I end up writing gibberish all over my files for a while until I get used to it don't I knpxaow that feeling
|
# ? Jun 6, 2017 04:31 |
|
The OP posted:Anything to do with coding for anything Apple has ever made. Apple II through iPad mini. HyperCard through Swift. Where can I find some resources or documentation for OS 7-8.5? I downloaded MPW and ResEdit (CodeWarrior 7's debugger doesn't work on OS X and CodeWarrior 8 crashes on startup for some reason) and got this far with the help of an online tutorial from 1996 and applying GS toolbox knowledge to the Mac. Turns out the Event Manager calls are the same on Mac OS 9 as they are on GS System 6.
|
# ? Jun 6, 2017 06:39 |
|
Mikey-San posted:attn people who like to write tests I'll be there!
|
# ? Jun 6, 2017 16:35 |
|
Protip: in Hall 2/3, the bank of seats to the very far left and front (near the TV) have power strips throughout. Looks like it may have been a press area.
|
# ? Jun 7, 2017 00:06 |
|
|
# ? Jun 5, 2024 04:54 |
|
FLOOR_MASTER posted:Protip: in Hall 2/3, the bank of seats to the very far left and front (near the TV) have power strips throughout. Looks like it may have been a press area. Nice nice, stealing these now.
|
# ? Jun 7, 2017 00:57 |