« first day (595 days earlier)      last day (3388 days later) » 

11:00
optional Int = 0?
sry no
playground is pretty much awesome
pretty much :p
good for clearing concepts
:P
11:15
@Shubhank is there any thing i miss ?
?
dont know
Planning to watch 'Interstellar' ?
released
nolan !
nov 7
absolutely
11:30
nice trailer yaar
11:50
@radical waiting from last 2 weeks
if you have any rest, please add me in your invitation list :)
or golden ticket
sure
hahaha
suar @Manish
11:54
hahahaa @Shubhank mast tha
@radical nice link. I love such info :)
@radical thanks
@Shubhank hurrr be
hahahhaa dubey kaunsa project chal rha h tera
singapuri noodles
ishwar gaayab ho gya
@Duggu rewire
alarm type
12:07
kaise ho dubey ji @Manish
@Manish ye stark kha chala gya h yaaar
@Rudeboy theek hu sir
aap kaise ho
@Duggu vo to edward ho gya ab
bus badhiya
pan ladk kaha hai?
*apna ladka..:D
rajjo
gurgaon me pamphlet baant rhe hai bhaiya g
k dwarka me?
12:12
gurgaon me
acha hai..acha hai..ye bhi acha hai
hahahahaha salla mrng se laga hua h ab tak ni ayaa h
are ppr bhi nikalvane hai
teda kaam to vo hai :p
haahahahhahahahahaa
@Shubhank bhai 28% ho gyi ab charge kru kya
12:15
usb 3.0 hai ?
acha chargin time kitna hai :p
30 min me 100%
i minute me 3% ho jata hai
bhai tera haath to garam ho jayega LOL
nice h yaar
phir to awesome hai
iphone wale kab la rhe h yaar ye btaoo tum phele
march 2015
12:16
salla ab hum wo hi khrid
60,000 ka hai vo
march m @Shubhank seriously ?
yup
22 k ki hai watch
@Manish kya h 60K ka
cheapest edition :p
12:17
fr thek h shubhu budget m h yaar
lol :p
22k wale me sirf time hi dikhega
march 2015 tak
iss budget me 2 moto 360 aa jaayegi :p
60K wale me sare main features hai
cloud backup bhi ho jatahai
suna @Duggu
taunt maar rha hai backup :p
12:22
hahahaha @Manish salle teri jaan le lunga m
are mai to fayde ki baat kr rha tha
@Shubhank kya kru bhai apna hi chota bhai h haqq h ushka
ye shubhank ko sb taunt lgta hai
@Shubhank lagta h android ph purchase krna padhega yaar ab
@Manish sushant piche khada h tere chal kaam pe lag ja ab
aap antaryami ho
sach me piche hi the
12:26
@Shubhank lagta h android ph purchase krna padhega yaar ab
@Manish sushant piche khada h tere chal kaam pe lag ja ab
last 30 days wali list me apka name aa rha hai kya
memory issue fixed
12:45
@Manish oo teri ki ye kya hua bhai
@Shubhank kya hua bhai
nothing
@Manish shayad galat hogi yaar maine to kuch kiya hi ni bhai
previously app was crashing within 4 min :p
now at least 20
Hi guys...There is a little problem with an iOS app i am working on
it was okay on older version of xcode but since i updated the xcode it's giving me an error
activity Title not found on object type of 'NSUserActivity *'
Did anyone else experience the same? I tried changing the target ios v from 8.1 to 7.0, still no bueno
share relevant code
12:54
Hang on
if ([[ShareData sharedData] userActivity].activityTitle != nil) {
cell.detailTextLabel.text = [NSString stringWithFormat:@"%@",[[ShareData sharedData] userActivity].activityTitle];
}
that activity title is causing the issue.
according to this, it only has a property named 'title'.
UIActivity has activityTitle though
I see
you seem to be mixing up types here
It is actually someone else's code i have to debug so yeah it's fubar
what is the type of ShareData.userActivity ?
12:58
So the thing is User activity is a class
it has a string type member named activitytitle
that class is then used in turn in shareddata class
is that a custom class?
yeah it is a custom class, child of NSObject
what is it called?
NSUserActivity?
#import <Foundation/Foundation.h>

@interface UserActivity : NSObject
@property (nonatomic, retain) NSString *activityTitle;
@property (nonatomic, retain) NSString *categories;
@property (nonatomic, retain) NSString *amountPaid;
@property (nonatomic, retain) NSDate *date;
@property (nonatomic, retain) NSString *note;
@property (nonatomic, retain) NSString *userID;
@property (nonatomic, retain) NSString *objectID;
@end
that's the string right there, activityTitle
show the signature for that ShareData.userActivity property also
use pastebin or pastie for long code dumps
13:01
Alright sory my bad i thought it would be under 10 lines
1 message moved to recycle bin
@property (nonatomic, retain) UserActivity *userActivity;
yep that's the property
Nix
Nix
How do I reload a UITableView's data placed on storyboard after returning from Background. I am getting nil tableview object on accessing using it's outlet.
if ([[ShareData sharedData] userActivity].activityTitle != nil) --> break this down as:
id val = [[ShareData sharedData] userActivity]; NSLog(@"class name for val: %@", NSStringFromClass([val class]));
@Duggu
13:06
it's possible that somewhere you assigned a NSUserActivity type object to that sharedData.userActivity property. but run the above test anyway
I see
let me check
Thanks though
@Nix debugging required
cause the tableview wont get nil if you replicate it in a new project
Nix
Nix
@shu
@Shubhank Should I try it on clean project?
better to share relevant code first
shubhank ek bat pochn? :P
13:14
nhi
hahaha
haso bhi mat
ponka
Hello
how to access music player in ios
Is there any working example ?
Gamex, www.google.com
free research :)
Possibly easy question: What's the best way of going about writing a library for swift?
@Manish bolo dubey ji ponka
ponki lol
group is closed now ?
@Duggu is...
is that a language?
@overactor not getting you
13:35
@Duggu It doesn't look like anything to me.
overactor, open an editor and write the code? you will have to ask a more specific question
Which I find very cool
overactor, he is talking in Hindi
@radical what he ask ?
is anything related to android ?
@radical And do I compile it or include the source code in my projects?
@radical cool
13:37
Duggu, you can read his initial message
OMG he want to write lib in swift ?
Overactor, Hm? Are you familiar with xcode/
@iAnum ask
@Duggu I was just amazed by how dissimilar your language (hindi as it turns out) is so dissimilar from any language I know.
@Duggu OMG are you doing OMG to annoy people :p
2
13:38
@radical Not terribly.
I'm new to swift and mac in general
nothing @Shubhank leave
And not immensely experienced in programming in general
@Shubhank you see what he ask "easy question"
overactor, start with some tutorial for swift then. If it doesn't talk about how to create a project (you need that) in Xcode, then google for that
Or..
13:39
@radical Oh, I know how to program in swift
How are you not familiar with xcode then?
I'm just wondering about best practice when making library
@overactor then why are you asking for us if you knows ?
been using Playground?
best way is to checkout other libraries and use your own code writing style :D
13:40
See.. that is why i said.. specific question!
@radical I'm not TERRIBLY familiar with it
@Duggu kya hua , hindi me btao :p
3 mins ago, by overactor
@radical And do I compile it or include the source code in my projects?
this is not the same as "best practice when making library" :p
@Shubhank kya btauu bevkuff ko jo bus dimag chaat rha h radical ka
try to build a basic lib first, then get to best practices
13:41
hahaha
and..
1 min ago, by Shubhank
best way is to checkout other libraries and use your own code writing style :D
read code
yay! . i got a mention
but not before you try making it on your own first!
It's not really about coding so much as how I include my finished library in another project
haven't coded
13:42
your question is changing by the minute heh
jumping straight to the end part
that's not how it will work :D
research a bit
Ok, let me start again
i thing they just test us
I'm coding a project and it's going quite well
I noticed that there is some code I will need that doesn't logically fit within my project
I would like to code it myself in a separate project
And include it in my original project when I'm done
13:45
Shubhank can help you
2
bye bye time is complete thank god you save me for now @Shubhank
hahahhahaha @radical awesome
Duggu, he mentioned earlier about working on swift libraries, so..
@overactor and you want us to tell the best way to include it ?
@Shubhank Or point me in the right direction
@radical he just checking our knowledge i think
13:47
Also, I'd like to know if I need to keep some things in mind when starting a library.
did you google already?
@radical Limited
no they just want spoon feeding
@Duggu No I would like a little nudge in the right direction
overactor.. think about the API that you want to expose, don't expose internal types.. etc
13:48
if your library is going in main stream , thinking of supporting it for years. You will make it documented , add license. use pods.
no comment
For your first , i will suggest just code it. Use your initials to Name the classes
bye we will talk tomorrow
and add it your project.
bye
@radical bye good night
13:49
bye
have fun with annoy people
@Shubhank It seems unlikely that I'll actually release it
overactor, API is the key. you can find lot of material about good API design on the net, but you need to write code, read code to really learn that
Ok, thanks guys
if you don't plan to release it, then it's up to you, how clean you want to be about it
13:52
@radical I might throw it online with no promise of updating/supporting it
If you want to learn about "best practices", then.. write the code, use it, figure out the pain points, how you can improve them, how can you deal with changing requirements of your library users(your own code for now) - though don't over engineer.., try to improve etc
I'm not being specific since you haven't written anything as yet!
you can find excellent material on the net, but you won't be able to critique it (and thus really understand it) unless you have tried writing your own stuff, IMHO
@radical I have written some stuff in swift, this is my first library though
Thanks for the info
I'll dive into it now
right and I'm talking about writing a library
cool, good luck!
joshi, ye tumhe kya ho gya
.
kidhar post kr rha hai :p
kadar krne vaale idhar nhi hai
14:07
haha
Hey, I am trying to do some animation with autolayout. I am trying to have a view slide out from the right to the left and disappear from the screen.
Anyone have a clue on how to do this ?
animating constraints
i do have a vid for that from WWDC
a link pls ?
didnt watched though.
let me see
i know the principle - but i dont understand which constrainst exactly are needed and have to be animated
    [self.view addConstraint:[NSLayoutConstraint constraintWithItem:self.blueView attribute:NSLayoutAttributeRight relatedBy:NSLayoutRelationEqual toItem:self.view attribute:NSLayoutAttributeLeft multiplier:1.0 constant:0]];
this is what i tried
doesnt work
14:19
wait, pure swift libraries are not supported?
15:02
dubey still in office :D
LOL
@Manish what am i listening dude
hame party nhi mili
iAn
iAn
Hey ho ;)
hi all
user4029378
15:33
hi hello
user4029378
:p
iAn
iAn
var aVar:Type?
var aVar:Type!
What's the different ?
user4029378
first is question
second is shouting :p
iAn
iAn
6
Q: What is the difference between String? and String! (Two ways of creating an optional variable)?

Yassine HoussniIn The Swift Programming Language (book of Apple) I've read that you can create optional variables in 2 ways: using a question mark (?) or by using an excamation mark (!). The difference is that when you get the value of an optional with (?) you have to use an exclamation mark everytime you want...

/me deletes his reply
15:40
bwaha
iAn
iAn
Optional Optional . What a bad solution
where is "optional optional"?
iAn
iAn
I still mess up :)
are you porting your keyboard to swift ?
iAn
iAn
yes
I make new one
By swift
Write something work, but don't understand much
It's Ok because Xcode say that
:)
15:47
big question
are you using Array or NSArray ? :D
iAn
iAn
Array
NSArray so long :P
great
16:03
@Shubhank hello again Shubhank :) Can I ask you yet another android question?
hello
17:22
hi
hi radical
how are you?
good. How are you?
I'm well :) I'm stuck on an android question
0
Q: TextView on first position does not update when toggle button is clicked

Kala JI have a global variable named num: TextView num; This variable is declared inside my activity but outside of onCreate(). My activity contains an onClickListener for the toggle buttons inside my radiogroup: //onClickListener method that returns an interface private View.OnClickLis...

add screenshot explaining things
@Bunny shunny
17:37
@Shubhank kya haal h
are duggu ko bolo add kre grp me
Kaun se grup m
bol do bas :D
Bhai aisa kaun sa grup bana diya... :P
Bolta hu
Could anyone help me out?
http://stackoverflow.com/questions/26762231/button-on-custom-listview
17:50
I will try and add a video @Shubhank
Acejakk, learn Java
@radical ty, I will try your solution
your code is broken with basic syntax issues
btn_maisinfo.setOnClickListener (new View.OnClickListener(){
Uri uri = Uri.parse(url_info(position));
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);
}
@radical I just posted it there to see an example of what I attempted. It obviously won't work
the errors that you show in the question, are because of broken bad syntax, but you already know that?
btn_maisinfo.setOnClickListener (new View.OnClickListener(){
void onClick(View v) { ... code..
}
);
url_info is an object of type TextView. You can't use it like a function - url_info(position)
17:58
@radical That's what I wanted to know, not the syntax
which part?
You did understand my question correct?
I have a custom listview
no, I'm helping with the errors that you posted there
with a custom item for each slot of the listview.
17:59
I should not have posted that.. lol
I misunderstood what the other person wanted to know about the syntax.. I will remove it then
ok, np

« first day (595 days earlier)      last day (3388 days later) »