Brian Broom

Raleigh, NC

brianbroom.com

Age: 42

Long time tinkering programmer, I've done professional work in web design and web application development and research work using parallel techniques in physics simulations. I'm currently teaching physics, computer science, and iPhone programming at a high school.

1d
comment Google Analytics doesn't work on new iOS project
The official getting started page doesn't mention libGoogleAnalyticsServices.a, adding that solved my linker issues.
Jul
8
comment EXC_BAD_INSTRUCTION with Swift
Might try running under Beta 3, there is now a console message for some of the cases that cause this. In my case, a cocoa method was returning an implicitly unwrapped optional (return type of Type!) which you don't have to check, but still might be nil.
Jul
8
comment Diagnosing EXC_BAD_INSTRUCTION in Swift standard library
In Beta 3, you now get a console message to the effect of "An implicit unwrapped optional had a nil value".
Jul
7
comment Unknown type name for swift property
This is pointed out in the answer, but make sure you check each of the files where you have #import X-Swift.h.
Jun
13
awarded Autobiographer
May
8
answered How do I make my iOS7 UITableViewController NOT appear under the top status bar?
Mar
22
answered Xcode- Deleted images appear in simulator
Dec
5
comment Complex Game AI for Turn-based Strategy Games
Bayesian based doohicky - awesome
Dec
5
answered Objective-C C Style Functions
Oct
12
awarded Autobiographer
Oct
11
comment Space partitioning when everything is moving
I used something similar to this in calculating data based on simulated atom positions. It sped up a calculation that took hours/days and turned it into minutes. It is a bit complicated to setup.
Aug
8
comment How to get the reading of deciBels from iOS AVAudioRecorder in a correct scale?
the middle part of your expression is log10( powf( 10, avgPow/20 ) ). Isn't this the same thing as avgPow/20 since the log and pow cancel?
Jul
23
answered 2D Circular View/Background Wrapping SDL for Game
Jul
8
answered Row selection when dragging over a UITableView with scrolling disabled
Jun
21
answered XCode - Objective C: Deleting Table row crash
Jun
19
comment Set UIButton title to selected table cell
When you load the new data, what should the button text be, and should the previously selected row stay selected?
Jun
18
answered Understanding UITableView dequeueReusableCellWithIdentifier - returns cell even on the first call
Jun
18
answered How to create a calendar like this
Jan
22
comment Bootstrap buttons have strange artifact on right edge
I noticed it on a static navbar (not fixed-top). In my case it is fine at some widths, and bad at others (just like above image). This is a stock download from a couple of weeks ago.
Dec
17
comment Crash when using Cocos2d
CCCallFunc calls a selector, CCCallFuncN calls a selector with the Node as a parameter. As I understand it, if you just need to run a method, CallFunc is fine, but if you need to run something for this element (that just finished moving, say) then you use CallFuncN so you have a reference to that node.
1 2