Error “Cast from pointer to smaller type ‘int’ loses information” in EAGLView.mm when update Xcode to 5.1 (5B130a)

Apparently the clang version in Xcode 5.1 and above is more strict about potential 32bit vs. 64 bit incompatibilities in source code than older clang versions have been. To be honest, I think, clang is too restrictive here. A sane compiler may throw a warning on lines like this but by no way it should … Read more

iOS 7.1 UITapGesture not working with UIPickerView

I had the same problem, and I finally had a revelation 😛 It was like simultaneous gesture rencognizers on uiPickerView don’t work. so I use the gesture delegate < UIGestureRecognizerDelegate> with // add tap gesture UITapGestureRecognizer* gestureRecognizer = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(pickerViewTapGestureRecognized:)]; [picker addGestureRecognizer:gestureRecognizer]; gestureRecognizer.delegate = self; with -(BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer{ // return return … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)