« first day (113 days earlier)      last day (2190 days later) » 

10:00
Hi chaurasia ji, I was waiting for you :)
@Rani ek app ka code dusre app me kaise kaam karega untill and unless common function ho
@pratikshabhisikar OMG :) its my pleasure
@Abhishek achha wahaa,,, kal nai ayi thi
@IphoneDeveloper aaj ?
10:01
@IphoneDeveloper to kitne baje
@Abhishek 11 baje
@AmreshKumar nahi main apne hisab se code kiya par use ko bhi at a time mai mutipal recod add karna tha muje bhi to whi karna hai
@Rani, I am sure it has to do with the SQL query that your are creating. If not, the code tells you the error codes when you prepare the statement and fire the statement. Use these 3 steps to solve your problem
@IphoneDeveloper pakka meko jaruri kaam he
@Pooja Hi...dear
10:02
@Shaharyar:hi u there
How are you ?
@Abhishek ok
@HonestSuccess hiiii... aa gaya bhai???
@IphoneDeveloper ok done
@vijaysinghadhikari ha bhai
Sam
Sam
10:03
@vijaysinghadhikari hello
@Abhishek hmm
hi friends
NSString *FIRST = @"firstName";

NSMutableArray *array = [NSMutableArray arrayWithObjects: @"renuga", @"ammu", @"renya",@"saranya", @"thulasi", @"harshethaa", nil];

NSSortDescriptor *firstDescriptor =[[NSSortDescriptor alloc] initWithKey:FIRST ascending:YES];

[array sortUsingDescriptors:[NSArray arrayWithObject:firstDescriptor]];
@AmreshKumar are u there
Chaurasia ji, bolo kya hua
@HonestSuccess kya chl raha hai
10:03
i want to sort the array(NSMutableArray)
how?
@vijaysinghadhikari work bahut hai...
Sam
Sam
@vijaysinghadhikari chess bandh kar diya
@ArchanaChaurasia
10:04
tere pass..??@HonestSuccess
it's show me an rror this class is not key value coding-compliant for the key firstName.'
me der se aaunga...abhi ja raha hu....
anyone plz help me
@Sam haaan bhai ....jis gaun jana na ho uska raasta ni puchta m...
friends
10:04
@vijaysinghadhikari kaha pe job kar rahe ho bhai
jb khelna ni aata to kya karunga jaan k
@Abhishek abi vella hu
@pratikshabhisikar my client has given his map in pdf form
Sam
Sam
@vijaysinghadhikari ye sahi hainnnnnnn
@pratikshabhisikar code is run and store only 1cell value but it not create next3row for save value
10:05
@pratikshabhisikar n told that "they will provide all the locations
there is already a backend
the locations will be mapped on the map
for iphone
"
@pratikshabhisikar my client has given his map in pdf form n told that "they will provide all the locations
there is already a backend
the locations will be mapped on the map
for iphone
"
@vijaysinghadhikari kaise ho ?
anyone plz
@ArchanaChaurasia Ohhh I am understanding little little
mst ap btao d
@Rani, your code is clearly inserting only one row
10:07
@Rani:could u plz help me
@Prajan no idea
@pratikshabhisikar yes it insert only one row
@vijaysinghadhikari @Vladimir:could u plz help me friends
@Rani:okay :)
@pratikshabhisikar ok, itunes.apple.com/tw/app/id441377434?mt=8 same like this
its free, can u download it @pratikshabhisikar
@Prajan
NSSortDescriptor *sortDescriptor;
sortDescriptor = [[NSSortDescriptor alloc] initWithKey:@"name"
ascending:YES];


[allAppFriendsNSMutableArray sortUsingDescriptors:[NSMutableArray arrayWithObjects:sortDescriptor, nil]];
@vijaysinghadhikari main bhi theek hun
10:09
@Rani, you either need to call insert data that many times, or pass an array that will have the objects that are to be inserted. And in this objects the columns values are present
@Prajan have use like that
aj kal pad rai ho bot hmmm...??? @ArchanaChaurasia
meri requirement dekhi kya ? @vijaysinghadhikari
@pratikshabhisikar not get proper how
niiiii abi ni ..moto kr degi ....:)
10:10
@vijaysinghadhikari matlab ?
@vijaysinghadhikari "aj kal pad rai ho bot hmmm...???" means ??
kaam jyada hai kya??? @ArchanaChaurasia
@vijaysinghadhikari haan yaar, bahut
@ArchanaChaurasia, yes it's downloading
10:12
@pratikshabhisikar have u got it ?
@IphoneDeveloper aa gyi tum
@sandy ye chess khel rai thi moti k saath :D
@vijaysinghadhikari acha sahi hai bta
@pratikshabhisikar ok
mera kam kiya nahi aur chess khane chali gyi
@IphoneDeveloper sun
kha hai tu
10:14
@pratikshabhisikar,i'm using this code for loading the image from photolibrary and displaying it in a imageview..
@pratikshabhisikar,-(IBAction)plus
{

NSAutoreleasePool *pool;
pool = [[NSAutoreleasePool alloc] init];


if([UIImagePickerController isSourceTypeAvailable:
UIImagePickerControllerSourceTypePhotoLibrary])
{
UIImagePickerController *picker= [[[UIImagePickerController alloc]init]autorelease];
picker.delegate = self;
picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
[self presentModalViewController:picker animated:YES];
// [picker release];
}
[pool release];

}
-(void)imagePickerController:(UIImagePickerController *)picker
@pratikshabhisikar,can u please help me.
@Rani, right now your insert data function takes no argument. Please don't do like this. Pass the parameter as a class that has the iVars as the column values. And then you can use this class iVars to insert into database. In this way you can insert multiple rows in database by passing different class objects or by passing an array of that class objects
Ishh what is the issue in the above code?
I will be back in 10 mins
@pratikshabhisikar,when i load large images the app becomes slow.how to solve this
@pratikshabhisikar its completed ?
@vijaysinghadhikari vella means?
@dark hi
10:20
@pratikshabhisikar its downloaded ?
@Rani hii
@dark i have problem in code please help me to solve
vella means khali @Abhishek
@Rani yes tell what's the problem
no job no wrk :)
10:22
@vijaysinghadhikari kya hua job khatam?
@dark i want to store at atime 4row value in sqlite but i store only one row at a time i have store value for my weather condition
@Rani i have'nt work on sqlite yet @pratikshabhisikar helps you in this regard
@dark ok
thank
hmmmmm @ManjotSingh nikal diya :(
@vijaysinghadhikari kyun? kya hua?
10:25
@pratikshabhisikar,is there any way to improve the speed
@sandy kyaa
@vijaysinghadhikari mai aati hu jab @sandy bolta nahi .. chali jati hu to hi reply karta hai
hahahah beta tera khauff...@IphoneDeveloper
@ManjotSingh awai yr..
@vijaysinghadhikari kya maine kaha daraya kisi ko
@vijaysinghadhikari kuch to hua hona hai
@sandy @sandy koi hai kyaa
10:28
@pratikshabhisikar hi plz reply??
@IphoneDeveloper hummm
kha chali gyi thi tum
@sandy net band ho gaya thaa
@ArchanaChaurasia yes downloaded I am seeing it
@Susim yes what happened
@pratikshabhisikar i send u a code last saturday.......
@pratikshabhisikar plz remember
@sandy kya huaaaa
10:32
@Susim, yes but I could not see it. I did not get time. I am sorry. I will see it tonight is it ok?
@pratikshabhisikar I want to implement map area of this app.
@pratikshabhisikar ok take ur time.....its ok
@pratikshabhisikar I think u forgot.
@Susim, I will see it tonight and reply you in mail
@pratikshabhisikar ok thanks
@ArchanaChaurasia, I have not worked on maps. I will ask my senior and let you know. My wild guess is that they have used different image views for different categories to show
10:37
@pratikshabhisikar,u there.can u plz help me
@ishhh, sorry I don't know how to load heavy images quickly in photo library. Please ask this question on web I think you can get quick answer there
@pratikshabhisikar these are pdf, i have downloaded those map pdf from their site, but now how i will search the perticular location in that map pdf,
@pratikshabhisikar I have this pdf, now i will searching in this, as u have seen in application?
I loaded different maps from picker view in the application. Searching is also there?
@pratikshabhisikar map from picker view means ?
In picker view if we select different values, it loads maps corresponding to it
10:45
@pratikshabhisikar ok, its good, same way we can do for my app that instead of using picker veiw we directly load the map
n then do searching
@dark:k friend..going to try
Sam
Sam
@pratikshabhisikar can i apply Justify alignment on text view.......
@dark:initWithKey:@"name"-->name is string ah?
@Prajan yes
@ArchanaChaurasia, I have no idea as how searching can be done in PDF. But you can store the positions of the places and according to the search text, scroll the scroll view to that particular position
@Sam, means?
10:49
@dark:okay nanba
@Prajan check and let me know
@pratikshabhisikar ok, but as u said that u load different-2 maps, so how these maps creates ?
@dark:okay sure
@pratikshabhisikar same way if I will tell to the client, they will provide us same.
@ArchanaChaurasia, you mean how to show the map PDFs?
10:52
@pratikshabhisikar no no, from where u got different-2 maps, client has provided u ?
@ArchanaChaurasia, client has not provided me, I saw in the app that you gave me
@pratikshabhisikar ok,, so suppose it client gives us those maps then how I will do the searching ?
@IphoneDeveloper tu kha chali jati hai
sun to
@IphoneDeveloper yar kuch hua usme
@dark:
NSMutableArray *array = [NSMutableArray arrayWithObjects: @"hai", @"helo", @"gud",@"great", @"jgjhas", @"kladkjs", nil];
NSSortDescriptor *sortDescriptor;
sortDescriptor = [[NSSortDescriptor alloc] initWithKey:@"name"
ascending:YES];
[array sortUsingDescriptors:[NSMutableArray arrayWithObjects:sortDescriptor, nil]];
@Prajan yes
10:55
app terminating this class is not key value coding-compliant for the key name.'
@pratikshabhisikar ok,, so suppose if client gives us those maps then how I will do the searching ?
@Prajan sortDescriptor = [[NSSortDescriptor alloc] initWithKey:@"name" ascending:YES]'
@Prajan yahan per wo key dani hai jis ki base per records sort karna chati ho
like helo likoo yahan
yah koi or key jo iss array k andar hai
@Prajan
@dark:plz english
@Prajan [[NSSortDescriptor alloc] initWithKey:@"name" ascending:YES]' in initwith key give the name of the key which you want and exist in your array like @"helo"
or @"gud"
and bla bla @Prajan
@ishhh @ishhh are you using a background thread to get the images?
11:00
@dark:erminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<NSCFString 0x3080> valueForUndefinedKey:]: this class is not key value coding-compliant for the key helo.'
again shoe me an error
Sam
Sam
@pratikshabhisikar IN WORD WE ADJUST ALIGNMENT AS JUSTIFY.....SO IT IS IN A PROPER MANNER... I WANT TO SET SAME FOR TEXTVIEW......
Code:NSMutableArray *array = [NSMutableArray arrayWithObjects: @"hai", @"helo", @"gud",@"great", @"jgjhas", @"sdfsdf", nil];
NSSortDescriptor *sortDescriptor;
sortDescriptor = [[NSSortDescriptor alloc] initWithKey:@"helo" ascending:YES];
[array sortUsingDescriptors:[NSMutableArray arrayWithObjects:sortDescriptor, nil]];
@Prajan let me check that
@sandy nahi ho rhaa
@dark:okay nanba
plz help me
11:01
@sandy muhje samjhne ka time hi nai mil rhaa
@Prajan do u hv key named helo?
sorry
@dark:NSMutableArray *array = [NSMutableArray arrayWithObjects: @"hai", @"helo", @"gud",@"great", @"jgjhas", @"sdfsdf", nil];
NSSortDescriptor *sortDescriptor;
sortDescriptor = [[NSSortDescriptor alloc] initWithKey:@"helo" ascending:YES];
[array sortUsingDescriptors:[NSMutableArray arrayWithObjects:sortDescriptor, nil]];
above is my code
@ArchanaChaurasia, that you have to calculate and store in database after getting the maps. This may not be the optimal solution as I have not worked with map views. This is my opinion without having worked on maps
@pratikshabhisikar ok
@Sam, first I need to see what is justify alignment in word. It's been months I used ms word or open office org
@Prajan Why are you using a key to sort an array of strings?
11:06
@pratikshabhisikar use like that
NSMutableArray *array =[[NSMutableArray alloc] init];
//[NSMutableArray arrayWithObjects: @"hai", @"helo", @"gud",@"great", @"jgjhas", @"sdfsdf", nil];


NSMutableDictionary * dictionery=[[NSMutableDictionary alloc]init];

[dictionery setObject:@"helo" forKey:@"helo"];
[dictionery setObject:@"aa" forKey:@"bb"];

[array addObject:dictionery];
NSSortDescriptor *sortDescriptor;
sortDescriptor = [[NSSortDescriptor alloc] initWithKey:@"helo" ascending:YES];
[array sortUsingDescriptors:[NSMutableArray arrayWithObjects:sortDescriptor, nil]];
@dark WTH!!
@prajan, your problem has a very easy solution if you can write your own comparator function.
Sam
Sam
sam in open office also
@dark Talk about going round the houses to solve a simple problem!
@Abizern ?
11:08
@Prajan Give me a minute - I'll show you the proper way to do it.
What does the array that needs to get sorted contains?
Use sortedArrayUsingSelector: function. An example has been showed in the class reference
ram
ram
@Rani hi
@ManjotSingh hi
40
Q: How to sort an NSMutableArray with custom objects in it?

rustyshelfWhat I want to do seems pretty simple, but I can't find any answers on the web. I have an NSMutableArray of objects, let's say they are 'Person' objects. I want to sort the NSMutable array by Person.birthDate which is an NSDate. I think it has something to do with this method: NSArray *sortedAr...

Hello Aal
All
@Abizern Is it effects using wifi and 3g app?
11:13
@pratikshabhisikar are u there
@ManjotSingh Hi
@dark - Strings are not custom objects.
I m facing a critical problem
@Rani, yes
i have OpenGL view in my app
11:14
@Abizern see the ans of this question
@pratikshabhisikar i have to do like this in my code -(BOOL) insertData

{
[self createEditableCopyOfDatabaseIfNeeded];
//NSString *filePath = [self getWritableDBPath];
BOOL value = NO;

@try {

sqlite3 *database;
if (sqlite3_open([[self getWritableDBPath] UTF8String], &database) != SQLITE_OK)
{
sqlite3_close(database);
}
else {
NSString *nsQuery = [[NSString alloc] initWithFormat:@"INSERT INTO weather (ReportDate,conditionname,humidity,maxtemp,mintemp,wind) VALUES('%@','%@','%@','%@','%@','%@')" ,_forecastInfo.CurrentDateTime,currentcond.Condition,currentcond.Tempf,currentcond.Tempf,curre
@dark @pratikshabhisikar :okay
When i capture the screenshot, it takes self.view screen
@pratikshabhisikar but it not working
but does not contain the OpenGl object in this screen shot
11:16
@Abizern:okay sure
@Rani it will not work, put a for loop 4 times and each time you have to execute the different SQL queries
@pratikshabhisikar i have put inside wherei writen
@Rani, you are making 4 different queries but only "preparing" one (query) so only this one will get executed and query1 to query3 will not
@Prajan Try this
NSArray *array = [NSMutableArray arrayWithObjects: @"hai", @"helo", @"gud",@"great", @"Aggravation", @"Tolerance",@"jgjhas", @"sdfsdf", nil];

    array = [array sortedArrayUsingComparator:^(NSString *string1, NSString *string2) {
        return [string1 caseInsensitiveCompare:string2];
    }];

    NSLog(@"Array is now %@", array);
@Prajan I'll send you an example project if you need one.
@pratikshabhisikar so i have to create 3more method as same with diff query
11:21
@Prajan this is for iOS4+ as it uses blocks. It's a lot easier than creating callbacks
Does anyone have any idea
@Prajan and certainly easier than converting a string into a dictionary!
@Rani, creating 3 more methods for 3 queries will solve your problem but will you create 1000 methods in case you wanted to insert 1000 times?
@Prajan It's a bit leaky, but you get the idea.
@pratikshabhisikar i know yaar but i am confuse in this an i am stuck from two day pleas tell me wher i have change in my code
11:25
@Abizern it gives and error incompitible block pointer types iniilizing in int (^)(struct NSString *). expected NSComprator
@Abizern app crashes in 3g network and works fine in Wifi :(
@Rani, you are actually running out of design patterns. I will explain you how this can be done efficiently using one insert function
@Prajan @dark have a look at a working example goo.gl/aagGK
@pratikshabhisikar if we want to use images in some view then we have to drag n drop tht image into project is there any other way also u know?
@pratikshabhisikar ok
11:30
@HonestSuccess hi
@Abizern:thank u friend:) ll see now
@Abizern i get it it need foundation frame work
@Rani, when you create a table in database, create a class also. This class will contain the instance variables corresponding to the columns of the table. So if your table is emoyee having column as employeeName and employeeAge, you will create a class that will have two instance variables called as employee name and employee age of type string and int respectively
@Abizern thanks
@dark - Why, what were you using?
11:32
@Abizern in view didLoad i'll add the code you send here and it will give an error
which i send you in 4.3 @Abizern
am using iOS 4.3 @Abizern
@pratikshabhisikar ok then
@dark - ok. abizern gmail
@dark - or add the link here.
@Rani, now if you want to fetch a row from database for employee name = rani, you will create an instance of class emoyee in the database function, fetch the row from database, Assign name and age of the fetched row to the class employee object and return this object
@Abizern ok sure
@Abizern i'll send you the screen short
Sam
Sam
@pratikshabhisikar so i add as UITextAlignmentLeft......... but i want to apply as justify...so plz tell me how can i do it
11:35
@pratikshabhisikar no i dont want fetch from sqlite i have to insert value in sqlite table
@Rani, Similarly if you want to insert a row in database, you create a class employee object, give it name and age, and pass thus object to insert employee function. The task of insert employee function is only to take argument as class employee object and insert it's data ( name and age) in database. So if you create 4 different employee objects and call insert employee data function 4 times, it will work
Brb in 5 mins
@Abizern mail sent
@pratikshabhisikar i need to do like iPhone Contacts app.in tht add new contact view, add photo and beside small table section. How can i do tht?
@maidul, are you asking me the design of the app?
@pratikshabhisikar yah
11:43
The contacts will be displayed in table right?
@dark - odd works fine for me. even in an iOS project.
@pratikshabhisikar yes
how to code for phoneGap pls give some guidance
@pratikshabhisikar i need add contact page Design
Ok, so in the view where you show the contacts in table, from there should be an option to add a contact
11:44
@Abizern i have make a new test project and just add it in view did load and still the same error
@dark try using the LLVM compiler instead of the GCC compiler which doesn't support blocks the same way.
The add contact screen can have different things to add, name, address, email, phone, etc and photo as you want
@Abizern ok let me checked that
@dark If I change my project back to GCC I get the same errors.
@pratikshabhisikar in add new contact view ,on top left add photo and small table section is thr r8. i wnt tht design.
11:47
It can be a scroll view or table view
I think it's scroll view
@Abizern:incompatibleblock pointer type initializing *int (^
)(struct NSString *)'-expected 'NSComparator'
NSArray *array = [NSMutableArray arrayWithObjects: @"hai", @"helo", @"gud",@"great", @"Aggravation", @"Tolerance",@"jgjhas", @"sdfsdf", nil];

array = [array sortedArrayUsingComparator:^(NSString *string1, NSString *string2) {
return [string1 caseInsensitiveCompare:string2];
}];

NSLog(@"Array is now %@", array);
@pratikshabhisikar if its scroll view, how place the table sections?
@Abizern ok right thanks man learn a new thing
@Prajan You should be using the LLVM compiler, not the GCC one.
@dark - Welcome to the modern world.
@pratikshabhisikar in scroll view v can do like tht?
11:50
@Abizern i'll use LLVM GCC 4.2 and it give error but when i use LLVM 2.0 it don't
@Abizern:LLVM compiler ?
@Abizern any idea why ?
Those text fields are placed in scroll view. It may not be table view cells
@dark - they are different compilers. Use the most modern one.
@Prajan Yes - you can change the compiler that you use - see the screenshot.
@Abizern ok thanks
11:52
@Abizern:oh thank u friend
@pratikshabhisikar i am confused, its look like table view n table sections. first name lastname,company feilds also textfeilds?
pls give me clarification
@Abizern:shall i use
LLVM GCC 4.2
0r
LLVM 1.5
It is 100% possible with the required graphics and the functionality to clip subviews
@pratikshabhisikar only table view its not possible?
we can reduce the table section?
@Abizern:u there
11:57
I need to see if it's possible in case of grouped table view just a moment let me see
I don't think it's table view as the cells for home is expanding
@pratikshabhisikar r u free enough to help me out
?

« first day (113 days earlier)      last day (2190 days later) »