« first day (1481 days earlier)      last day (1459 days later) » 

3:44 AM
Good morning..
 
4:01 AM
gud mrng @ShobhakarTiwari @BhavinRamani
 
4:49 AM
Good morning all :)
 
good morning eveyone @pooja_1205
 
5:22 AM
@ShobhakarTiwari Yes
Good morning
Any way to call it in background mode ?
 
@Dhruv yea u can use GCD with async block
 
Hi everyone! Im new here! Nice to meet you all!
 
I tried executing it on background thread
Not GCD
 
@JiacaiLau hello . Welcome to Group
@Dhruv use GCD or operationqueue watver
 
@ShobhakarTiwari Sure, lemme try that.
@JiacaiLau Hi
 
5:43 AM
@Dhruv @ShobhakarTiwari hi guys! :D
 
@JiacaiLau u started in swift or objective C
?
 
@ShobhakarTiwari
@ShobhakarTiwari Swift!
 
great
whr r u from?
 
@ShobhakarTiwari Thinking if i should start learning Obj-c though
@ShobhakarTiwari Singapore! what about you?
 
@JiacaiLau New Delhi
Currently Swift is better option so go ahead with Swift
:)
 
5:48 AM
@ShobhakarTiwari thanks for the advice! I love swift man. it is so much easier to learn as compared to other languages
 
Exactly
 
6:01 AM
@JiacaiLau Yeah, swift is future now...
 
@Dhruv i once met a developer who told me to learn Obj-c cause i will be able to develop both android and ios but the language is really turning me off so i turned to swift. But is his claim true?
 
@JiacaiLau No Obj-c has nothing to do with Android..
Rather swift coding styles are more relevant to android.
 
@Dhruv thats so good to know cause i'm planning to learn to develop android app soon and i thought it will be starting from ground zero again..
 
6:28 AM
@JiacaiLau knowledge of Objective C along with Swift gives u edge over other candidates
 
6:42 AM
@skt
u there
 
@Imran its because of incorrect width
increase content size based on screen width ( or specific width)
 
k
so where should i change width
i could not get u
 
@Imran self.collectionView.contentSize.width
handle this properly
@Imran chck my post
0
A: Tap gesture on multiple imageview inside scrollview not firing event , only first imageview tap gesture working?

Shobhakar TiwariFinally solved by adding button on imageview , and making it background color clear and title to "": Here is Code Snippet : //print(mDict.objectForKey("ImageURL")) //var scrollWidth: Int = 120 scrollview.contentSize = CGSizeMake(120.0, 80.0) var xOffset: CGFloat = 5 //the loop ...

this way i handle it
but with scrolllview
so same way u can manage in collectionview too
 
6:58 AM
skt my case is different from urs
i m getting on cell selection elements
my quest is it s scrolling continuous and when it reach last it scroll one empty blanck cell then come back to 0 index of array
 
@Imran u didnt use pagination then how it move one by one
each page is screen width so have to handle that way
once ready then set its offset then it work
 
i used paginantion but my collection cell is inside collection view
not in self.view
ok let me check with offset
 
set only three image statically then offset it
 
sure
 
if it work for thrre then simply call it on timer
it should work
 
7:05 AM
k
 
hi @ShobhakarTiwari
 
i hv to add encryption to app to a url through which i play a song
 
good morning @NitinGohel
 
hi @NitinGohel
 
7:12 AM
gm all
nice too see you after very long time :)
 
@pooja_1205 use sha encryption
 
@ShobhakarTiwari sha or md5
which is better
 
i used md5 in last app
along with md5 while publish app to appstore chck use encryption in app , then apple add extraa layer of security
so use md5 freely
 
i need for url encryption n decryption
 
128
Q: MD5 algorithm in Objective C

BiranchiHow to calculate the MD5 in objective C ?

 
7:30 AM
thnks @ShobhakarTiwari
 
 
1 hour later…
8:44 AM
@ShobhakarTiwari
 
9:00 AM
@pooja_1205 ?
 
here i hv to pass url in afhttp request
but wen i change string to md5 and then pas
my download process does not start
@ShobhakarTiwari
 
@pooja_1205 let me chk
 
@pooja_1205 u asked from server side guy for md5
 
no
i hv a url
NSURL *url = [NSURL URLWithString:md5];
this url i want to encrypte
@ShobhakarTiwari
complete code for this block @ShobhakarTiwari
 
9:20 AM
chk this try using this way once
 
ok
@ShobhakarTiwari this is almost similar to wat i did
 
0
Q: How to set title of navigationitem which have titleview for some conditions

Payal ManiyarThere is navigationItem having titleView. Now for some condtion I want title for that navigationItem. How to do that? Any idea? Below is the lines of code that I have tried but that not working... self.revealViewController().navigationItem.titleView = UIView.init() self.revealViewController()....

any one has idea?
@NitinGohel
 
u tried setTitle method @PayalManiyar
@pooja_1205 hit url directly on browser
 
@ShobhakarTiwari yes
 
with md5
 
9:32 AM
but not working
 
@PayalManiyar SWRevealviewController u extended rit
@pooja_1205 yea
 
@ShobhakarTiwari sorry did not egt
get
 
SWRevealViewController , u using this class anywhr ?
 
@ShobhakarTiwari
Printing description of url:
24c1e71c1014921869ebb3a445ec5f38
this is wat i m getting in nsurl
after md5
 
@pooja_1205 sit with server side guy and chk wat they getting and converting it
 
9:42 AM
ok
 
yes
issue solved
 
@ShobhakarTiwari i hv a url through which i m downloading a mp3 file
my requirement is that that mp3 file should not be palyed outside taht device in which it is downloaded
i want to encrpte that mp3 file
 
9:58 AM
@pooja_1205 create a folder in document folder with userid and then it will be accessible only from the app only
 
10:10 AM
any example link for this @ShobhakarTiwari
 
10:20 AM
0
Q: save mp3 data in file on iphone

AdelI'm developing an iPhone application and i need to download and Save mp3 media on the iPhone and play it, I fished the downloading work and i put the data in NSMutableData variable But How can i save these data as mp3 file any advice :)

 
10:37 AM
@ShobhakarTiwari pastebin.com/fqPfGgJD
here i m creating a db path
how to set userid key to it
and will it serve the purpose of encryption
 
if you planning to use multiple user login the same app in same device then u need to create folder with unique name or id so multiple users data can be read u got my pooint
yea sure it will
 
no i didnt get ur point @ShobhakarTiwari
it is not user based app
its just like saavn where no login is required
and songs downloaded are saved in local db
in .mp3 format
 
exactly same thing they did savan or gaana
kind of caching u can say
based on userid
 
can u plz elaborate how to achieve this
 
read again above comment
dekho aisa hai jo v download hoga usko document folder mai rakhna hoga
 
10:49 AM
i hv saved it in document folder
uske bd kya krna h
 
but if u wont create folder then at the same time same different user login then how u would traack which song downloaded by which user
got my point !
say YES
:P
 
there is no login in his app
@ShobhakarTiwari
 
then simply store it document folder
 
i hv store it
 
no need to manage it
 
10:52 AM
if the user shared the song outside then i want it shud not be played
@ShobhakarTiwari
 
application generated content not shared among other app unless enabled app_group
so dont panic about it
simply store it and fetch and play , Simple!
 
11:10 AM
@ShobhakarTiwari wen i m saving the downloaded file in db,my path is something like this : /Users/abc/Library/Developer/CoreSimulator/Devices/2B687B234-D4BB-9761-A332-CE44‌​565978GH6/data/Containers/Data/Application/2292CBAF-ACFC-4C99-AEF0-2D67868BNJJ/Do‌​cuments/somgfile.mp3
if i convert this to md5 and then save it
will it work
and at the time of playing it i shud decryptr it
 
try
it should
 
user2299177
11:25 AM
Hi
 
user2299177
any one working on xamarin forms?
 
@iSwaroop fire your question first !
 
12:20 PM
@ShobhakarTiwari bro i dont think facebook access token must expire on after killing the app
you said that day that it expires as we kill the app
 
hi @ShobhakarTiwari
How could i resolve it .... I am getting the answer in this form.. Optional("Optional(165)") .@ShobhakarTiwari
 
 
1 hour later…
1:40 PM
Hello
Good Evening to all
Anybody can help me on
0
Q: OS X ejabberd, New user register by XMPPFramework

iPatelI'm new for ejabberd. I want to add new user on my server through my App. I tried with many code that was find out from the goole but no one can solve my issue. I set module to http://localhost:5280/admin/server/localhost/node/ejabberd@localhost/modules/ For enable mod_register also change eja...

 
 
4 hours later…
6:08 PM
@PradipKumar you should use force unwrapping operator ! with it
 

« first day (1481 days earlier)      last day (1459 days later) »