last day (137 days later) » 

6:14 AM
hi
@bhanu
 
hello @pr
@Prasanna
kem cho ?
 
bas kat rahi h
 
congratulations
to u
 
why?
 
u have completed 1 year in CMM 3
 
6:19 AM
ooo k
thanx
 
tb change kb krne ka soch rha h ?
 
bas sim card suru ho jaye idea wala
 
he he
av tak nai hua chalu ?
 
nai
 
koi wando ni
sun ek question puchna h ?
 
6:22 AM
haha
bool
 
uitableview k every cell me uibutton h, and jb cell ko select karu (button ko nai ), to button ka image change hona chahiye.
button ka tag set kiye h but, didSelectRowAtIndexPath me last button.tag aa raha h
 
k
didSelectRowAtIndexPath me last button.tag aa raha h, matlab?
 
kb didSelectRowAtIndexPath call hota h tb cell wala button ka tag last index path.row aa raha h
 
sun didSelectRowAtIndexPath me tumko us cell ka indexpath.row milega
hai na?
 
ha
 
6:27 AM
button ka tag assign karo -- indexPath.row +100
aur didSelectRowAtIndexPath me ..
indexpath.row +100 kar k get kar lo button ka tag
ab ho jayega?
 
dekhte h
 
k
 
abe fir v to last index+100 hi aaega button ka tag
 
didSelectRowAtIndexPath me last index kaise milega bhai?
use indexPath.row
no other local variable
 
button.tag ka value last index wala mil raja h
 
6:32 AM
jis row pe click karoge wahi milega
check karo kuch gadbad kar rha hai
dont use global variables
can u let me see the code
?
 
this is in cellforrowatindex
 
unable to access
use pastie
 
k
 
in didselectmethod
 
6:38 AM
bhai local variable use kar
btnCheckBox ko kha declare kiya h?
isliye tumko problem aa rha hai
UIButton *btnCheckBox = [[UIButton alloc] init];
 
k
but didselectmethod me btnCheckBox ka image change kana h
wo kaise karenge
global variable to lena padega na
 
to tag se get kar le wo object
nai
tag assign kar aur fir us tag se wo object get kar
button ka
global le rha hai isliye last button ka object mil rha hai tumko
 
bhai mere didSelectRowAtIndexPath me button ka tag kaise get karega ?
ye to cell selection me call hota h
na ki button slection me
 
1
Q: How can I get UITableViewCell object from a UIButton action method?

gigahariI have a UITableView in which I have added a UIButton as accessory view for each cell. Note that I set the tag of the button as current row for future use. - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier...

dekh isko
cell pe add to hai na
get nai kar sakte hain kya?
 
bhai mujhe button k action pe image nai karana h
mujhe didSelectRowAtIndexPath k action pe karana h
button k action pe jo method call hoga use to thk aa raha h
but mujhe didSelectRowAtIndexPath jb click kare to usi cell k andar jo button hoga usia image change ho jaye
aisa chaiye
@Prasanna
 
6:51 AM
han
yaar mere
kyun aisa karta hai
button ka object milega to tu uska image change nai kar sakta h>?
 
bhai didSelectRowAtIndexPath me cell k andar ka button ka koi object hi nai mil paega
 
7:07 AM
hi
 
ha bol
 
lunch kar k aata hun
 
dekh lena yhi h code cellforrowatindex and didselectatindex
bht jaldi ja rha h lunch krne ?
 
 
1 hour later…
8:27 AM
hi@bhanu
 
 
1 hour later…
9:34 AM
hello @Prasanna
 
jami liya?
 
han jami lida
pastie.org/9263314 ye code h dekh le agr fursat mile to
@Prasanna
 
ok
hua ya nai?
 
nai
 
kya problem h ab?
aise nai hota h yaar
UIButton * btn = [[UIButton alloc] init];
btn.tag = indexPath.row;
ye galat h
 
9:43 AM
to kaise kare bata ?
 
viewWithTag
uiview ka instance method h
 
[btnCheckBox viewWithTag:indexPath.row];
aisa ?
 
ruk
@bhanu
there?
 
10:01 AM
also use this for tableview view cell object
26
Q: How can I get a uitableViewCell by indexPath?

phpxiaoxinHow can I get a UITableViewCell by indexPath? Like this: I use the UIActionSheet, when I click confirm button I want to change the cell text. The nowIndex I define as a property - (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex { if (buttonIndex =...

i am going offline for half hour
bye
 
10:17 AM
hi
@bhanu
there?
 
10:42 AM
@bhanu
kha h?
 
han bhai
sry busy tha thoda
av purane app ka feedback aaya h
 
upar solution post kiye h
 
thode der se ping krta hu
 
dekh le
 
ok
dekh lunga
 
10:43 AM
ok
 
10:57 AM
tagForFirstSubvw ky h ye ?
 
hi
fir se likh
 
tagForFirstSubvw ky h?
 
the tag which you are paasing
 
k
 
for u its indexpath.row+100
 
11:10 AM
ok
 
11:28 AM
hua re?
@bhanu
 
11:39 AM
thode der me try kr rae h
 
aapki marzi
 
12:38 PM
hello @Prasanna
aisa hi krna h ?
 
12:54 PM
hua ya nai
@bhanu
 
tum jo bataya uss tarah nai hua
 
lag to sahi rha hai
ye kar k dekh
@bhanu
 
ok
chalta hu prasanna
@Prasanna
 
wah sale
resolve to kar le
 
aj jaldi nikal k room pe jaunga jaldu
 
1:01 PM
try kiya
 
wo maine apne tarike se kr liya
 
koi dedication naam ki chiz hi nai h
 
thats working fine
 
ok
tera tarika ?
 
he he
 
1:02 PM
bata
 
night pe ping krna
tb batayenge
 
hahah
bye
ja sale
ab monday ko
batana
offc k bahar nai
 
abe whatsapp pe ping krna
 
nai ye nai discuss karna h
wats app pe
tere Anil bhaiya chale gye
 
q
?
 
1:05 PM
GHAR
OFFC k bahar ye sab nai discuss karna hai
 
ok
Good night
 
bye
 

  last day (137 days later) »