« first day (970 days earlier)      last day (1970 days later) » 
04:00 - 11:0011:00 - 16:00

SKT
11:01 AM
@VikramKThakor u got amitabh feed last time
wat issue now
?
 
user4238267
11:19 AM
hi
i want to create a video demo of my app , to send to client
how to make vd
 
run ur app in simulator and open player in mac and capture screen - this way you can give demo
Quick time player can capture screen
 
user4238267
let me check
 
@SKT yes I finished it in FAcebook but I want to make that possible in twitter and youtube and instagram
too
 
@jace refer the link
 
user4238267
11:24 AM
thanks
 
user4238267
checking
 
SKT
@VikramKThakor then wat issue
?
 
I dont know how to do it in twitter
 
SKT
lots of tutorial availble dear search it
 
hello guys i have a question about ™ characters. I need to display it in my Label. But the string is coming from the service. And it is a very long string. So any idea, how would that string be changed to show a ™ symbol?
Anyone? Anything?
 
11:46 AM
@SeriousSam
can u use like this
NSString *test = @"This is some text about a Trademarked Name\u2122";
NSLog(@"My reqString is %@", test);
 
@sandhaya I tried this... It works on a demo project. But for some wierd reasone, when similar string comes from a webservice response, it doesn't seem to translate it.
 
@SeriousSam u need that trademark lettr
s in after sentence compilation right
 
yes..
 
[Option] + [2] produces ™ trademark sign and [Option] + [R] produces ® registered trademark sign.
hold Alt key in place of Option
 
11:51 AM
@NarasimhaiahKolli this is not something which i am entering. As in i wont be knowing the positions of the string where to insert the trademark. It should happen on runtime via code. So your responses wont make sense in my case..
 
0
Q: How to render a registered trademark in superscript

Koolalaif I have a paragraph of text in UILabel and I need to display a registered trademark in the middle of the text, how should I implement it? I don't really want to use an image view. I kind of think to override drawRect or sth but haven't figured it out yet. Thanks!

 
@SeriousSam first u save that trademark symbol in string after append that to ur string
 
refer this
@SeriousSam got it?
append some unicode to ur string
 
@NarasimhaiahKolli i asked the server guy to give me a similar unicoded string as a response..
someText.text = NSLocalizedString(@"iPhone\u2122",nil);
 
then what is wrong
 
11:56 AM
but still.. it doesnt work...
 
you have to encode string by UTF8stringencoding
search for that in SF
SO
*
 
you mean the response from the server?
 
ok let me check for that..
 
NSString *test = @"\u2122";
NSString *test1 = @"sandhaya";


NSLog(@"My reqString is %@",[test1 stringByAppendingString:test] );
@SeriousSam check that above code
test1 is ur server side code
string
it will change dynamically
 
12:09 PM
@sandhaya i know this but the thing is the string is really long, and the TM symbols appear in between anywhere randomly.. So i have no control over the approach.
 
can u share sample string which u getting from server?@SeriousSam
i can come to know what have to do
 
Unfortunaltely cannot. Privacy issues™, but take any long string and keep randomizing the placement of the Trademark Symbol™ just like i have did that right here in my response..
 
@SeriousSam
 
So the string from the server would look like..
Unfortunaltely cannot. Privacy issues\u2122, but take any long string and keep randomizing the placement of the Trademark Symbol\u2122 just like i have did that right here in my response..
 
ok....from server side u r getting tm letters or not?
in string
 
12:17 PM
nope
 
is there any iOS library for creating an app with camera effects such as cartoon,fade etc???
 
then in which basis u have to show tm letters in b/w the string
@SeriousSam
 
the unicode characters \u2122
 
u r getting this letters in server side string
?
@SeriousSam
 
yes
i know you will say do string replace, but that is not goin to solve the whole equation. Trouble is i am unable to understand why is UIlabel, not interpreting \u2122 as the TM symbol..
 
12:23 PM
ohhh @SeriousSam here my side whn am giving direct "\u2122" this one that displaying as tm symbol only
 
yes, that is the problem i am facing.
when i use it in code directly, it works, but when used as a response from the server, it doesnot.
 
12:35 PM
how can i mange listing with tableview with section ?
pls give me some idea for set data same as screen shot
 
SKT
@DarshanKunjadiya u need to decide how many sections are there
then depend how many rows u want in each section
and in cellforrowatindexpath method u need to check condition
for displaying data accordingly
 
but data will get from APi
 
SKT
no issue
 
see my screenshot
 
SKT
first of all get data from api
and store in array
and count how many values
are there
 
12:41 PM
is on that News From Your Added stores is a first section right ?
 
SKT
and so create section for it
ya
 
then wallmart wllington is a section or row ?
 
user986408
weird question: what is the proper way to only allow a movieplayer vc to rotate (when in full screen) but have the rest of the app restricted to portrait?
 
SKT
u need to show only 2 rows in each section , if it is fixed then set noofrowinsection @DarshanKunjadiya
 
no no it's not fix
its dynamically
 
SKT
12:42 PM
@codingrogue u need to handle it view based rotation
 
then wallmart wllington is a section or row ?
 
SKT
@DarshanKunjadiya ok dats good so no problm set it dynmaically
 
user986408
@SKT do you got some link/example lying around?
 
i need to set "Wallmart willington" as a section or row ?
 
SKT
@DarshanKunjadiya its section dear
under it all r rows
do it then after ask
 
12:44 PM
first is also section "News from your added store" ?
 
SKT
@codingrogue in which ios u r doing it
?
 
user986408
7/8
 
SKT
so now u need to use latest rotation method just google it
lots of SO answers r there
do it
 
user986408
but how does it work in general? .. observer on orientationChanged? and then some selectors?
 
SKT
@DarshanKunjadiya i think u first need to have concept abt tableview which i think u missing first of all try to implement it
@DarshanKunjadiya it is simply a header not section
 
12:46 PM
but in this screen shot News From Your Added Stores and News From Your Near by Stores both are diffent tableview ok?
 
SKT
@codingrogue rotation method which used in ios7 has been deprecated in ios8 so u need to implement accordingly
 
ok first i wil try to implement then if i got any issue the i will tell your. thanks for your support
 
SKT
1:03 PM
@Leena u there
?
 
@SKT hello sir
 
SKT
hi
 
Good morning everyone! Have a question: How can an array be display in a uilabel?
 
SKT
@PatriciaCartwright u should do google first
 
SKT
1:11 PM
@PremalKhetani issue solved or not
 
@SKT yes sir but now new problem
 
SKT
?
@PatriciaCartwright label.text = [arr objectatindex:index] use it
@PremalKhetani wat issue say
?
 
Okay, thank you!
 
sir i implemented all facebook Updates but in Facebook sdk 3 there was FBSession so i can call requestNewReadPermissions if user decline some of permissions but now in new update (i.e 4) so question is how do i re request to facebook login to get that permission from user ?
@SKT sir
 
SKT
y do u need to send request again
 
1:17 PM
i am getting email id from facebook but if user decline then i didn't get the email id so i need to recall it for getting email id again
 
Should I use NSMutable army?
@SKT Should I use NSMutable array?
 
SKT
ur choice
if want static then nsarray otherwise mutable for dynamic purpose
@i think u need to repeat the same process
@PremalKhetani
 
oky sir actually i did it but the problem i am facing is when i recall the process i get msg that you already accepted the request in facebook :(
 
@skt I tried your solution, but received the following error message: No visible @interface for 'NSMutableArray' declares the selector 'objectatindex:'
 
yes say @SKT
 
SKT
1:23 PM
ya
i have little confussion
i m setting rootviewcontroller in appdelegate based on webservices data . since it takes time so app taking time to open and also shwoing window should have a rootviewcontroller .
any best way to do such thing
@Leena
although it is working fine but i want to knw is there any way to handle such thing
 
based on login ?
@SKT
you want to set rootviewcontroller ?
 
SKT
ya
 
i would like to give you suggesstion on login save data in user defaults and on logout remove all data related to that
in appdelegate check ur userdefaults for data if the userdata is there direct the user to home screen
else show login screen
 
@SKT
1) when i request first time http://pasteboard.co/2mBm2PcO.png
2) when i uncheck the selection http://pasteboard.co/2mBqNZ6y.png
3) when i recall the same code for get email id http://pasteboard.co/2mBttnZr.png
now help me i don't know what to do
and there is no documentation in developer site of facebook for do this thing :( :'(
 
SKT
@Leena dats exactly wat i did
but the thing is if user is already logged in
 
1:34 PM
then it shud not take time
then check the user defaults for the data
 
SKT
ya ok
but
 
like user id or email id
 
SKT
let me finish
 
okie
 
SKT
now the condition is if user is already loged in
then next time when user open the app
call a webservice and decide which screen u want to show first
if data availabel vc1 is appeared otehrwise
 
1:36 PM
why call a webservice
 
SKT
vc2
because each time user tap the app
it needs to show screen depending on webservice data
basically wat happening is
 
then show a default screen
with a loader in the middle
so that user gets to know some data is coming
like Fb
 
SKT
ya so i need to create a separte xib
rit
and writing code there instead of appdelegate
ok dats the final solution i also thought because if i use timer to wait the webservice fetch the data ... will degrade user performance
thnx @Leena
@PremalKhetani let me think of it will tell u
 
oky sir no worries :) @SKT
 
SKT
will tell u tomorrow
bye bye @Leena @PremalKhetani
 
1:49 PM
byee @SKT
 
@Leena @NitinGohel @sanjeet @iAnum @iPatel @ALL "byieieieieie Friends Gn Tc Sd See you tomorrow :) :) :)"
 
@SKT bye :)
 
2:15 PM
@Patricia do u want to display the complet array or just an index out of it?
@PatriciaCartwright
 
@SeriousSam the complete array
 
NSArray *newArray = @[@"One",@"two",@"three"];
something similiar?
and now how do you want to print it?
 
@SeriousSam The array is filled as the program is run. If the user swipes the label the array becomes filled.
 
M not sure i got your scenario
@PatriciaCartwright do you have a rough screenshot/sketch of what your trying to achieve?
 
3:23 PM
@SeriousSam Yes, I do.
 
04:00 - 11:0011:00 - 16:00

« first day (970 days earlier)      last day (1970 days later) »