« first day (202 days earlier)      last day (1954 days later) » 

1:00 PM
Mikey, what have I told you about those pills?
 
the ones shaped like Flintstones characters?
they're delicious by the bag-full
 
Hi @Luca -- you have no history at all on chat....
you should probably get some experience answering questions and doing chat
and then try again! I'd love to allow you to post here.
 
Agreed. Mike is very fast.
 
Hello Jack
 
1:14 PM
My head is paining
 
good then put some load on your head
 
Ohh. You got heavy work?
 
:P
 
Mike is kind, good, smart and funny boy.
 
am working on xmpp , though its finished but it seems little boring
 
1:17 PM
Ok. @RichardJ.RossIII I have posted question.
0
Q: Getting wrong UIButton tag on Long press gesture recognizer

rohan-patelI am aware that there are already many questions asked similar to this, but I have tried all of them, and on failing to solve my issue I am posting my question. First the questions I tried are: 1)How to get button.tag via longPressGestureRecognizer? 2)UIButton Long Press Event In my applicatio...

You have right to be notified first.
Should we put that disclaimer or not? I am in dilemna
 
Yes very heavy work. Video conferencing app. I think the TL is stupid. He has become TL for first time in his life and has been panicking
 
lol. Take charge of TL away from him.
 
My bos has been out of the office for 3 days now
im getting lonely
 
@rohan-patel answer posted.
 
silly video conferencing is i guess is the next feature of our voip app :)
 
1:24 PM
Ohh I thought you went to sleep.
Ok.
Lol. I can not accept answer in 7 minutes.. >_<
 
You thought I went to sleep?
 
Yup or you went away for some reason. I thought.
 
No, I was just working.
Facebook integration :/
 
Ohh.. Mike could be very helpful to you in that case.. ;-)
 
Heh. I've already done this before, I'm just re-starting the project from scratch
 
1:33 PM
Accepted, +15 as well as many thanks also. =D
 
user457812
Well, as I guessed, at least one person has already submitted a pull request to change the color in my theme from purple to blue.
 
@nil haha. I'd request to change it from purple to pink.
 
user457812
I'd use pink, actually, but purple was the other general color chosen for the theme.
 
Although I have been working with pink for far too long.
Making breast cancer awareness apps.
 
user457812
Selections and such are purple, highlights and active things are blue, and modified/edited things are orange.
 
1:36 PM
It's a lie! They don't have any boobs :(
 
user457812
The color scheme I use has excessive amounts of pink.
 
user457812
Well, excessive for most people.
 
user457812
 
user457812
Like so.
 
user457812
That said, the theme initially used pink and I axed it because red was too close to pink and ended up being a bad choice for highlights
 
1:39 PM
which is this editor .. Sublime looks similar with those tab lines
 
user457812
It's Sublime.
 
cool means I am updated with tools
some people still use TextWrangler
 
Does anyone know how to get an opaque UIColor that is the same as the color you get when placing an translucent color over white?
 
user457812
Those people are insane.
 
@crypticツ simple color multiplication
 
user457812
1:43 PM
Also, I don't use my dark color scheme as much anymore. The light one tends to be easier on the eyes.
 
Depends on what type of alpha blend you want, though
There's no one answer.
@crypticツ here's a basic example of the 'over' alpha blending mode: gist.github.com/richardjrossiii/5204805
 
2:03 PM
Ah thanks, i fixed it!
 
No problem.
 
2:26 PM
the amount of taxes I had to pay last year is virtually @nil
 
how did you get away with that?
I thought the UK economy is even worse than in the US
 
user457812
I owe no taxes because I'm poor.
 
is this because you were doing Windows Mobile coding for most of last year?
 
user457812
2:42 PM
I've never touched Windows Mobile.
 
hmmmm, I do believe 99% of the world's population hasn't, either.
it was just my theory as to why you were so "poor".
I'm poor, but only because I pay a @#$@#$-load of taxes.
 
@nil I hope you mean to say Windows Phone.
 
Yeah, it used to be windows mobile. But then of course they changed it.
 
user457812
It's the same thing to me.
 
I really hate the fact that on WP8 the only custom drawing you can do is with DirectX.
Theres No equivalent to CGContext, Paint, etc.
 
2:47 PM
Well thats pretty lame.
 
Yes, it is
 
DirectX is great for games and such, but apart from that... GTFO Microsoft
 
I prefer XNA's framework over raw directX
I learned game programming on that
So maybe I'm a bit partial
 
Well XNA is good too. Whatever you like best.
But to draw a simple fill in whatever DirectX is just way overkill.
 
user457812
I prefer OpenGL.
 
2:54 PM
Poteto potato
(yes i know poteto isn't anything but saying potato potato looks silly)
 
lol
Speaking of games related stuff
Unity are launching the beta to deploy to WP8 next week
thats all mobile devices now
you gotta love unity
Makes me writing this engine even more pointless other than i want to do it
 
user457812
3:11 PM
Unity is neat but there are performance concerns I have with the way they do things.
 
Today I'm late again.
 
Hey Silly :)
 
late to what? coming here and answering lots of exciting questions?
 
Late for home. I hate my company
 
what a surprise.
 
3:22 PM
I'll not listen to my TL from tomorrow
Hi cryptic
Why the Japanese character
Today I need to again jump intp running train to get seat
If I jump will I survive
 
Let's find out, after the break!
 
3:37 PM
Hello guys
I have a little question
In tons of controls I use they always create a new VC with the control in it and then pushes it as the rootViewController of the navigation controller
But I am used to work with storyboards
So my question is now how can I do this
place it in my firstViewController
 
so do you want your new VC to be THE root view controller?
 
yes
 
or just another view controller on the stack of other view controllers?
 
but I managed to fix it :)
 
oh well, then never mind!
@Jezen, do you still have your problem too?
 
3:48 PM
uhh... apparently not!?
it refused to compile so many times, then I tried to find out what self was with NSLog(@"%@", self);
and mysteriously, it compiled
:-/
 
user457812
1 message moved to bin
 
user457812
2 messages moved to bin
 
Ok, i am here and nil is here. Lets have fun.
 
user457812
Pastebins exist for a reason.
 
user457812
3:50 PM
I'll disappear again, so you're on your own, Charan.
 
I think they don't know the reason.
 
will use a pastebin in the future, sorry
 
I survived cos I was late and train was already waiting.
 
user457812
You survived because you're a ghost in the 'net.
 
Train is not your boyfriend to wait for you though :p
 
user457812
3:53 PM
Insert more Ghost in The Shell references here.
 
Also I thought using properties within initialization and dealloc methods were bad practices
 
user457812
There's nothing wrong with either.
 
There is
 
user457812
The only time it's wrong is if you've got specialized logic in your getter/setter that depends on the object being fully initialized.
 
While an object is getting deallocated using properties might cause nuisance with KVO as its not completely freed. Same goes with initialization
 
user457812
3:58 PM
Your object shouldn't be getting deallocated if there are things observing it for changes.
 
@Vjayus... you don't have any chat history....
 
Let's see, Vijayus got 11 questions and only 2 answers and no chat history
but decent rep
 
whaddya think... does he pass the high bar?
 
what do you think?
 
user457812
Let him in and see what happens.
 
3:59 PM
mikeash.com/pyblog/… - I learned from here
 
user457812
Better to approve someone and revoke their access later than vice versa.
 
i concur
 
ok @Vjayus You've write access, Please read the house rules, print them out, stick them on the back of the toilet door, learn them better than your time tables, etc.
 
Welcome, to the lions den... @Vjayus
 
user457812
@Silly Mike doesn't say anything about properties being bad. He says you need to know what your properties are doing. It's simple.
 
user457812
4:02 PM
I'm glad Charan's taken up my method of announcing write access 'cause I'm too lazy to do it anymore.
 
thanks gang!
 
congrats on your first sentence on chat.stackoverflow.com
 
"Gang"? We look down upon such racist terms. BAN HIM!
JK
 
Yeah! I am a rude owner, you know? and i love the fact that i don't hesitate to revoke access. M4 trigger 🔫 🔫 🔫 🔫 🔫 🔫
 
stupid me and my poor choice of words!
 
4:05 PM
don't feel guilty
 
@Charan don't you mean a SQL trigger?
 
I always try to make @nil feel guilty. it never works.
 
It's almost like there's nothing in there
 
Nope, i've already told here about it
Mar 12 at 11:30, by sree charan
Yeah! I have Benelli M4 shotgun.
 
user457812
I am a broken shell of a human being, so that's nothing new.
 
4:07 PM
@nil my joke was about your username (nil = nothing)
 
user457812
I know.
 
Yep! many people who hates him usually compare him like that (nil = nothing).
But i don't think that you've a grudge on him.
 
Nil is awesome! I can send him messages and he never replies
 
user457812
But I will throw an exception because I hate you.
 
Yeah! he protect our application from crashing.
No memory problems and no need to open intruments as well :p
 
4:10 PM
You know what you need, nil? A nice big hug from your brother, NSNull
cue NSNull joining room
 
NULL has nothing for me.
 
It's so empty on the inside
Except for the SEGFAULT.
 
Whom do you love in this small world Noel Cower?
 
And at that point it's all NULL's fault!
 
user457812
I love C++11 and Ruby.
 
4:11 PM
Some of the C++11 features really are awesome
I just wish templates didn't give such cryptic errors
 
Eh? Ruby?
Now i know the reason why i hate you, coz' you love ruby.
 
YOU STOLE MY RUBIES!
DON'T MAKE ME GET MY PYTHON!
 
Anyway, i'm off, Good day and have a nice evening rest of you, later.
 
I'm tired standing in train
 
can anybody tell me why I getting this error all the time
Receiver (<MenuViewController: 0x1f594660>) has no segue with identifier 'showNews''
And yes I have a menuViewController with a segue called showNews
 
4:22 PM
Well, unless you made a computer lie, there's probably a typo.
It looks like you have double quotes on one and and single quotes on the other
is it possible that you accidentally have that in your code as well?
 
[self performSegueWithIdentifier:@"showNews" sender:self];
this is what I do in code
 
Also MenuViewController is derived from KYCircleMenu
@interface MenuViewController : KYCircleMenu
 
What type of segue is it
 
a push
 
4:25 PM
Strange.
Can you show us a screenshot of your storyboard?
 
oké moment please
 
Hmm, it looks Ok... What is the context around your 'performSegueWithIdentifier' code?
 
what do you mean with context ?
 
4:28 PM
(the code around it)
 
- (void)runButtonActions:(id)sender {
[super runButtonActions:sender];

// Use KYCircleMenu's |-pushViewController:| to push vc
// [self pushViewController:viewController];
NSLog(@"tag is %d",[sender tag]);
[self performSegueWithIdentifier:@"showNews" sender:self];
}
This is code from the KYCirclemenu
 
Yeah, that's really strange
 
the sender is the button I pressed from the KYCircleMenu
 
Right
Quick silly question - have you tried cleaning your project?
 
Very strange
 
4:30 PM
You'd be surprised at how often that fixes stuff
 
I will try it now
No luck :(
 
Hmm.
Is it just a log message?
Or does it crash?
 
it crashes
but it prints my tag log
tag is 2
2013-03-20 17:31:15.898 Genk on stage[6165:907] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Receiver (<MenuViewController: 0x1e024390>) has no segue with identifier 'showNews''
the tag is from the button that is pressed
 
Right.... Is it possible that your view controller isn't being instantiated by your storyboard?
And that youre doing something like [[MenuViewController alloc] init]
somewhere?
 
in my appdelegate
but I need to do this to get the KYcirle menu work with my storyboard
 
4:34 PM
You need to have the view controller initialized by the storyboard, not manually. The two don't play nice, unfortunately.
 
mm okay
 
I'm certain it's possible to get the KYCircle menu play nice.
 
MenuViewController * circleMenuViewController;
circleMenuViewController = [MenuViewController alloc];
// Set the cricle menu vc as the root vc
[navigationController initWithRootViewController:circleMenuViewController];
[navigationController.navigationBar setBarStyle:UIBarStyleBlackTranslucent];

// Setup circle menu with basic configuration
[circleMenuViewController initWithButtonCount:kKYCCircleMenuButtonsCount
menuSize:kKYCircleMenuSize
buttonSize:kKYCircleMenuButtonSize
buttonImageNameFormat:kKYICircleMenuButtonImageNameFormat
I do this in my appdelegate
So you think I need to do this in my MenuViewController class itself ?
 
Yes, I think so
What if you, in your -[MenuViewController initWithCoder:]
Method, call that 'initWithButtonCount:' method
instead of 'super initWithCoder:'
 
should I do this in this method ?
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
 
4:37 PM
No, not the nib, do it in initWithCoder:
the nib one isn't called via storyboard
 
something like this ?
- (id)initWithCoder:(NSCoder*)aDecoder
{
if(self = [super initWithCoder:aDecoder])
{
[self initWithButtonCount:kKYCCircleMenuButtonsCount
menuSize:kKYCircleMenuSize
buttonSize:kKYCircleMenuButtonSize
buttonImageNameFormat:kKYICircleMenuButtonImageNameFormat
centerButtonSize:kKYCircleMenuCenterButtonSize
centerButtonImageName:kKYICircleMenuCenterButton
centerButtonBackgroundImageName:kKYICircleMenuCenterButtonBackground];

}
return self;
}
 
Yeah, what happens?
 
I never used initWithCoder
 
Most of the time you don't need to
 
I got an error that says "The result of a delegate init call must be immediatly returned or assigned to 'self'
 
4:40 PM
That's a warning probably
See if you can run it anyways
 
No an error
 
Hmm.
Okay, replace with this:

if(self = [self initWithButtonCount:kKYCCircleMenuButtonsCount
menuSize:kKYCircleMenuSize
buttonSize:kKYCircleMenuButtonSize
buttonImageNameFormat:kKYICircleMenuButtonImageNameFormat
centerButtonSize:kKYCircleMenuCenterButtonSize
centerButtonImageName:kKYICircleMenuCenterButton
centerButtonBackgroundImageName:kKYICircleMenuCenterButtonBackground])
{


}
return self;
}
Don't call super
 
Okay got no error while running
 
Did it push the segue?
 
No :(
 
4:43 PM
Odd.
But it didn't complain about the segue being missing, right?
 
Yes I still got the same error
 
that it does not have the segue
but I need to go
 
thanks for the help dude !
appreciated !
 
4:44 PM
No problem. Good luck
 
weird day at the office
anyone else?
 
Well, considering I work at home, nope
 
user457812
 
user457812
O___________________________o
 
That's a joke, right?
It also depends on the language I guess
 
4:55 PM
Here's an interesting problem. Why am I confused here? pastie.org/pastes/6640813/text
 
Your font is null
 
@RichardJ.RossIII I work from home as well, but still weird
 
but why would it be? The TTF files exist.
 
I'm on skype with the office mostly and it's been a weird day
 
Are they being copied over? I have't done anything with custom fonts on iOS
 
4:58 PM
ah, looks as though they might not be. Hmm... I'll continue investigating..
 
Add them to your 'Copy Bundle Resources' phase
 

« first day (202 days earlier)      last day (1954 days later) »