« first day (154 days earlier)      last day (2002 days later) » 

00:33
It's just 6 am. I can go back to sleep for 2 more hours.
 
3 hours later…
03:59
Anybody alive?
04:11
can you guys help? been trying for an hour now:[
0
Q: Assertion failure in Table

MaxHasADHDIn my web browser app, if a user taps the bookmark icon, then the settings button it will open settings perfectly fine. But if the user goes into edit mode on the bookmarks screen before entering settings, then going into settings (user enables edit mode, then disables) the app will crash with er...

Does the Aspect Fit property of a UIImageView clip off the top and bottom?
Or just bottom?
to me?
im not using any images
user457812
I downed a gallon of milk in about 2 days. That was unexpected.
04:28
@nil can you look at the question? something VERY wierd is happening. In my app, if i go to settings it works, if i go to bookmarks, enable and disable edit mode and then continue to settings it will crash. but i got rid of all the code and started from scratch on the table to test some stuff, and now instead of crashing, its a whole new view controller basically. no title, no buttons, a different table type. only thing that makes it like the other view is the table header is the same title.
04:40
I'm back
silly can you help, xcode is being wierd
so no matter what, its bringing me to some wierd view controller, shownig all wrong data, and crashing:/
i think i might have found it
dont know, code looks right
I'm reading the question. I'm on mobile, travelling. I should reach office soon.
ok cool. im trying to figure it out, but it always crashes, and says its not returning a cell but it is
might have fixed it, i hope so
fixed, it was an issue with presenting it
05:02
I just saw.
So your table view was itself nil, hence every thing was nil
I guess so, dont really know. just know its fixed. now before i submit this tiny update, an external library is giving me errors. 6.1 messed up some stuff:[
return [[[OAProblem alloc] initWithResponseBody:response] autorelease]; gets potential leak on it self
The new static analyzer is smarter and will make our life hell
ya. i tried getting rid of autorelease, didnt fix, so i guess i autorelease an autorelease?0_0
Since now it works across functions, gotta be careful.
Lol no
First you've to show the code. Then screenshot of what static analyzer says
05:15
I don't see any leak in that particular line.
user457812
Just use ARC.
I am, but i disable it on stuff i dont make. this was off github
so i disabled ARC on it
and it says the error:P so ya. blah
@silly changing it to return [OAProblem problemWithResponseBody:response]; fixed it, and i think the error is because its in its class, OAProblem
Um...that's an infinite loop
The retain is coming from inside the init method
Show your init method
user457812
What borrrden said is probably the case.
user457812
05:27
Though I'd admittedly never considered the possibility of someone retaining self in their init routine
Yes, ARC is nice
The static analyzer has also gotten better at detecting strong reference cycles as of Xcode 4.6
Max show your init method
Ha Ha! My mac's ram upgraded..
How much
05:32
4GB
user457812
I remember having 4gb. It was miserable.
user457812
Now I have 16gb.
Oh great!
My app was rejected yesterday :(
I have 2 gb
2GB of your own macbook. Or official's itself?
05:35
Mac mini
That's my personal mac mini at home
Oh fine!
@Silly I've one doubt regarding mac. May i ask you?
Max should be punished for retaining self in init method
It's not confirmed that he did that yet
My mac has 4GB
Ya ask
lately Xcode is being a pain in the ass
05:41
It(Mac) doesn't need any anti-virus softwares? Isn't it?
Debugger commands take 10 - 15 seconds to finish...I don't get it?
@Praveen You can get malware on a mac just as easily, since most malware is browser based these days
Oh! Then, how can i remove those if i got any malwares.
With a malware remover :p
If you don't mind, name of any softwares like that?
I've never used one....
05:45
See on mac store
I too never use any
But mostly you can avoid it by being smart about what you install
it's not too beneficial for hackers to target few mac users
Okay fine!
Actually, my app was rejected due to not changing the Sandbox paypal to live one :) I forgot to do this one. Now, am on the process of that one.
06:04
My holiday for tomorrow got approved
now continuous 3 days off
@Silly hi
Hi
yaha kasie?
mobile
06:16
I'm so smart
They block the chat
So I come from mobile
What are you doing
Cocos 2D?
I am looking for String encryption
not reading cocos 2d
06:23
Ok
Cryptographic services guide by apple
String encryption is super easy :)
I am checking AESCrypt-Objc
Only a few lines from CommonCrypto
I recommend RNCryptor as a third party library
ok
let me check
CryptoExercise by apple
user457812
AES-256 minimum or get out
06:44
@RobinHood You here. Learning iPhone too???
He can't chat with you Praveen, He has read access.
He comes here to copy our house rules
then posts in his room and gets starred
without crediting us
Sighhhhh
Lame
Good news though, 2 weeks of beta and my team's app has become so much more stable
This testing company is good at finding things that I wouldn't think to do....like entering in a unicode full space instead of a unicode half space to see what will happen to input verification (...it fails), etc
I'm starting to feel good about this project....which is good since pre-orders seem to be coming in
07:01
Nice!
user457812
RobinHood is permabanned from here for being the worst person on the planet.
user457812
Which basically means he's a clone of Manjot.
Oops! Okay fine. I didn't notify that one.
user457812
Also, I've noticed you frequently use 'notify' when you should use 'notice.' So, heads up there if you care.
Sorry! I'm not well in english :)
07:14
Maybe he is Manjot's romantic partner :)
user457812
I think I'll hit the hay.
You should say "Thank you" instead of "Sorry" :)
Lack of English ability is nothing to apologize for, if you are making an effort
Okay Thank you!!! :)
I'm good in English ok I'm not make joke
user457812
@Praveen FYI, I'm not criticizing you for it. If people know what you're saying, that's basically all that matters.
07:18
Yes i understood!
I've average English communication skills and that's enough.
07:36
my english is like this
I can talk English, walk English, eat English, etc ok
Lunch time brb
How can I fade between like 3 images as I swipe across an image view?
set the image to an imageview in animation block
with some animation effect option
How do you eat English?
07:52
In similar context to walking in English
After eating one complete bowl of chicken chopper rice I'm feeling sleepy. Brb
 
1 hour later…
09:02
Off to bed for me! Thanks for all the help today on my random issues and questions haha.
Good morning all
09:23
I am getting this one "*** WebKit discarded an uncaught exception in the webView:shouldInsertText:replacingDOMRange:givenAction: delegate: <NSInvalidArgumentException> unimplemented SQL generation for predicate : (custID CONTAINS[cd] $CUSTOMER_ID)"
Good Maarning
did not finding from where webview comes I am doing core data searching
!!
09:49
show your code where the exception happens
10:10
I fixed it but did not get why it's showing webkit in exception log..may be some thing apple is doing internally
morning all
10:37
Good morning
how are you ?
Good Morning
Now it's getting evening
and today I'm going home early. Also tomorrow I've taken holiday
Seriously - iPhone/iPad room has filled with dangerous advice.
Like what? Please show us the dangerous transcripts.
also don't go there. You'll go there get mad and then will get away from this room too

Not how you check for a valid string

5 mins ago, 3 minutes total – 11 messages, 4 users, 0 stars

Bookmarked 10 secs ago by Abizern

Bad advice is worse than no advice. I tried to help - but json would rather listen to a newbie giving him code rather than think for himself.
I have also just put rokimoki on the read-only list pre-emptively.
10:54
Hello All...I just post one question

http://stackoverflow.com/questions/14620416/facebook-create-application-not-showing-icon-when-posting-image-or-video-it-sho
Can somebody help me ?
Sorry. I don't do Facebook questions.
@Abizern Ok. Thank You. Any general Suggestion you can give ?
Indian ios developers are mostly like that. It's sad.
That would be helping with a Facebook question, sorry.
@Abizern Ok.
11:05
Does anyone use the SDK for Google Analytics? Thinking using it for my app wanted to know what you guys think about it? is it any good?
Dunno
Do you use any Analytics in your apps?
Whoaa some one recommended Ray Wanderlich here:
Nope
-4
Q: Using apple push notification in my application in Detail?

Ghass.64How can I use APN in my app? I need to make my application using the APN. I need all the steps needed like is there another registration with apple for the certificates and how to make the push notification to all the devices that used my app downloaded from the store. How should I implement th...

11:16
The last time I did it for a client he wanted Flurry analytics.
I used google analytics about 5 months ago
Was it good? do you recommend it?
do you guys not like Ray Wanderlich ?
@Will In general - there's nothing inherently wrong with his style of tutorials.
But they are popular because they hold your hand through the topic at a very basic level. And most people just use that knowledge for development rather than as a base for further understanding of the topic.
And it gets used for cut and paste.
I used to find a lot of simple questions on SO were of the form - "I am trying to do X. I am following Ray's tutorial Y. But it's not working."
Ray is like booze.
According to me, there are some tutorials which will get you lost. You will keep on scratching head what the hell is this? And why it is used here?
11:26
There's not much wrong with it when used correctly, but most people don't.
fair enough. I use have used them before sometimes it helps for me to have it explained simply. But then most of the stuff I use it for doesnt fit what I want so I have to understand it to change it and apply it to my application.
Like if I memory serves well I was looking into Core Data tutorial and in his tutorial he went into Python scripts after 1.5 finished tutorial of 2 tutorial series, which frustrated me and forced me to click X.
A lot of code still used beginAnimation / commitAnimation because it was taught in one of his tutorials, and many devs can't be bothered to keep up with the docs to use the modern methods.
11:45
True. That is something not good. It's devs' responsibility to check their code
Which is my point. I'm not as bad about Ray as I used to be. It's not his fault that most devs want to be breast fed.
And I don't mind tutorials so much - The books I recommend to get started are just big tutorials - but after a certain point you have to learn to find the answers yourself.
His core data tutorial inserts entities at app launch method lol
without any condition
And no explanation is provided about the duplicates that would appear in table view as user will obviously run app many a times.
Indeed. They are just a platform sometimes to get you started but you have to
figure out your own way how to, where to implement that code. What other alternatives are there which are better than tutorials.
Many a times happens with C+P code you will carry unnecessary objects allocations in your code which is completely garbage in your code.
I will take that in mind. I always try and understand why im doing something rather than blindly doing it.
Just need to keep one thing in mind is taht tutorials are not always 100% correct and the only solution to any problem.
11:57
Why are you guys wasting your time by talking about Ray, huh?
Not wasting Sree.
Yeah my coming presentation will put ray wenderlich to shame
12:19
you are going to make your presentation worse then that ?:P
12:44
lol
hide somewhere now.
No. My earlier presentations were awesome. Compare it with stupid Ray's tuts
hehe :) ok
I am diagonized Viral hepatitis. :/ One week rest..
hello All, can anyone help me out with this stackoverflow.com/questions/14625078/…
I've done this radio button aka single selection stuff before
12:58
I have currently updated code with two radio button github.com/adnanAhmad786/Quiz-View--TableView
check this it will help you :)
Got my self a raspberry pi yesterday. going to play with it 2n :D
So @Silly how to do it
@dark : you provided link as an answer? kindly provide it in comment.
@Will tats gr8 :)
ok
13:01
I used to keep a boolean in my model that indicates if it's selected. Its then used to draw the selection state in cell. Then if user has tapped a different cell than what is currently selected, update the models Boolean variable accordingly and reload the old and new cells.
@Reefaq Im going to make it into an airplay receiver so I can play my music any where in the house :)
yes that is nice approach I am doing this in the same manner
then with look into making it into a media centre
it already has a media center plugin available I think.. the one which I have has it ...not sure
@Silly, I have also taken the bool varaible in my customCell and I am checking it, But when I close the view and come back, TableView delegate function cellForRowAtIndexPath is called, which will load all the images back to the default state . So how can this be solved
13:04
I think im going to use XBMC. There is a version that has been stripped down for the pi
I hear good thing about.
thats right .. tats what it is
My work let me buy it through them so its only cost me like £30 for all the kit :)
I explained to have the selected bool in the model. Not in cell.
yes its cheap and powerfull
That variable will be used to display the radio buttons status in cell.
13:08
sorry but confused , which is model here.
it's very simple. You've data source that has these model class objects for each row.
but why to create modelclass objects , we can achieve this my just having a property to customCell class right
This model has selected variable and it'll be true only for the row which is tapped. And cell displays the radio button status based on this variables value.
Okay, I got what you mean.
Cells get reused. If you keep this bool in cell for one row, it'll be later used for other row and since it's reused it will retain its property value
Which is unwanted. Moreover views don't hold data. Models do.
13:14
okay, so I should create a model first, for this
If you don't have already
@Silly aap kal se ek he chez samja rahe ho and seems every other person has the same issue :P
okay thanks
which thing?
but one morething, when I click the cell, first time, I will set this property to true and change the image when I click the second time I have to set it to default image.
13:18
@Silly keep your values in model not in cell coz cell is reused etc etc
Keep the first models bool to be true by default. So first will be selected by default.
When cell is tapped get model from index path. Set its bool to true. And set old models to be false.
now reload new and old cells
I think at start the bool should be false, because the user has not selected any radio button, and later based on user clicks we can change the radio button image
It's up to you. Radio buttons have single selection at any time. But not having one by default you're violating the rule
ranjit check my edited answer
Then handle the cases if user doesn't select anything and tries to go away
13:23
@dark ok
that can be handled
Keep the most appropriate value selected by default. And it's usually at top index
ok
@dark and @Silly, I got your views w.r.t this and I am going to implement this now. Thanks to both .
:)
@Ranjit any time the sample code I have uploaded is used buttons you can do the same thing by removing on button and update your model in didselectRow method
There are certain things you'd have to do. Keep a variable for currently selected index path. Then don't do anything if user selects the same cell, etc
my back hurts and there's no empty seat in train
13:29
oh you are in train
Yes
so you are on mobile and you are using SO app?
Mobile.
No. The website
I'll read the ios book
ok. hey I didnt get why to use a variable for currently selected indexpath
because when you tap cell you will get index path for the new one. How will you get for the one that is currently selected?
13:38
okay
What ok
What you understood?
I'm also hungry. From tomorrow I'll have something in my bag to eat
you are saying that by default, one cell should be selected and that will be the first one, and for that to be selected you saying me to use that variable right?
you should eat something before sitting in train
chai- biscuit
:)
No. Suppose 1 is selected by default. User taps on 5. So in delegate method you'll get index path for 5. But you also want index path for 1 because you want its models bool to be false now.
I like chai-khaari
You know cheapness of our politicians...
once few people supporting a party were roaming the city doing the party's advertisement
what they were saying is
Ek cup chai Ek cup khaari. Xyz bhai sabse bhari
ok, I got it why it should be used. Chai-khaari maza pan fav. Ha ha mast aahey slogan :)
then what you said?
13:53
I was watching from window.
They come to home holding their hands and their puppies say please give vote only to us.
we cannot talk in marathi ?
haha.. It is common. You like khaari with chaai? Then I should send you famous khaari of ,once awarded best bakery of India by Times of India, Dotiwala.
My mom said yes we will. I was like - ask them why?
They have website too. @Silly 5-6 variety in khaari
I like chai-tooos much more. Can't type toos. I hope you know what it is.
I'll buy toos once I reach station
13:58
Nope.
what is toos?
I dunno in English. It's like khaari
in Hindi?
It's pronounced as toes
leave it, I might be knowing but cant remember
14:01
toast?
Haha yes
toast
lol. Why were you so confused in that?
I didn't know what toast is
my mom says toes
I'll buy one packet tonight
lol. Toast is english word. Google it. It aint toes. Have not you seen toast maker in any movie? Here milk toasts are very famous. I may courier you them one day.
and eat 10+ tomorrow morning
14:04
oh toast , I know it, :)
10+ lol.
Yeeeeeeeeeeees courier me 10 packets
5 normal and 5 milky
Jesus.
What
Jesus meaning Jesus Christ , I hope you know this :)
he is taking god's name, as we say hey bhagwan :)
14:07
Ok
Now I will reach my station
then come from home. Bye
bye
15:02
0
Q: Rotate the MKmap with user direction.

WillI have had a look around but have been able to find very little on the subject. I am trying to implement a "find your car" feature into an app I am creating. I have a map view that the user can use to store the location of their car. They can then click "find car" to displays their current loc...

4
Q: Rotate MapView using Compass orientation

notnoopIs it possible to have an embedded MKMapView rotate to always face the direction the iPhone is facing? Basically I want to mimic the Map app rotation feature on my own app. I see that the iPhone SDK does not expose the functionality. However, I wonder if it would work to rotate the entire view...

16:04
I don't like cats
Thanks @Abizern. Not sure how I didnt find that. I have got the rotating working but it seems messed up.
I have edited my question and include a video should the rotate animation not working.
See parking bud application. It does the same thing.
I found the problem to the strange behaviour.
I put an edit in my question
They show arrow on map view
for heading
brb
16:21
I changed it to use [MapView setUserTrackingMode:MKUserTrackingModeFollowWithHeading animated:YES]; and it works well. Also answered my question incase anyone else hase the same problem as me.
17:05
Do you know C++?
17:21
I used to know C++ when I programmed Windows with MFC.
Forgotten it all now.
Oh.
Some body asked me what is retain count. I answered it well. Then asked me what are virtual base class
Or I think virtual functions
I said dunno. Then asked delegates. I explained well.
Then code signing. I said what are certificates and provisioning profile.
This Interview was from USA. See, stupid questions in Objective C are asked from all parts of the world.
Virtualy base classes aren't needed in Objective-C as it doesn't have multiple inheritance.
I didn't know what are virtual base class. So I said dunno
virtual functions are those which can be overriden in derived classes.
overridden in base class?
17:27
All methods in Objective-C are like virtual functions
Corrected.
Yes. No restriction like final methods.
And if someone asks about pure virtual functions - they are protocol methods
You seem to remember well.. lol
Functions which are declared, but the definition is provided elsewhere
Not really - I'm looking them up.
I remember enough that I only need a quick reminder.
I told them I dunno C++
17:30
A better answer than pretending you know C++
Yeah I am pretty straight forward in Interviews.
Even in getting into arguments :D
Something strange is happening here. I have sent ipa to my employer and the ipa gets installed but does show up on phone. Weird!! He sent me screenshot of iTunes like this, could not figure out what is wrong
You mean doesn't show up?
see screenshot. It appears like this. He sees progress bar while ipa gets installed on phone but could not find installed app on phone after that.
I am also baffled here..
@Emil you have write access. Please read the House Rules before posting.
17:44
@Abizern Thank you, and of course :)
Morning all... Q: I have a date stored in Core Data, for which I want to only use the "date" portion (not the time) in the NSPredicate so I can get all records with a specific date. I am stuck on how to get only the date portion without the time. Any ideas?
Previously also I noticed such issue but going to spotlight in iPhone, type app name and invisible app used to show up. This may sound strange.. But I faced it.
61
A: NSPredicate: filtering objects by day of NSDate property

diciuGiven a NSDate * startDate and endDate and a NSManagedObjectContext * moc: NSPredicate *predicate = [NSPredicate predicateWithFormat:@"(date >= %@) AND (date <= %@)", startDate, endDate]; NSFetchRequest *request = [[[NSFetchRequest alloc] init] autorelease]; [request setEntity:[NSEntityDes...

Found through a simple Google search for "NSPredicate for date"
@Abizern thank you... unfortunately, I didn't word my search properly, therefore never found this... thanks again... :D
I found by NSPredicate NSDate :D
17:56
One has to be able to think clearly to effect good search criteria... apparently, not the case this morning... thanks to both of you... :D
He might need to construct the start of the day and end of the day !?
I'd be careful with the time portions - remember that there are time zones to consider
@Abizern... right... but, will cross that bridge when I get to it... right now, just want to get it working... :D
maybe I need to do the midnight to midnight in the predicate... that would solve the timezone problem, I think...
Except that it's mignight UTC.
yep, didn't think of that either... RATS!
thanks @Abizern...
18:04
Just construct start and end from the local timezone and pass that to the predicate - that should do it.
Feeling tired now. Bye guys good night.
bye
hello all. quick question. 2 viewControllers (VCA, VCB) i do, VCA.view addSubview:VCB . how do i get the name of VCA from VCB
i realize im trying to get the name of the viewcontroller and getting back a view from superView, but shouldnt the name be the same
@Abizern that's the way (local time zone) I'm doing it now... g2g and work on this... bye
18:26
@owengerig don't you mean VCA.view addSubview:VCB.view?
in which case you ask VCB's view for it's superview's controller
19:07
Time to go to bed and read some books. Brb
I'm reading ios book
 
2 hours later…
user457812
20:57
Has anyone done anything recently that I can ban them for?
user457812
@rohan-patel You said you're tired, therefore banned
user457812
@spokane-dude You mentioned timezones, therefore banned

« first day (154 days earlier)      last day (2002 days later) »