« first day (81 days earlier)      last day (2859 days later) » 

08:00
@HarshIT comment that line means working the problem in that line
[self.dataArray addObject:peripheralmanager.mutableArray]; this line only problem@HarshIT
just delete that line or add " // " (without quotes ) in the begining of that line
in otherwords that line is not needed.
i added already
@HarshIT
great
@HarshIT ----
uncomment this line and check what it prints ?? // NSLog(@"%@",self.dataArray);
i am sure your work is done now :)
08:03
@HarshIT hey
searchbararray neither alloc... nor released
but searcharray done both..
if add // means shows no error @HarshIT
just release it in dealloc method , and allocate initialize it in viewDidLoad method ok ?
now it should work @Rajesh_Bangalore
@HarshIT u checked my coding?
yes i am saying with refernece to it
@prem
08:06
@HarshIT ok pls wait 1min
@HarshIT [searchBarArray dealloc]; done this how to initialize
????
searchBarArray = [[NSMutableArray alloc]init];

for releaseing it, in dealloc method write [searchbarArray release];
@Rajesh_Bangalore
@HarshIT Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil' ..if add // in [self.dataArray addObject:peripheralmanager.mutableArray]; no error without this how i pass the data?
release will be better than dealloc , @Rajesh_Bangalore , I don't know the reason but people say such so.... ;)
08:13
@HarshIT pls check again in my mutablearray in peripheralmanager
@Rajesh_Bangalore , ok wait i will give you a method to replace... just a mi
please paste line from your code which contains " addObjectsFromArray " word @Rajesh_Bangalore
@prem ok
@prem by the way what happnes ???
[searchArray addObjectsFromArray:array];
08:20
@HarshIT @HarshIT Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil' ..if add // in [self.dataArray addObject:peripheralmanager.mutableArray]; no error without this how i pass the data?
Im going for lunch
Catch u soon ya
@Rajesh_Bangalore okay see u
the " array " is an object of type NSMutableArray , its not proper , it must be of Type NSArray. @Rajesh_Bangalore
where is this line in your code @prem ?
insertObject:atIndex: @prem
viewdidload in detailviewcontroller @HarshIT
08:24
ok let me seee
why did you write this line [self.dataArray addObject:peripheralmanager.mutableArray]; ??? @prem
this is not correct so if you can explain me the purpose I can suggest you how to correct it
@prem
ok @Rajesh_Bangalore
viewdidload in detailviewcontroller @HarshIT
@HarshIT check that link my all code in that link friend
@prem , yes now why are you using [self.dataArray addObject:peripheralmanager.mutableArray]; line ????
@HarshIT checkline at 635
can you please expain me ???
186,187,188 check this line @HarshIT
08:29
yes i also saw the same.
@prem
actually you are adding an array in an array as an object
i pass the mutablearray(line 188) to line 635
i think you want to add object of one array to another.. right ? prem
yes i want add object from line 188 to detailviewcontroller thats all friend
yes so no need to write whatever you have written at line 635 because it has already been passed at line 188
and also the code of allocating in line 187 will create an error or leak in memory
don't do like that
you can directly do as obj.dataArray = self.mutableArray
no need to allocate it anywhere , neither in first nor in deatail view controller
we are passing reference that doesn't need to do such stuff
it will take the memory reference automatically ...
@HarshIT ok friend then
08:34
and [self.mutableArray addObject:peripheral]; line should be before line 187 . because after all such stuff should be done before passing that array to detail's array
@prem
oh !! you have written alll this code in didDiscoverPeripheral ... !!!!
this method gets called everytime you discover a device ,right @prem ?
i think its a delegate method
yes bro
please don't do like this , otherwise steve jobs's soul will come and uninstall your Xcode
:D
@HarshIT bro
see MeBleDetailViewController *obj=[[MeBleDetailViewController alloc]init]; line will execute everytime you discover a device.
its not good....
tell me solutions i'm in confusing pls
08:37
such things shoudl be done once only....
can you share your code in github.com ???
i would like to optimize it ( if possible )
@HarshIT how to post ?
can you share it on github.com ????
@prem
@HarshIT wait friend
create an account and create a repository and post your code ... simple @prem
ok
ya i know bro i create
wait @HarshIT
08:40
ok
08:51
@HarshIT check this link pls
@HarshIT got it?
@HarshIT received or not friend?
can we run it in simulator @prem , I think will work only with device
i downloaded the code
@prem
@HarshIT yes bro only with device sorry
08:58
hi
no problem will do something...
if possible change the coding and i will run bro please help me friend
if possible try to get the output in tableview in detailview controller
@HarshIT
ok @prem
@HarshIT thanks:)
ok so its a tabbar app.
09:02
@HarshIT yes
@HarshIT i want to store the paired devices in second page in that icon
if i click a icon means new page open and i want to setup sound button,battery,accelerometer,and so on..:)@HarshIT
you mean MeBleDetailViewController , right ?
@prem
@HarshIT no thats is meblesecondviewcontroller
@HarshIT second page in tab
so you want to pass an array of meblefirstviewcontroller to meblesecondviewcontroller ????
yes in that tableview i have a device name if i click a device name MeBleDetailViewContrller open and shows supportedServices friend
shows device name in label and other services in tableview friend
@HarshIT
you are confusing...... :(
09:09
sorry friend i will explain now clearly
you want to pass data of first view controller to second or detail view controller to second view controlelr @prem
@HarshIT
@HarshIT Came man
1)pass the data from MeBleFirstViewController to MeDetailViewController
09:10
@Rajesh_Bangalore , welcome back :)
2)pass the paired devicename from MeBleDetailViewController to MeBleSecondViewController
@HarshIT
now u understand friend
@h
@HarshIT
@HarshIT tel me now man
@EliasRahme Hey friend... Got free?
@prem ok got it...
see actually its not possible at the level of view controllers , as we are not linking detailviewcontroller with secondviewcontrller , so we need to declare that object in AppDelegate
AppDelegate is alway common with all the viewcontrollers in an app
@Rajesh_Bangalore , just a sec. let me read the history again , i forgot where i was actually :D :D :D like ghajani
@HarshIT oh
@HarshIT i understand friend
@HarshIT :} fine... no probs.. :D
09:16
ok reminded ........ :D saw my camera and got your details .... :D :D :D :D :D @Rajesh_Bangalore
so run the code and tell me again are you facing the same error ??
if so then please again give me the link...
@Rajesh_Bangalore :p
@HarshIT ok friend what is next step...:)
@HarshIT this is first app in my life and unforgettable one :) :)
wohoooo
too large code bro @Rajesh_Bangalore
@prem , my first app was for xml parsing and run for 2 months the most embarassing moment in my life..... :D
i thought i would get fired but luck worked and got another chance and could save my job
@HarshIT ok i ll simplyfy
09:20
@HarshIT :):)
no its fine
guys I have a problem with sorting an array.. I'am trying to sort it according to distances between current user location and some annotations. When the app is launched the sorting is fine but then when user loc changes the array is kept with a steady structure (list) and then the distances change but not in a sorted way.. can anyone help me?
no probelm @Rajesh_Bangalore
just tell me line number where app gets crashed .. @Rajes
@Rajesh_Bangalore
@HarshIT myself also same like u friend..because im a fresher..:)
same was here. i was also fresher; infact an enginnering trainee
was for final year training
09:23
@HarshIT 2012 batch?
no i am from 2011
@Rajesh_Bangalore bro U?
me 2012 @HarshIT @Rajesh_Bangalore
@prem , @Rajesh_Bangalore , are you both engineers, like me ???
@HarshIT ha ha B.TECH(I.T)
i am also BE IT
09:25
@HarshIT :)
@HarshIT what is the next step:
nothing just declare an array in app delegate
and access it using appDelegate from any class. :D
i couldn't find anyother way
@HarshIT ok bro
@HarshIT B Sc CS
09:27
change and inform to me friend@HarshIT
doing MCA now
let me give you lines
@Rajesh_Bangalore boss great ah!!!
@prem
09:28
@HarshIT thank you
@HarshIT dont know which lines it coming nu
@Rajesh_Bangalore nothing friend
@Rajesh_Bangalore , wait a min.
:} okie okie
@Rajesh_Bangalore: Hi
@HarshIT: Hi
09:31
@Lakshmi Hello Hw are u?
@Lakshmi , hi
@prem , don't get angry but I modified your code
i don't know how to share it with you ....
by the way it works fine
@HarshIT no problem friend
@HarshIT u dont get angry,,,:)
@HarshIT i will wait patiently bro :)
I am not angry , you will be angry
ok @prem :D :D :D
y I'm angry bro :)
@prem , how to upload this modified code ???? in your git if its public ?? can you guide me or i will have to create one repository and upload it
09:37
no need to get angry here bro?
i know how to add in my but don't know in yours
@prem
@HarshIT share it in mail bro
@Rajesh_Bangalore , i am in office. can't share by mail or social netowrking site.
our outgoing is limited to our bosses only
@HarshIT ur wish..anyway is ok for me
@Rajesh_Bangalore: Hi I have a doubt. i want to animate my web view .
09:39
yeah here too they say like that.... some file sharing site would be there know...
@HarshIT no problem which one easy for u do that one
ok then wait till i upload and will give you the link soon @prem
@HarshIT ok thanks
always a way
@Lakshmi :} if i know means i ll help yar... tel
09:41
@Rajesh_Bangalore : I have view with some btns on self.view and below that I added web view. when I animate web view to the top... the text on web view appearing on the btns?? how can I avoid overlapping??/
@Rajesh_Bangalore come to that grp
09:56
@prem please tell me the commands to upload the files in git
@HarshIT dude
there is omething like git add filename then commit an all
@Lakshmi sorry ya.. dont knw...
@HarshIT wait friend
ok i
09:58
@HarshIT create new repo on top near username
click downloads @HarshIT
then u upload a file a friend@HarshIT
Do Any body have idea about loading 10-10m records in table sections wise , any app in the app store also helpful for me @prem @HarshIT @Rajesh_Bangalore @Leena
take this
finally i uploaded
@prem
@HarshIT ok friend
@SAHIL what do you mean by loading 10 - 10m records ,
10:03
@HarshIT hai, actually i need to show the 10 records in the table view intiiallly
after that if user scroll up the table then i have to add 10 more
ok
@SAHIL try apple's lazy table images... there it loads images that are shown into screen at a time....
@SAHIL i don't know anyother way....
@prem see whatever line I have written are appended by //HarshIT @prem
@HarshIT thanks for your great response
so just search for my name in your proejct and you will come to know what i did in your code... @prem
:) @SAHIL
ha ha
@HarshIT friend
10:09
yes
@prem
so assign the array to appDelegate.deviceArray so that will get passéd to another array
@HarshIT friend y u never change the coding in Peripheralmanager.m?
suppose you want to pass an objArray of detailviewcontroller then use appDelegate.arrDevices instead of objArray in entire viewcontroller then you may access it anywhere
@prem , its not needed....
PeripheralManger is a class
it doesn't need to be changed
@prem
@HarshIT yes bro____
@HarshIT now i want to pass the data to arrDevices from peripheralmanager?
@prem , undestood how i used the appDelegate.arrDevice ????
yup i understood its common for all viewcontroller
10:13
see use appDelegate.arrDevices instead of dataArray , in your detailviewcontroller...
or do one thing
yes bro@HarshIT
@HarshIT @SAHIL @Rajesh_Bangalore @prem how to upload multiple images on facebook via Fbgraph api or any other?
add all objects of detailviewcontroller to appDelegate.arrDevices
@prem
@Hrushikesh , search on stackoverflow, i am damn sure you will get it
it was posted by one of my colleague before a few months
@HarshIT ok wait:)
10:18
@HarshIT sorry how to add?
like this appDelegate.arrDevices = dataArray :D
our favourite game will be now in iOS and Android :D :D :D

http://www.thinkdigit.com/Gaming/GTA-Vice-City-coming-to-Android-and_11179.html
NSInvalidArgumentException reason unrecognized [mebleappdelegate arrDevices] @HarshIT
what !!!
at which line ??? @prem
@HarshIT now going :)
@HarshIT one more question friend dont get angry @HarshIT
@HarshIT
@prem , i am cool boy , never get angry..... :D
ask without getting angry @prem :D
10:29
@HarshIT but no data displayed in the detailviewcontroller y?
how to add in it?
@HarshIT
oh my mistake just a sec.
i forgot to uncomment a line
@HarshIT ok
sorry , just uncomment this line [self.dataArray addObject:peripheralmanager.mutableArray];
in your viewDidLoad method of detailviewontoller
@prem
sorry forgot to uncomment. i commented temporarily
@HarshIT no problem friend :)
10:32
@HarshIT objectIndex is nill
woff
@HarshIT ::)
Where do you get this error ?? @prem
[self.dataArray addObject:peripheralmanager.mutableArray];
i think problem in peripheralmanager
@HarshIT
i didn't modify that line... recheck the app. it must work
10:37
@HarshIT i know friend u didn't modify
@prem then why that error is coming ??? was it coming before ???
@prem
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'

*** First throw call stack:

(0x356c888f 0x37a6f259 0x3561d1d7 0x164db 0x33135c8b 0x331421e9 0x33142059 0x33141f3f 0x331417c1 0x33141503 0x33135aff 0x331357d5 0x331ae903 0x33228627 0x351e2933 0x3569ca33 0x3569c699 0x3569b26f 0x3561e4a5 0x3561e36d 0x372ba439 0x3312acd5 0x1500f 0x14fb4)

terminate called throwing an exception(lldb)
i think mutablearray is nil right?
@HarshIT
no arrray is not nil
but the object you are trying to add in addObject: or insertObject: method is nil
its object of peripheralManager i think
@HarshIT addObject
@HarshIT friend!!!!
@prem , i have a suggestion
10:43
@HarshIT how to move from this
tell me bro @HarshIT
replace [self.dataArray addObject:peripheralmanager.mutableArray]; with [self.dataArray addObject:peripheralmanager];
hope it will work
@all Hi.
@HarshIT friend it works but no data displayed in tableview friend
ummmmm
@HarshIT :)(;
sorry for disturb bro:)
10:47
did it show anything before ?
@prem
hope other bluetooth devices are on
i am not busy...
@prem
@HarshIT no bro
no display
tableview still in empty
@HarshIT now we also deleted mutablearray in detaiviewcontroller then how we get data from peripheral manager
don't delete that array.. keep it as it was... yaar
it will obviously delete your data
undo everything :D
ok
@HarshIT r u there friend?
yes i am here
so after undooing does it work ???
no friend
10:59
does your older code work which you gave me ????
it doesn't work with my device so...
actually i don't know how to use it so may be but just test it out
hope you have it or i will give you

« first day (81 days earlier)      last day (2859 days later) »