Olie

Santa Cruz Mountains, CA

2d
comment UITextField "value changed" not firing when field is updated
Sure, but that's not an editing change. If you want to do that, your code should also call the changed selector on the delegate. That way, you're in full control.
2d
comment OAuth 2.0 Authorization Header
Quick question, as I keep seeing answers like this one, but without the clarification: if I'm doing this in code (via HTTPRequest API), I add headers to my request with a header-name and an associated data field. In this answer, which part is the name of the header, and which the data? That is, is the header Authorization: Bearer with 0b...42 as data, or is the header Authorization: with Bearer 0b...42 as the data, or what? Thanks! (Btw, I'm Oauth2, if it matters.)
2d
revised Oauth2.0 server in php very simple implementation - use access_token with POST
typo
Apr
22
comment Archive in Xcode 4.5 - No errors, but build cancelled
Actually, I just learned that the & wasn't the thing -- that just slightly delayed execution of agvtool. What really helped was to make sure that agvtool ran well after the build had finished and the install/run had started. (My guess is that agvtool somehow interferes with the start of the install/run process.) So my altered, better script is: sleep 1 ; "${DEVELOPER_BIN_DIR}/agvtool" next-version -all, and it's working like a champ.
Apr
22
comment Elegant solution for line-breaks (PHP)
When my php returns "Hi there.\nWelcome." in an API call, then I log the output in my app, it displays as Hi there.\nWelcome., with the \n intact (not converted to newline.) How do I get php to insert an actual \n newline char into the return result? (Oh! Does it have to do with the fact that the result is being json_encode-ed? Man, that's annoying! Ok, how to I fix that??) Thanks!
Apr
22
revised How can i get the content of uploaded file in php?
cleanup typos, grammar, etc.
Apr
20
comment Playing YouTube video with start and end time using YouTube API
In Safari (os-x), the start is working, but the video just plays to the end, doesn't stop at end-time.
Apr
19
comment iPhone/iPad App Code Obfuscation - Is it Possible? Worth it?
Can we get links with details for "executable is already encrypted by Apple" and "it's easy to decrypt and then you get all the plain selector names"? Thanks!
Apr
19
comment How to store a string in KeyChain , iOS?
I wish I could give a bonus +1 (in addition to the one I already gave) because your code uses proper curly-brace alignment. I know it just follows the original, but all the new sample code is... well, wrong! ;) Thanks!
Apr
19
comment Archive in Xcode 4.5 - No errors, but build cancelled
+1 because this was my problem, but here's a cool trick! My old script (which caused build to cancel): "${DEVELOPER_BIN_DIR}/agvtool" next-version -all -- new script, which does not cancel build: "${DEVELOPER_BIN_DIR}/agvtool" next-version -all & (Add & to run in as a background task.)
Apr
18
comment How do you change the color of text in a UITextView?
(NOTE: Radar #20601113)
Apr
18
comment Xcode Run script Build Phase "run script only when installing" option
Not when building/installing on a device? (That is: CMD-B build & run to a physical device (not sim) with the device plugged in. Does that not count as "when installing" for this switch?)
Apr
16
comment iOS - Expand/Collapse UITableView section with animations
Quick note, your if ausgeklappt[tag]... to reverse a bool could be written as ausgeklappt[tag] = !ausgeklappt[tag]; (assuming that is a BOOL array.)
Apr
15
awarded Revival
Apr
11
revised UITableView reload data works, but cells don't update on screen
added 93 characters in body
Apr
11
comment UITableView reload data works, but cells don't update on screen
Turns out to be a stupid copy/paste error and me not-correctly-reading my code (thanks, @Dennis !) Is there a way to "close" dumb questions?
Apr
11
comment UITableView reload data works, but cells don't update on screen
And, actually, the next time I look for it, I get the other label -- the one with cellDescriptionTag. I can't tell you how many times I looked this over and just read-right-past it. D'oh!
Apr
11
accepted UITableView reload data works, but cells don't update on screen
Apr
11
comment UITableView reload data works, but cells don't update on screen
Duh. That's exactly the problem. Simple copy/paste error. I knew it had to be something simple/stupid. Thanks!
Apr
11
comment UITableView reload data works, but cells don't update on screen
The table in question is displayed in a UIViewController which, itself, is displayed within a UIPopoverController. I don't think it should matter, but that's slightly unusual from every other time I've done this. Do I need to do something special to get cell content within a popover to update?
1 2 3 4 5