|
Thanks, that looks like it's worth checking out. The only problem there is that it requires iTunes to view the lectures, while I only have Android devices, and I don't like the idea of installing iTunes just to watch the lectures. Oh well. I'd love to hear book recommendations too, it's usually easier for me to follow along with something printed than with a video or audio.
|
# ? Dec 9, 2013 23:24 |
|
|
# ? Jun 4, 2024 14:08 |
|
Volmarias posted:Thanks, that looks like it's worth checking out. The only problem there is that it requires iTunes to view the lectures, while I only have Android devices, and I don't like the idea of installing iTunes just to watch the lectures. Oh well. Me too but so far I haven't seen anything good book wise... It might exist, I just don't know of any. Just install iTunes for windows in a VM. The actual videos are (IIRC) h264.
|
# ? Dec 9, 2013 23:33 |
|
You kinda need a Mac (or at least OS X in a VM) for iOS dev. I didn't bother watching most of the videos; the slides and homework assignments were enough most of the time.
|
# ? Dec 9, 2013 23:50 |
|
Plorkyeran posted:I didn't bother watching most of the videos; the slides and homework assignments were enough most of the time. Is Paul Hegarty still teaching it? He was great, and I think worth watching for the small comments more than the main content.
|
# ? Dec 10, 2013 01:27 |
|
Plorkyeran posted:You kinda need a Mac (or at least OS X in a VM) for iOS dev. Yeah, I know. I'll probably end up with an MBP or something through work, and my current job has actually given me one now. I just don't want to use a laptop to watch videos.
|
# ? Dec 10, 2013 01:46 |
|
I hosed up and accidentally deleted /usr/local/include on my Mavericks installation (don't ask how that happened please, it's shameful). I seem to recall there being some system-default headers in there? What would be the most appropriate way to restore the file structure to the way apple intended it to be?
|
# ? Dec 10, 2013 02:23 |
|
The entire point of /usr/local is that the OS never puts files there.
|
# ? Dec 10, 2013 02:30 |
|
Yeah, I'm stupid. I noticed a /GL/ path there and got confused. It was something installed by myself.
|
# ? Dec 10, 2013 03:08 |
|
Hope you've got backups. Hooray for Time Machine.
|
# ? Dec 10, 2013 03:13 |
|
Great. My dark keyboard flashes white when it's dismissed. Doesn't happen in a blank new app. Can one, just one of the UI objects work without needing some kind of troubleshooting?
|
# ? Dec 10, 2013 15:05 |
|
lord funk posted:Great. My dark keyboard flashes white when it's dismissed. Doesn't happen in a blank new app. Can one, just one of the UI objects work without needing some kind of troubleshooting? No. Storm Sim has a dark theme (people use it to fall asleep; no one wants to be blinded). I am discovering that doing anything other than the default white is a huge pain in the rear end. I'm now up to fighting the popovers. My background tableview is black. The popover now has no border because it just wants to dim the background, which it can't do on a black background. Is there an easy way to add a border like every other view? Nope.
|
# ? Dec 10, 2013 16:14 |
|
Have you run into this? If you use a navigation controller in a popover, there is a weird gradient that appears at the bottom of the popover the second time you pop it open. Here's the app I submitted to the Bug Reporter: https://pantherfile.uwm.edu/kdschlei/public/GhostlyImage.zip Of course, it's not noticeable if you use the default light background, and why would anyone not use the default? Everyone wants a bright white popover! EVERYONE!!!
|
# ? Dec 10, 2013 19:32 |
|
lord funk posted:Have you run into this? If you use a navigation controller in a popover, there is a weird gradient that appears at the bottom of the popover the second time you pop it open. Here's the app I submitted to the Bug Reporter: You will use ze white background und you will likes it, yes? EVERYONE LOVES ZE WHITE! COLOR ES VERBOTEN! GRADIENTS ES VERBOTEN! VERBOTEN!!!!! I'm looking forward to that issue; currently I'm trying to figure out how I can get the popover not to blend into the background view.
|
# ? Dec 10, 2013 19:51 |
|
My favorite iOS 7 WTF is if you present a UIDocumentInteractionController from a view controller that was presented modally (but only as UIModalPresentationPageSheet or UIModalPresentationFormSheet, the other non-sheet styles work just dandy). It comes up fine, but when the document interaction controller is dismissed, it also tears off the view from the modal view controller that presented it. You just get left with the shadow view that was behind the modal, so the app is unusable beyond that point. The best thing I could come up with to work around was to temporarily dismiss the modal view controller but hang onto a reference, present the UIDocumentInteractionController from the modal's parent, and then re-present the modal upon dismissal. They did nothing with the radar I filed three months ago, but at least it looks like it's been fixed in 7.1, thankfully.
|
# ? Dec 10, 2013 20:17 |
|
kitten smoothie posted:They did nothing with the radar I filed three months ago, but at least it looks like it's been fixed in 7.1, thankfully.
|
# ? Dec 10, 2013 21:20 |
|
Is anyone aware of a Calendar style component for OS X? I am getting the feeling that I'm going to have to entirely hand roll my own.
|
# ? Dec 11, 2013 03:11 |
|
Has anyone ever looked at the memory footprint of the various JSON deserializers? I've got some really oddly organized legacy documents that with RapidJSON just seem to balloon incredibly. (One JSON file ~100k in size that contains 1700 NSDictionary sub tree/values. If I was reading that correctly it was almost 6 megs in memory size. Though the more I think about it the more I doubt the number and will need to look at it closer. I've always traded speed for anything else when it came to JSON but now that I'm using Mik Ash's future libraries I'm starting to think that I'd rather trade memory for anything else.
|
# ? Dec 11, 2013 15:45 |
|
I wanted to let you guys know that I am looking to get hired in a remote tech / QA support position for OSX / iOS / Web Apps with possible light programming duties. I'll keep it short and just send you over to the SH/SC Job Fair post if anyone has any leads / ideas. Thanks for taking a read. If this is the wrong place to throw this I sincerely apologize.
|
# ? Dec 11, 2013 17:24 |
|
How do you delete a remote Git branch in Xcode? The delete button is grayed out in the Source Control >> Working Copies >> Configure ... window.
|
# ? Dec 12, 2013 00:24 |
|
lord funk posted:How do you delete a remote Git branch in Xcode? The delete button is grayed out in the Source Control >> Working Copies >> Configure ... window. Dig through your .xcodeproj searching for relevant strings using your favourite grep-alike?
|
# ? Dec 12, 2013 00:28 |
|
pokeyman posted:Dig through your .xcodeproj searching for relevant strings using your favourite grep-alike? Not sure what you mean. The repository on my Server machine has a bunch of Git branches, how does the local .xcodeproj factor in?
|
# ? Dec 12, 2013 01:11 |
|
lord funk posted:Not sure what you mean. The repository on my Server machine has a bunch of Git branches, how does the local .xcodeproj factor in? Oh I thought you wanted to hide a remote in Xcode. Sorry! No idea how to delete a remote branch.
|
# ? Dec 12, 2013 01:16 |
|
lord funk posted:How do you delete a remote Git branch in Xcode? The delete button is grayed out in the Source Control >> Working Copies >> Configure ... window. Not sure in Xcode terms but it's easy enough from the terminal; "git push origin --delete branchName"
|
# ? Dec 12, 2013 03:12 |
|
I spent about 3 hours today trying to hunt down a bug in my collection view logic. It didn't happen on the iOS7 sim, the iOS6 sim or the iOS6 device. It did happen on the iOS7 device. I was literally banging my head on my desk until I realised it was due a wacky thing that only happened when using a distribution profile to build for the iOS7 device.
|
# ? Dec 12, 2013 06:55 |
|
Hate it when that happens. Once spent hours trying to figure out why something wasn't working right, turns out it was because I typed 6.0 instead of 60.0.
|
# ? Dec 12, 2013 08:24 |
|
I got you guys beat. I once cleared 10+ critical bugs that showed up out of the blue one day with a single character fix. instead of traversing an array element by element, I was just reading the first element over and over. [someArray objectAtIndex:0] ... -> [someArray objectAtIndex:i]
|
# ? Dec 12, 2013 08:27 |
|
Malloreon posted:I got you guys beat. I once cleared 10+ critical bugs that showed up out of the blue one day with a single character fix. instead of traversing an array element by element, I was just reading the first element over and over. Nice! Also why weren't you using an iterator?
|
# ? Dec 12, 2013 11:54 |
|
How many of us have done this:code:
|
# ? Dec 12, 2013 19:00 |
|
lord funk posted:How many of us have done this: There's also: code:
|
# ? Dec 12, 2013 19:26 |
|
status posted:And then you hit Run and your device bursts into flames. The fan noise is its own kind of debugging message.
|
# ? Dec 12, 2013 20:13 |
|
In iOS 6 I had drawing text as fills and strokes, so I could have outlined text, working fine. Still works in iOS 7, but it's deprecated.code:
code:
|
# ? Dec 12, 2013 20:38 |
|
Not sure how those CG functions work, but my guess is that they don't apply when drawing text with attributes. The text color is determined by NSForegroundColorAttributeName, and the default is black. I'm guessing it's not showing up because you're drawing on a black background. Just add that attribute and get rid of the fill color / drawing mode CG functions and you should be good.
|
# ? Dec 12, 2013 20:54 |
|
That was it! Thank you so much. I guess I don't understand this dictionary attribute stuff, but I can see how it's easier to list it all out like that.
|
# ? Dec 12, 2013 21:08 |
|
ultramiraculous posted:Nice! I was actually thinking that while I was writing out the post last night. I think I'm remembering the exact issue right, just that the change was "0" to "i" and it fixed any number of blockers. I'll try and figure out what it was.
|
# ? Dec 12, 2013 21:20 |
|
Is there a reason why PyObjC takes forever to build?
|
# ? Dec 12, 2013 23:40 |
|
It has bindings for all of the standard libraries, so it is very large.
|
# ? Dec 13, 2013 00:32 |
|
I'm a novice ObjC coder, so I apologise if I get the nomenclature wrong. Does anyone have a decent tutorial of how to filter keys of a plist into an array? I'm looking to build a Table with the names of each item. Currently, each item has keys set up for name, summary, and image. So what I'm hoping to build an array with name1, name2, name3... etc. I should add, the plist is an array that contains dictionaries. Sorry if this is a rookie question. I will edit this post if I find what I'm needing. damaca fucked around with this message at 05:28 on Dec 13, 2013 |
# ? Dec 13, 2013 05:15 |
|
damaca posted:I'm a novice ObjC coder, so I apologise if I get the nomenclature wrong. I assume your plist is just an array of items, each item having the 3 key-value pairs? NSArray *plistArray = [NSArray arrayWithContentsOfFile:file]; Now you can just do something like code:
|
# ? Dec 13, 2013 05:27 |
|
status posted:I assume your plist is just an array of items, each item having the 3 key-value pairs? However, I just discovered it's an array with dictionaries for the various items. You can see the structure at the place I stole it from - http://www.raywenderlich.com/12444/objectively-speaking-a-crash-course-in-objective-c (search for 'Property Lists Rule!', and it should be below that). Here's a screenshot of the Property List in my app (repeating for item 1, item 2, etc): That tutorial also made use of NSBundle to load the plist, but I noticed that you can achieve that with NSArray directly? EDIT - I misread your script. Apparently having dictionaries is fine for the code you've written? damaca fucked around with this message at 05:50 on Dec 13, 2013 |
# ? Dec 13, 2013 05:38 |
|
|
# ? Jun 4, 2024 14:08 |
|
Right, so the code I posted above would work. When I said "I assume your plist is just an array of items, each item having the 3 key-value pairs?" what I really meant was "I assume your plist is just an array of NSDictionary objects", since an NSDictionary is just a key-value association. The use of NSBundle is to find your .plist file inside the application bundle. I think this code would accomplish what you want: code:
Here's a quick tutorial on it: http://iosdevelopertips.com/objective-c/fast-enumeration-on-the-iphone.html
|
# ? Dec 13, 2013 05:52 |