« first day (1 day earlier)      last day (3982 days later) » 

4:10 AM
Good morning one and only @aăâ
 
Good Morning @BobApple I stayed 4hours.
 
Today i have heavy work load!
 
Same here!
0
Q: Replace text in UITextView run slowly

aăâI have an UITextView and I replace a word at the end of UITextView.text like below code: -(void)replaceTextViewWithWord:(NSString *)word { NSString *currentTextViewText = self.textView.text; currentTextViewText = [currentTextViewText stringByReplacingCharactersInRange:NSMakeRange([self....

Some expert don't believe this method run slowly.
They give so many comment.
@BobApple What's do you think?
 
its urgent task!
 
Yes! Important gap in my keyboard!
If pass 90% finish
 
4:26 AM
its means the way you displaying the correct words slow the whole process
 
Remain things are build some special characters special functions. Revise interface. But they are not difficult task.
 
so i think you need to make it fast
 
Yes.
But don't know how to.
 
oky if you write ( hav )then how many correct words you seen for it ?
 
Copy to NSString -> replace -> and copy again to UITextView is a not good method?
Correct word length < 9 chars from end of doc.
 
4:33 AM
upvoted..although I don't think any faster way is there.
 
Thanks!
 
which device you test?
 
App for iPad only. Test on iPad4.
 
i hope you will get the Answer for it!
 
I think other one has the way to integrate with part of text, not whole text.
I gonna finish remain things and wait 2 days to bounty. Maybe +200.
People in my old company call me "Mr Question". :)
 
4:41 AM
haha:)
how to achive the above effect for scrollview using as subview?
 
Think @BobApple Lunch Time. I think later.
 
i tried here but still not getting like above effect
 
 
1 hour later…
6:02 AM
above effect means cross button not positioning right ?
 
no no all backview effect will be black and my scrollview looks as front view of my mainview
cross button is not a issue!
 
make a UIView of appWindow frame.
make it black background.
add your scrollView in it
 
ok let me check
and one more quesiton
else if(indexPath.row==7)
{
NSString *newstring1=[NSString stringWithFormat:@"%@",[[dataArr objectAtIndex:0] objectAtIndex:13]];
if (newstring1==Nil) {
delete row 6
}
else{

}
i wanna to delete the row six if my string at index 7 is nil
and row 7 will also be deleted if string is nil
 
cellForRow isn't the place to do it.
you should do it someplace else
 
oky
 
6:47 AM
statusWindow = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
statusWindow.windowLevel = UIWindowLevelStatusBar;
statusWindow.hidden = NO;
statusWindow.backgroundColor = [UIColor colorWithWhite:0.0 alpha:0.8];
[statusWindow makeKeyAndVisible];
@Shaggy this code working but touch event not working on window
i wanna to hide keyboard using touch event
 
why using UIwindow ?
 
bahi uiwindow working perfectly for me as i want
only touch event not working
 
then how it is perfect :P
 
oh i think button working there..so need to whole screen button to hide keyboard:P
 
7:09 AM
@Shaggy hi
 
hi
 
How are you ?
 
fine.. you ?
 
also fine
I want to show life like in videogames... suppose player has 3 lives .. it shows 3 bar at top
if one life gone 2 bars remaning
I am thinking to use 3 different images for this
3bar ,2 bar,1 bar.. and game over
I want to confirm is it good or anyother way is there?
 
7:32 AM
scale x bhi kar sakte ho.
better to use 1 bar only
1 bar - repeat it -> becomes two bar -> add another 1 bar -> becomes 3 bar
 
means sprite
1 bar ki sprite ko hi repeat kar du?
tag dekar
 
why tag needed.. make them iVar
and yes..make 1 bar graphic only
then create 3 sprites of it to make 3 bar
 
2
Q: Replace text in UITextView run slowly

aăâI have an UITextView and I replace a word at the end of UITextView.text like below code: -(void)replaceTextViewWithWord:(NSString *)word { NSString *currentTextViewText = self.textView.text; currentTextViewText = [currentTextViewText stringByReplacingCharactersInRange:NSMakeRange([self....

 
mujhe intially 3 bar dikhane hai
 
I've found the answer for myself and very happy.
 
7:35 AM
fir 1 bar remove karungi
to tag nahi du?
3 alag sprite bana lu
?
 
Work Great @BobApple @Shaggy
 
aur 10 dene ho to?
 
what was the solution @aăâ
and if you are making more than 5.. keep them in an array lifeArray no need of tag
 
@Shaggy Just delete old text and insert a new text. :)
Very bad think before.
 
7:40 AM
lol.
 
Congrate! @aăâ
 
Thanks! I will finish my keyboard soon!
 
7:56 AM
@Shaggy some time when i scrolling my view it show some of fields at top or bottom of my view?
ye kia seen hu raha hy?
 
scrollView hi hai na ?
 
yes
 
scrollView.clipsToBound = YES ;
add this line too
 
oky
let me check
still same result!
 
8:15 AM
how do you initialize scrollview ?
 
adding in xib
 
clips to Bound issue only
where you added that line ?
 
8:31 AM
What do you want to do with your picture link? @BobApple
 
scrollerView.layer.shadowOpacity=0.8;
scrollerView.clipsToBounds = YES ;
scrollerView.layer.shadowColor=[[UIColor blackColor] CGColor];
scrollerView.layer.shadowOffset=CGSizeMake(0, 0);
scrollerView.layer.shadowRadius=10;
scrollerView.layer.cornerRadius=10;
[statusWindow addSubview:scrollerView];
in viewdidload
@Ios10 i wanna to polish my picture..:P
 
@BobApple
scrollerView.layer.shadowOffset=CGSizeMake(0, 0); You add shadow with no Offset?Why?
 
if you add scroll View to self.view same issue there?
 
yes some time it happenes there
@Ios10 now i wanna to comment all these line because i set clear color for Scrollview
 
do you readjust scrollView subviews after adding ?
 
8:45 AM
let me comment the navigationbar code
 
:( Add and Comment ):
 
thats fun!
 
9:00 AM
hi
 
hi
 
i have an issue
can u solve my problem
?
?
 
Without knowing how we can solve it..:P
 
i will tell u..
 
kab batavo gy agly janam ma?
 
9:08 AM
bta raha hu yaar..;)
mene apne superview mein uigesturerecogniser lagya hai ke koi bhi subview hide ho jae
mein jab bhi super view mein kahi bhi tap karunga to mera sub view hide ho jeaga
mere superview mein ek toolbar or picker view hai
or subview mein ek button hai jo us toolbar or pickerview ko open kar raha hai
 
Use English when you ask question?
 
ok ....:P
 
@all anyone please help me
 
when i press done button from my toolbar button there is nothing happen....
why this is happen..?
now plz tell me..how i solve this problem..?
 
means button press not working for you?
 
9:12 AM
anyone know how to create something like magic wand tool in iOS, like when i click on a potion of images, it should create a path around that porttion of image?
@BobApple help please!!!!!!!
 
yes....
but i have checked that my button is connected with its method....
why this button method is not calling when i tapped button...?
 
use breakpoint
there
 
when i tap the button it will hide the subview that's why the method is not calling....
this is the main problem
i used break point
?
 
show code
@iOS-Dev sorry no idea
 
Magic Wand is kind of impossible task for most of the devs.
 
9:24 AM
@Ios10 what you think why my scrollview behave like that ...:P tinypic.com/view.php?pic=20ssv2g&s=6
 
@BobApple Something show outside scrollView frame?
 
@Ios10 hi!!
 
Hi @json Any issue today?
 
No..
 
yes some the content of scrollview showing outside when i scroll it!
 
9:30 AM
[scrollView setClipToBounce:YES] Have you add this?
 
yes
 
clipTo Bounce :P
 
:)
 
Barfi ..:P
@aăâ help @SarabjitSingh
he is in learning process..:P
 
9:34 AM
@SarabjitSingh show code
 
have you defined selector for it to call ?
 
OK! What's your issue? @SarabjitSingh
Sorry! I've wake up!
 
yes i have defined
 
Barfi bahi kis ko keh rahy hu kabhi ping bhi kr liy karo..:P
 
i made it through the xib
but method is calling on tap
i dont know what is the proble
problem
 
9:37 AM
method is calling or not calling ?
ok @BobApple i will ping you from now on when you become in active for long time :P
 
Congrate i solved my problem!
 
method is not calling.....
:(
 
check again selector defined for it or not
 
i think his issue is all due to Tapgesture!
 
yes but i dont know how to solve it....
i tried lot...but..:(
 
9:41 AM
@SarabjitSingh Check view->interaction check in IB. And drag type choose IBAction.?
 
ok i am trying..please wait
 
9:56 AM
Today i don't see iphone/ipad chat room ?
@Ios10
 
Hi are all of you a ios developer??
 
Yes but one is Android Expert Too...:P
 
@Ios10......i tried but the problem is same.....
 
wow..i hope you could help me developing ios app, I'm new in developing mobile application and I want to learn more about it.
 
@SarabjitSingh first simple tell us breakpoint nhi ja raha method me?
 
10:00 AM
@BobApple....mene breakpoint lagya but method....call hi nai ho raha ...
 
@khatz0406 apple docs and raywenderlich site are good sources to learn iOS
show screenshot of xib file @SarabjitSingh
 
thanks @shaggy, can you give me the links of those helpful sites?
 
@SarabjitSingh Make sure your Button overlay other view gesture?
 
okzzz
 
@Ios10 give link of apple roadmap
 
10:05 AM
Do you use other tap on it's super view?
Do you use other tap on it's super view?
@SarabjitSingh
 
@khatz0406
great sample code for beginner.
 
thanks @shaggy, @IOS10, and @bobapple , by the way may i ask what software are you using in mobile app development?
 
Turbo C :P
 
10:13 AM
Apple road map, first link for everyone : developer.apple.com/library/ios/#referencelibrary/…
 
haha school days ki yad dela di..:P
 
haha..that's funny..Turbo c really??
 
Must be in my room: iOS tutorials :)
 
@SarabjitSingh Try, if not solve. Please show some code in pastebin about your implementation.
 
thanks @aaa I'll drop by in your room..;-)
 
10:19 AM
But i don't wanna to join your room because some time you leave me alone there i am setting like ghost..:P
@aăâ
 
Haha.
 
lol
 
My room just for beginner.
 
10:36 AM
So where i delete my row because i want that when my view launch it automatically check the value if nil then delete row ?
@Shaggy
 
don't wanna to ? You so bad at American English @BobApple Don't try to use if you don't understand. :)
 
oh Sorry Mistake:(
But i wanna to use American English when i talking with you:) not with Barfi
 
hi.. all help me plz
@BobApple plz help me
HOw to integrate Fb or twitter in cocos2d .. ?
 
I wanna use @BobApple (not wanna to use)
 
Yes throw we are ready to catch it
 
10:39 AM
@aăâ
HOw to integrate Fb or twitter in cocos2d .. ?
 
its Shaggy field question
 
@SR-71BlackBird I just know in Objectice-c. Don't know how to use it with cocos 2d..
Shaggy will help you.
 
@Shaggy
HOw to integrate Fb or twitter in cocos2d .. ?
 
same here..:P
 
Don't hurry @SR-71BlackBird He always here and always listen to us.
Is that your need? I'm not sure.
 
10:50 AM
Fb / twitter are integrated the same way as any other app
For Twitter use TWTweetCompose Controller
and for Fb use social on iOS 6.0 or fb sdk on 5.0
 
if so then i have link for that ..:P
 
Dinner! Break...
 
Break Dinner!
 
user1357851
11:16 AM
does anyone knows how I can reinstall certificate on my phone - I have reset my phone and lost all my certificates
 
you have to run each build again from xcode which will transfer profiles during copying.
 
user1357851
11:32 AM
I have tried to run, but got error "Xcode cannot run using the selected device"
 
check in organizer...does xcode show green symbol next to your device?
 
user1357851
11:51 AM
iPhone version 6.1.3 not suitable for xcode 4.5.2?
 
Hi
 
user1357851
hey
 
can any body tell me how to retrieve data form 2 tables in database
 
not suitable
you need to update xcode
 
can any body tell me that i have create 3 tables in database.name is1) tauky table,2)blauky table,3)taukyblauky table .here in tauky table i have created id,imagepath,audiopath.In blauky table id,caption.In taukyblauky table i have store Id,tauky id,blauky id.You will get clear explanation in this link stackoverflow.com/questionlast in taukyblauky table its storing data like this below in id =0,1,2,3,4,5 in tauky id =2,4,1,6,4,0 blauky id=0,0,0,0,0,0
Now what i wnat means i form blauky id 0 i wnat to retrieve the imagepath ,audiopath,caption
 
12:00 PM
@Mohammed hiee
CCTexture2D. Can't create Texture. UIImage is nil
any help
??
 
more info would have been provided with the error @jordan
 
NSMutableArray *tempArr=[db getRecordSet:"select distinct imagepath from yourtablename where imagepath<>'' order by imagepath"];
 
@Shaggy yes .. i m downloading images from service to doc dir in iOS and now i m getting file path .. how to load sprite if we have file path
i m new in cocos 2d
 
cocos2d is designed to use graphics from app bundle only..
so i think you will have to modify source to give other file path
 
@Shaggy means we can't get images from server ???
 
12:07 PM
yes.. images needs to be within project .
+(id) spriteWithCGImage: (CGImageRef)image key:(NSString*)key;
 
:0
 
this method is there
you can pass your UIImage's CGImage
 
what if i want my images randomly changes ... :(
 
games images don't change randomly ... aaj tak temple run k bandar vohi kaale kalute hi hai :P
 
hahaha:)
 
12:12 PM
ok
 
0
Q: How to retrieve 3 tables data form one query in iphone

MohammedI am new to iPhone programming. I've created a database named database.db. Inside that I've created 3 tables namely tauky,blauky,taukyblauky. In tauky table, I've inserted the elements "id,imagepath,audio path" and in blauky table, the elements "id" and "caption". Tauky table Id ...

 
12:30 PM
first try to retrieve data from sql table only in some online sql editor
then try on iPhone.
 
man iron
 
1:00 PM
One day i wish @aăâ will look like IRON MAN..:P
 
My wife and my baby do that job. Not me @BobApple
 
hahaha:)
by the way i am talking about body of iron man not about work..:D
 
:) Thanks!
 
1:24 PM
4
Q: iOS chat APNS, sockets or time interval

NeruI'm making a chat app for iPhone, but im not sure how conversation messages should come instantly. I have read tons of Google results on this topic. Also the once on: - http://www.raywenderlich.com/3932/how-to-create-a-socket-based-iphone-app-and-server - http://www.raywenderlich.com/3443/apple-...

 
you have accepted answer in the question @Neru ?
 
a silent man.
 
user1357851
@Shaggy cool thanks, now it's working
 
1:56 PM
hello
guyz
can anyone help me
 
2:07 PM
you are welcome
 
backBtn=[[UIBarButtonItem alloc] initWithTitle:@"" style:UIBarButtonItemStylePlain target:self action:@selector(backBtnActn)];selfTitle = [[UINavigationItem alloc] initWithTitle:imgName];
[selfTitle setLeftBarButtonItem:backBtn];
[navigtnBar setItems:[NSArray arrayWithObjects:selfTitle, nil]];
Why custom button not working instead of UIBarbuttonitem here
?
 
not working means ?
 
i want to add custom button there
 
self.title = ImageName
self.navigationItem.leftBarbutton = backbTn
 
navigtnBar=[[UINavigationBar alloc] initWithFrame:CGRectMake(0, 0, 320, 44)];
navigtnBar.autoresizingMask=UIViewAutoresizingFlexibleWidth;
navigtnBar.autoresizesSubviews=YES;
[navigtnBar setTintColor:[UIColor clearColor]];
[self.view addSubview:navigtnBar];
navigation bar programmatically creat kr raha hu
 
2:27 PM
navigtnBar.topItem.title = imgName
navigtnBar.topItem.leftbarbutton = barbtn
 
Hi every one..
i need help
i'm using ELCImagePickerController for selecting multiple photos from camera roll.
but some time app crashes while while importing photos from camera roll
and some time it's works fine
:-(
 
memory issue
 
Solve hu gy! sorry to disturbed you!
 
i put log in didReceiveMemoryWarning but no memory warning
 
2:54 PM
crash error it shows ?
 
3:38 PM
Hi @BobApple
What do you try with UINaviagationBar?
 
4:05 PM
Bedtime. Good night!
 
good nit
problem solved now
@Ios10 why you gonna so early?
 
4:43 PM
you there?
 
he is sleeping :Z
 
its was for you..:P
acha bahi please ye idea do k ab row delete karnni hy jb mera view launch hu if condition true hu?
 
4:57 PM
main kya bataoon ?
tableView k datasource me se delete krke reloadData call krdo
 
5:31 PM
kam hu gy!
jadoghar..:D
 
haha
 
Sirf string ko Global hi karna tha..:P
 
5:54 PM
bye
 
Good night!
have a sweet dreams..:D
hahah:)
 
you too :P have a sweat dreams :D
 
hehehe:))
 
6:10 PM
No more time i Don't wanna sit here alone like ghost.:D
so bye all
and Advance Good morning @Ios10
 
6:24 PM
helo, anyone around?
 

« first day (1 day earlier)      last day (3982 days later) »