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

12:04 AM
@EnricoSusatyo it's only empty because the people in the UK are sleeping.
 
 
4 hours later…
4:04 AM
I'm back.
Today I'll be going to office late because yesterday I returned late
 
4:21 AM
Good morning :)
 
Good Maarning
What are you doing
 
Working on a storybook app.. You?
 
I am at home having breakfast. I will go to office at 1.30 PM
 
well that's a great work ethic.
I wish I could get away with that.
 
Yesterday I worked for 12.5 hours. What about that?
 
4:25 AM
you didn't work hard enough.
 
what
 
What does it mean
 
what does what mean? "maarning"?
 
If uneducated north Indians try saying morning, they can't. It would be maarning
And since it sounds funny, I do it often
 
4:29 AM
when are your parents going to set you up with a nice Northern guy?
 
My requirements got updated. See the 5th starred comment
 
Mike, you missed a whole lot of discussion..
 
nawww, I was there. I remember she was looking for the perfect man (tm).
 
Yep :)
 
Recently I came to know I am Manglik, although we need to confirm it.
 
4:31 AM
what's a "Manglik" ?
 
Mangal Dosha is an astrological combination that occurs if Mars (astrology)(Mangal) is in the 1st,2nd, 4th, 7th, 8th, or 12th house of the Vedic astrology Ascendant chart. A person born in the presence of this condition is termed a manglik. This condition is astrologically believed to be unfavourable for marriages, causing discomfort and tension in relationship, leading to severe disharmony among the spouses and eventually to other bigger problems. This is attributed to the "fiery" nature of Mars, the planet of war. Also, if two mangliks marry, the negative effects are believed to can...
 
4:48 AM
why are you quiet
 
He is scared because you are a Manglik :P
 
good afternoon everyone
 
Enrico, watch out... Silly is a Manglik
 
Haha. Good night all of you guys, see ya in bout 8 hours
 
hey Richard
you're here!
quick question for you.
 
4:50 AM
I am, but its like 1 AM here
Make it fast
 
I was looking at your comment in this question:
0
Q: Should outlets have getters/setters?

ColasShould I better always write @interface MyClass { NSTextField * myTextField ; } @property (assign) NSTextField * myTextField ; or just @interface MyClass { NSTextField * myTextField ; } ? Why I have reasons to think that we should add the @prope...

why would you say "there is very little need to use iVars in your header"?
 
The one about iVars?
 
yep.
IBOutlets, if exposed via @properties, become public to everything that can access that object.
and if we put IBOutlets in the @implementation .m file, I don't think they can be detected by Interface Builder
so if I want to keep things private, what do you think is the best practice for IBOutlets, hmm?
 
Ah yes. You used to have to put your iVars in the headers of your files (before ios 4.0 I believe), as the compiler required that information to reference the class (sizeof and stuff)
 
They can be
I keep outlets as properties in extensions
 
4:53 AM
You can put your iVars and properties in a class extension (google it), and IB will recognize it
@Silly's got it down
 
in the .m file ?
 
well imagine that.
 
user457812
Alright, my engine is now capable of producing a quad on the screen, ~10,000 lines of code later.
 
you and your kids and your new fangled objective C 2.0 blah blah blah
okay... get to bed before somebody pulls the plug on your computer
 
user457812
4:54 AM
I may have spent a lot of time on things other than getting things to draw.
 
@Michael you have been able to do this for about 2 years now
Not new anymore :)
 
I've been putting some private methods into the extension at the top of my .m files,
but I didn't realize IBOutlets could go there as well.
 
Im on my phone. I shall last forever!
 
user457812
Only 1,000 lines of that code is the renderer though.
 
who wants to judge Mahaveer Muttha ?
 
user457812
4:55 AM
brb, judging
 
Yes, they can. It didnt use to be like that, but with Xcode 4, IB now scans .m files for actions and outlets
 
lol
 
@MahaveerMuttha You have no iOS related tags. If you are still interested in iOS, ask ans answer iOS related questions and request for access later
 
Also no need to put method declarations in .m file
The compiler doesn't complaint now
 
Yup. It's amazing the work that clang has been able to do
Back in my day we used GCC 3.8 and we liked it, damnit!
 
user457812
4:56 AM
@VidyaMurthy Did you put him in the read-only list?
 
Alright, im off to bed, for real this tine
 
@nil Yeah, which list was i supposed to put him in?
 
A class importing a controller's header file doesn't need to know about the outlets, so outlets must always be in .m file.
 
user457812
The no special access list.
 
user457812
The read-only list is for banned people, e.g., Manjot and RobinHood.
 
4:57 AM
So many lists :O
 
user457812
In other words, the world's shitlords.
 
Oh ok..
 
speaking of, hello @RobinHood (who is on the channel at the moment)!
 
No special access list means as if it's void and null, he is in no list so can request again, etc
 
Done, changed
What about the other guy who has asked for access?
 
user457812
4:59 AM
I don't know who the other guy is.
 
DGund
 
okay... about to crash out for a bunch of hours.
I will be back!
 
user457812
@DGund you have write access, read the rules, etc.
 
@MichaelDautermann No coding at night?
My train pass has expired and I have no money and time to make new one. I need to go without valid ticket today. Hope I am not caught.
Need to get ready for office. Brb
 
someone said silly is a manglik, i don't know what that means...
 
5:11 AM
There is a wiki link for that
 
5:22 AM
Alright folks, whats up?
 
Not working with Xcode seems to be fun :)
 
5:41 AM
At last apple has fixed this passcode bypassing problem in this new update 6.1.3.
 
Haven't used the passcode for my phone
 
coz' you are a girl and i am living with a bunch of crooks.
For me, passcode is mandatory.
 
Lol :)
 
6:19 AM
Last night I had a dream in which apple launched iphone with bigger screen. I think it was 4.8" or 5.0"
 
6:43 AM
Ugh, i hope that dream does not come true
i'm hating my iPhone 5 screen, i wish apple had released a 3.5" screen iPhone 5
 
7:02 AM
Lol
IPhone will die in that case
 
user457812
I'm surprised I haven't gotten any angry emails about the changes to my Sublime Text 2 theme yet.
 
I successfully travelled in train without tickets
 
7:39 AM
3 hours ago, by Silly
No special access list means as if it's void and null, he is in no list so can request again, etc
Thanks I did not know that.
 
8:24 AM
Hello people!
 
hello Dragoon
 
9:09 AM
morning
 
Good morning
 
Morning
 
Mike is up early
 
I only slept for about 3 hours. :-(
so I'm awake at the moment and either going to do some code until I get sleepy again,
or I'll sit here and see if I can get a fight started between you and @Vidya
(I sense she can be almost as feisty as Silly)
 
9:22 AM
Lol! I don't fight with people :)
 
that's not what @Shade told me
 
bad Micahel, bad!
dragging innocent people into meaningless predicaments :P
 
feeling guilty eh?
 
lol
I think you should sleep again.. :P
 
9:35 AM
yeah, that didn't work as well as I had hoped.
 
awhh..too sleepy afternoon
 
take a nap under your desk
 
9:51 AM
just splashed some water on face .. now i am fresh and feeling more sleepy
 
I jsut managed to sleep for 14 straight hours
damn illness
 
good effort
Really whats wrong?
I feel a little ill as well
 
this damn flu that everyone is getting at the minute. My mum had it loads of mates had it
2 weeks of flu
painfull stuff
i think 14 hours sleep seems to have given my body time to fight it though
Weird introverted dreams though
 
Haha
 
you're such a sympathetic guy.
 
10:02 AM
:P
 
im trying to offer positive reinforcement
if i can do 14 then you can do 7-8
DO IT
:)
 
10:41 AM
okay! so who wants to figure out if @ani should be in here.
 
Hi Ani, you need to get some more rep on the main site and get your chat history up before i can give you write access
 
I'll take a look.
 
to late
 
ahhhhh, you took a look already.
 
done
yup
 
10:42 AM
try again later when you get a bit of history @ani
 
Me tooo... Apparently ani seems to be in many chat rooms at the same time.
 
Need some new music to listen to
 
Open iTunes purchase new released albums.. ;-)
 
I wish I had the skill to do a song like this
 
like Dhak Dhak (retouched) of Nautanki Saala .. (indian music)
 
10:53 AM
that's sad
 
what's sad? Dhak Dhak ?
 
that guy in de video
 
now that is a skill.
 
what has become of mankind
 
awwright! time to judge @raman !
 
10:56 AM
already
 
I like ramen
 
He is probably on iOS from Javascript
 
all he says is " please help me "
 
Looks fine for me.
 
in his chat history
 
10:57 AM
i concour
and i too like ramen
with chillis
 
the ramen at Wagamama's not the best
 
is there a really good ramen place?
 
those who want to hear Dhak Dhak then go here now itunes.apple.com/gb/album/nautanki-saala!-original-motion/…
 
Welcome @raman you now have write access, please read the house rules before posting
there i did it
 
10:59 AM
there I fixed it
 
@Dev2rights where are the rules
?
 
git.io/NSChat-House-Rules
top right in room description
 
top left ?
 
ohh sorrry
 
11:00 AM
for me it's top right.
 
haha
yeah it is for me
i was derping whilst coding
 
Lol at the video
I have just got this error message "linker command failed with exit code 1 (use -v to see invocation)"
How do I use -v?
 
are there any useful error messages before that point?
 
id imagine its a compiler command to show verbose output , not sure how you do it in xcode.
 
you just need to pull down the details from the build log
everything is there
 
11:09 AM
fari enough
 
This is the stuff before it pastebin.com/yWXP6ivu
Im trying to make a branch of my app
 
duplicate symbol _OBJC_IVAR_$_MapViewController.MapView
seems like you are including this file twice
at a guess
i may be wrong though
 
that's what it looks like to me too.
 
is the header included twice or have you copied a class and not changed the interface
 
Hmm Im just copying suff from my old app to my new one.
 
11:15 AM
are there src files in your new app before you copy ?
 
Yeah. I pretty much just copied everything across. I think im just going to duplicate the whole thing
 
well make sure that ou havent duplicated 2 files
in name mainly
thats what id be looking for
Right time for a break and to listen to the UK Budget
 
[[NSChat sharedChat] join]
 
in short, UK Economy is in a bin that is in a toilet
 
the economy everywhere is not doing so well.
 
11:21 AM
The thing is its a made-up problem.
 
They are probs going to put up tax on drink :(
 
We keep spending money that doesn't exist
 
nah they apparently are cancellign the 6p rise on beer
 
And, at some point we'll have to cut our losses and just drop all debt and start fresh
Because theres no lack of raw materials
 
Its already like 1/3 of price is tax
 
11:22 AM
or the human race will end before that
 
I doubt it. Although watch for North Korea!
 
no look out for the food crisis and lack of energy. Soon water will also be a difficult to come by
its totally screwed
but im not getting into a political debate here
 
The water things a joke
If it ever becomes scarce enough to be a problem
We have the technology to creat extremely efficient water de-salinifing plants
That aren't very expensive
 
Link please
...
 
11:25 AM
you need to show your working here. Ive heard very different things from high up places. But i cold be totallly wrong ofcourse
and would liek to be
@Dev2rights realises he cant avoid the political discusions
Its a wednesday, thats why
 
oooh, is this a fight? fight fight fight!
 
Because desalination can be done with excess heat, we can make nuclear power plants which double as desalination facilities
Thus creating two vital resources with one plant
 
Yeah so when we run out of current energy we make steam with ........
bearing in mind selafiled has announced that they have a lot of excess nuclear waste and they are closing some of the UK coal plants
and gas and oil reserves are very low now
 
I don't live in the UK, so I can't comment on that too much
 
11:29 AM
Ahh fair enough
 
But here in the US, there are very few nuclear plants (relatively(
 
well we are screwed when it comes to energy
 
Not necessarily
 
I mean the UK
 
Solar energy becomes intriguing,
 
11:29 AM
not in general
yeah i agree
but that has turned into a scandal in the Uk
 
But we'd have to be OK with living under a bunch of metal all the time
 
anyway
i need to watch the Budget as i want to see how much tax i need to pay next year
 
yes, me too
 
Taxes are fun :/
 
brb
 
11:31 AM
when is the speech?
 
link to speech?
@Dev2rights
 
you have taxes Richard? You're not even 18 yet.
 
go on BBC
must be on the site
yeah is on the news live
 
yeah it's on their website live
cutting the tax on beer :)
what a guy
 
Tea to the rescue !
 
11:44 AM
Ok. I got one issue in getting UIButton's tag on UILongPressGestureRecognizer. I looked up all questions posted on main site but my issue remains unsolved.
And I am afraid I post same question it will be closed as duplicate.
 
I havent used that gesture recogniser unfortunatly so ant help
 
Aahh then Silly and Mike are my hopes.
 - (IBAction)longPress:(id)sender {
 UILongPressGestureRecognizer *lp=(UILongPressGestureRecognizer *)sender;
NSLog(@"Tag---> %d",lp.view.tag);
That longPress function is called on long press of UIbuttons on my IB.
I get tag of 11 every time.. :/
 
if your question will be closed as a duplicate, do the duplicate questions actually help you out?
 
Nop. That did not help me.
17
A: UIButton Long Press Event

DavidAWalshIf anyone comes back here: To make Deepak's helpful answer more useful, a couple of things: So that you can use a single long press function with any button, set your button tags, then add this: UIButton *theButton = (UIButton *) gesture.view; and this NSInteger tag = [theButton tag]; Instead...

1
Q: How to get button.tag via longPressGestureRecognizer?

yoshI'm dynamically adding image buttons to some scrollview. They all point at one longPressHandler. Now, how do I get which button was pressed? The [sender tag] gives me the tag of longGestureRecognizer that I added to button and I can't manually set that tag. for (...) { UIButton *button = [[U...

 
are you trying [sender tag];
 
11:51 AM
Both questions suggests recognizer.view.tag will give me the corresponding tag of UIButton as I already did in my code. But for every button tag is 11.
 
what happens if you use [sender tag];
 
Can't. Crashed
Because sender is UILongPressGestureRecognizer
 
well look at that.
:D
 
are you calling that method with a @selector(mylongpress:) and not @selector(mylongPress)
yeah micheal is right look at that
that shouldnt be nil
 
No, no @selector. Direct outlet from xib.
 
11:54 AM
well sender shouldnt be nil
something isnt initialised
 
No. Sender is not nil. I already NSLogged it.
Sender---> <UILongPressGestureRecognizer: 0x1dd92220; state = Began; view = <UIButton 0x1dd91d90>; target= <(action=longPress:, target=<ViewController 0x1dd7c5c0>)>>
I think I have to post question on main site regardless of fearing getting closed as duplicate. I have genuine concern here. :-/
 
Hi guys
 
I am using storyboard in my applciation. But when I got push notification I want to push on a fix screen , But in appdelegate, I dont have object of storyboard
How to do this
Please help
 
why don't you post on SO?
 
12:02 PM
I think I ll get help here
 
you're optimistic!
 
If you know then please reply me
 
I like that.
 
@riyaz simply dispatch a message using NSNotificationCenter, and have your current view controller pick it up.
Or, you can go through the view controller chain (starting from window.rootViewController),
Until you find the one that's currently being displayed
From there, show your popup
 
I am using this in app delegate but it crahsed
        UINavigationController *navigationController = (UINavigationController *)self.window.rootViewController;
        UIStoryboard *mainStoryboard = [UIStoryboard storyboardWithName:@"MainStoryboard" bundle: nil];
        UserProfile *controller = (UserProfile*)[mainStoryboard instantiateViewControllerWithIdentifier:@"hello"];
        [navigationController pushViewController:controller animated:YES];
 
12:06 PM
How did it crash?
 
Dont found the view controller of idenfier "hello"
 
Well then your problem is that you never created that view controller in your storyboard.
 
I have created , but the problem is that from app delegate how can I call that view controller
 
Set that property in your storyboard for the target view controller.
 
and then ?
 
12:13 PM
Then instantiate the view controller with the ID you just set, like you are now
 
ok
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Pushing a navigation controller is not supported'
still crashing
 
You can't push a navigation controller onto another navigation controller, methinks. Try using a modal presentation instead.
(via [controller presentViewController:animated:completion:]
 
Just spilt a glass of water over myself -.-
 
Well that can't be good
 
wet now
lol
 
12:21 PM
I like 'm wet...
 
Ok. Further more digging with NSLog I come to know that long press is returning same UIButton.
1 message moved to recycle bin
 
@RichardJ.RossIII Hi this is
my story board
 
Looks like a storyboard to me...
What exactly are we looking for, though?
 
I have write the code for push notification in app delegate
No matter on what screen I am , when I get a notification I want to go on game screen
 
12:34 PM
So how to write the code in app delegate
 
The question is, what type of view controller is the game screen?
Is it a navigation controller itself?
 
m using this
        UINavigationController *navigationController = (UINavigationController *)self.window.rootViewController;
        UIStoryboard *mainStoryboard = [UIStoryboard storyboardWithName:@"MainStoryboard" bundle: nil];
        UserProfile *controller = (UserProfile*)[mainStoryboard instantiateViewControllerWithIdentifier:@"game"];
        [controller  presentViewController:controller animated:YES completion:nil];
and its not working
 
I saw that. it doesn't give me enough information
I need to know what type of controller GameController is
 
viewcontroller
 
Just a generic viewController? Not a navigation controller?
 
12:36 PM
yes
 
Then pushing it should work. Not sure why it wouldn't
I have some work of my own I have to do, maybe another gent in here can help you
 
I would help you but I don't really work with storyboards.
What's up with them anyway?
 
Ok. I have one more question : Can I have multiple UIButtonswhich has only one UILongPressGestureRecognizerobject in Interface Builder? Or for each recognizer I need separate object of recognizer? I did something like this :
 
You should be able to share them... but I'm not sure that UIButtons play nicely with gesture recognizers at all.
 
Thats what bugging me.
recognizer.view.tag is giving me wrong tag of UIButton
 
12:41 PM
Could be a bug, but I doubt it:

From the docs:
A gesture recognizer operates on touches hit-tested to a specific view and all of that view’s subviews. It thus must be associated with that view. To make that association you must call the UIView method addGestureRecognizer:. A gesture recognizer does not participate in the view’s responder chain.
'a specific view'.
Indicates that it only works on one view
 
I was also going through that. Going to add separate objects and test. Brb
And thanks
Ok. That's the solution, Richard thanks.
 
No problem
 
Well I am thinking of creating a question on main site for future reference of anyone. This thing took my almost one and a half hour.
 
Go ahead, and I'll answer it ;)
 
Yup and I will accept it..
=D
 
12:55 PM
Sounds like we could be framed for gaming the system.... AWESOME!
I'll put a disclaimer in the answer
 
What kinda? That for future reference this question is asked. Originally discussed here.
 
Yes, that's exactly what I'll put
 
Ok. Cool
I am constructing well mannered question.
=D
 
well mannered?
why not make it rude
 
Then I will get down votes.. :P Mike is in aggressive mood today.. :P
 

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