Feb
26
comment calloc in Swift
How does any of that relate to Core Graphics? You are simply allocating memory? I'm no swift expert, but the first block of code is allocating a pointer to UInt32 where the next block is just a UInt32. What happens if you say var pixels: UInt32*??
Feb
12
awarded Autobiographer
Feb
12
comment How to "select a team" when Xcode thinks I'm not a registered iOS developer? Also, do I need an iPhone to get a provisioning profile?
Generally when I start getting provisioning issues in Xcode, I remove my account via Preferences, shut down Xcode, reopen and add my account again. Why that works for me, I have no idea. YMMV
Feb
3
awarded Notable Question
Dec
16
awarded Commentator
Dec
16
comment Is laptop external display button OS specific?
I had to hit F12 to get to the boot menu so I could boot from USB, but I was still able to use the Fn-F1 combo to display the boot menu to my external monitor. I was then able to run arch live.
Dec
16
accepted Is laptop external display button OS specific?
Dec
15
asked Can Hydrogen Peroxide administered via ear drops reduce the duration of the common cold?
Dec
14
asked Is laptop external display button OS specific?
Dec
14
comment Changing Color/Alpha/Filter to MKMapView iOS 6
In the above example, the boundingMapRect is for the whole world. If you don't want the whole world, change that variable to be something else.
Dec
13
awarded Curious
Dec
12
asked Resume watching recorded TV on a different WMC machine while it is still being recorded
Dec
9
awarded Popular Question
Nov
28
awarded Constituent
Nov
26
awarded Caucus
Oct
29
awarded Good Question
Oct
20
comment Xcode 4.6.1 crashes after installing OSX Yosemite
reinstall Xcode and see if that fixes it
Oct
14
comment From date cannot be nil in Objetive-c
If you're strictly looking for seconds between two dates, then do: NSTimeInterval secondsElapsed = [endDate timeIntervalSinceDate:startDate] But your question is really asking "why can't I get a date from the formatter" :)
Oct
4
awarded Enlightened
Oct
3
awarded Nice Answer
1 2 3 4 5