« first day (1557 days earlier)      last day (2426 days later) » 

3:45 AM
Good Morning @all
 
 
2 hours later…
5:17 AM
Good morning
 
 
1 hour later…
6:42 AM
@Dhruv hello
 
yeah dilip
you working today ?
 
yes @Dhruv
u ?
 
nope..
 
ok could u tell me something related to autolayout
@Dhruv
 
what?
 
6:51 AM
as u can see i how to show that offer
like 10 % OFF,30 % OFF on tableview
with autolayout and design
 
yeah
 
@Dhruv?
 
simple , add image view there
 
ok then
 
and then add constraints of height and width and fix it to top right corner
by giving top and trailing constraints
 
6:53 AM
i will take button or imageview
 
as per your requirement
 
how to manage the label
text
 
oh then go for button
 
currently i have added button only
 
and need to rotate the title afterwards
 
6:54 AM
yes
@Dhruv
@Dhruv tell bro
 
what ?
tell
 
@Dhruv how to do that
 
first add the autolayout
then rotate the title
 
i have added uibutton and add constraints top,trailing,width height
and how will i take constraints of label inside it and als design
 
not needed to take constraints of button
 
7:09 AM
why
because i have to show background of button with green color
name: Scotts
category: 124
latitude: 51.5169586
longitude: -0.14634720000003654
Distanve: 100
enter this details in deals page 1
u will get response from api
 
thats fine
do one by one
first try to fix button on top right corner
then add the text you want
add color
and so one
don't try to do all in one shot
you'll end up messing up everything
 
ok @Dhruv
i have firstly added consraints for button
while designing how to put the label
@Dhruv?
 
label for what ?
 
offer
i have put label for text above button @Dhruv
 
if you know, we can add text to button as well
 
7:21 AM
yes i know but i will come at center right
 
you can change it
 
tell me
imgur.com/a/yqWH3 this i have done in design
 
checking
 
ok
let rotateLabel: UILabel = UILabel(frame: CGRect(x:15, y:66, width:28, height:159))
rotateLabel.textAlignment = .right
rotateLabel.text = "TEXT"
self.view.addSubview(rotateLabel)
rotateLabel.transform = CGAffineTransform(rotationAngle: CGFloat(-(Double.pi / 2.0)))
rotateLabel.frame = CGRect(x:15, y:66, width:28, height:159)
this code i searched
 
yeah I'm looking for something similar
 
7:26 AM
ok
 
@BugsBuggy you keep deleting questions
 
@DilipTiwari
remove that label
add try adding text to button
btnTilt.titleLabel?.transform = CGAffineTransform(rotationAngle: CGFloat.pi / 4)
and this
 
7:41 AM
ok @Dhruv checking
@Dhruv have u seen the imgur.com/a/yqWH3 this
in this u can see background image
 
@Dhruv aaj kaise
 
@Shubhank hey... was just in some work, got notification from dilip :P
to bas aa gaya ... you say!!
 
@Dhruv
 
yes ?
 
@Dhruv have u seen the imgur.com/a/yqWH3 this
in this u can see background image
do u think button text will adjust in it properly
 
7:48 AM
have to try modifying something
 
because at the time of designing u can see button background image is half filled and half empty
@Dhruv
 
yeah
try with label then
good for you
 
8:20 AM
ok @Dhruv
so how will i manage rotation in it @Dhruv
i have done it @Dhruv and now working properly
 
/joy
@Dhruv
 
@RituNagpal hello
how r u dear?
working or home
 
hello
home
 
ok so u r working in android or swift
i think android
 
8:35 AM
yes android only
 
ok so u living in gurgaon
?
 
noo
 
@DilipTiwari cool, you got the speed ...
@RituNagpal ...
 
8:57 AM
@Dhruv yeah
 
@RituNagpal soyi to nhi :p
 
@Shubhank hiii
 
hello
 
£50 OFF i am getting this result in json response
 
@Shubhank for u...
you help dilip
 
9:07 AM
how will i convert it and show pound symbol on label in swift @Shubhank
 
string = string.replacingOccurrences(of: "£50", with: "symbol of pound")
 
ok checking @Shubhank
 
@RituNagpal what you doing
 
/awake @Kamini
 
:/
you need kamini today too
 
9:13 AM
:/
:(
 
there
 
kya
 
kamini is here :p
 
/annoy @RituNagpal
 
@RituNagpal You are stupid
@RituNagpal Arent you stupid
S2pid is @RituNagpal
Just joking you suckk too @RituNagpal
 
9:21 AM
@Shubhank whats the logic behind kamini ?
 
umm
JS based events
sorry web sockets
 
cool..
 
/joy
 
9:33 AM
ok
what @Dhruv
:/
/hangman
 
 +---+
 |   |
 |
 |
 |
_+_
s - - - -
 
/hang r
 
 +---+
 |   |
 |   O
 |
 |
_+_
s - - - -
 
/hang a
 
 +---+
 |   |
 |  \O/
 |
 |
_+_
s - - - -
 
9:33 AM
/hang t
 
 +---+
 |   |
 |  \O/
 |   |
 |
_+_
s - - - -
 
/hint
 
Hangman hint : happydent
 
/hang e
 
 +---+
 |   |
 |  \O/
 |   |
 |
_+_
s - - - e
 
9:34 AM
kuch nahi bus yuhi :P
 
answr
 
smile
karo
 
/hang smile
 
 +---+
 |   |
 |  \O/
 |   |
 |  / \
_+_
s - - - e
Game over.. The word is shine
 
/joy
 
9:34 AM
:)
 
lol
galat ho gaya
 
/hang
 
 +---+
 |   |
 |
 |
 |
_+_
- - - - - p - - - - -
 
9:38 AM
@Dhruv
 
yo say
 
let offernew = offer.replacingOccurrences(of: "+£", with: " $")
let offernews = offer.replacingOccurrences(of: "£", with: " $")
cell.lblOFF.text = offernew
@Dhruv
how to do for same label
i am getting these values from json response
 
what ?
 
let offernew = offer.replacingOccurrences(of: "+£", with: " $")
from this line i have changed +£ to $
right?
@Dhruv
so i am als getting £ somewhere in json response but both results will show on same labels so how will i achieve this @Dhruv
 
yar, but you getting different values ?
what if something else comes ?
 
9:49 AM
i want "+£" and "£" to be replaced with "$" and i want those values to display on label @Dhruv
 
so will it be +$ and $
?
£
this is pound :P
 
i will check that u tell me for $
@Dhruv
but i want to compare both and get the result into label text
 
what code you did ?
 
 
4 hours later…
1:48 PM
It's been 5 days now, and I still havent been able to get this elasticsearch up and running. I am so frustrated. :(
 
1:58 PM
:(
 
 
1 hour later…
3:12 PM
And I deleted because the error wasnt there in my code but elasticsearch module.
 
3:31 PM
someone is stalking me :O and giving upvote to my Qs as soon as I ask them :o Guardian Angel?
 

« first day (1557 days earlier)      last day (2426 days later) »