« first day (434 days earlier)      last day (2506 days later) » 

07:00
like first remove the full page controller and then create it again according to the orientation and style
any idea about Facebook logout
everytime orientation changes
???
which SDK are u using
call that method and remove and re add your pageview with different style according to condition
07:00
3.5
@D-eptdeveloper thts not good way .....
@NitinGohel hi
very memory used creatng again full viwcontroller
how can i set this responce hardcoded in a string
that was i thought that if we can't change it then remove and re create it
07:01
[{"result":[{"request_id":783,"ticket_number":"PADOSI_1000783","user_id":6,"desc‌​‌​ription":"Vhdgg","status_id":1,"status_name":"initiated","createdTime":"10/17/2‌​01‌​3 10:14:46 AM"},{"request_id":782,"ticket_number":"PADOSI_1000782","user_id":6,"description‌​‌​":"","status_id":1,"status_name":"initiated","createdTime":"10/17/2013 10:14:40 AM"}]}]
i am using safari login.but i want to remove cookies programmatically.
i kknow not a good way but....
@D-eptdeveloper once u remove ur whole ui is chnaged
it won't take even a sec...so at my point of view that is the solution for now
don't know any other way
@jorik
[FBSession.activeSession closeAndClearTokenInformation];
@ioskills means what
07:03
i want to set this value in string variable
which value
@nitin : i also use this code
in this json you haveing a dictionary of result with request_id ticket_num etc
yeah
so first got the result directory and thatn make it NSStrin *strvalue=[d valueForKey:@"request_id"];
d is a result directory
07:06
my problem is
@D-eptdeveloper thanks it affect my current UI
i have json value hardcoded
it is not from server
i have to use it.
oopppssss....
@NitinGohel
how can i assign this to a dictionary
@NitinGohel are simple que ..
@D-eptdeveloper thanks for ur options
07:08
su
@Anjan:- you're welcome
@ioskills its ok but there are no diff with server or you own programeticyly this formate
you just need to assining it using valueForkey
@NitinGohel ios 7 ma view navigationbar ni pachal jato reh che
self.youNativaitoncontroller.navigationBar.translucent=NO;
aa mukide
:)
@NitinGohel me set karyo edgelayout pan still swap thai jay che maru scrollview
07:10
atle nahi jai
@NitinGohel gm
@Nirav oh prabhooo tame
time malyo
mgtwitter ni koi link che?
working?
@NitinGohel
NSString* json = @"[{"result":[{"request_id":783,"ticket_number":"PADOSI_1000783","user_id":6,"de‌​sc‌​ription":"Vhdgg","status_id":1,"status_name":"initiated","createdTime":"10/17/‌​201‌​3 10:14:46 AM"},{"request_id":782,"ticket_number":"PADOSI_1000782","user_id":6,"description‌​‌​":"","status_id":1,"status_name":"initiated","createdTime":"10/17/2013 10:14:40 AM"}]}] " ;
showing errors.
not like that sir
do google first
@ioskills
07:12
@NitinGohel What's the proper way to validate a NSArray and NSMutableArray
@Nirav sir hu aa use karu chhu
@Praveen
BOOL isMutableArray = [myUnknownArray isKindOfClass:[NSMutableArray class]];
ok
@NitinGohel Validating for null or not
mare mgtwitter engine ma 401 & 404 aave che
@NitinGohel tried but not getting any solution:(
07:14
@Nitin
Use pastie or pastebin
Jul 13 at 6:12, by DivineDesert
USE PASTIE (http://www.pastie.org) FOR LONG CODES TO KEEP THIS ROOM CLEAN
hello nitin
wait
[FBSession.activeSession closeAndClearTokenInformation];
[FBSession.activeSession close];
[FBSession setActiveSession:nil];
@jorik use this three in to you logout method
10
Q: Facebook iOS SDK 3.1.1 "closeAndClearTokenInformation" method no working

Spencer Müller DinizI just upgraded from Facebook iOS SDK 3.0.X to 3.1.1, and rewrote some code... As per Facebook documentation for the logout workflow (https://developers.facebook.com/docs/tutorials/ios-sdk-tutorial/authenticate/#step3), I'm calling the closeAndClearTokenInformation method of the FBSession.activ...

07:20
@NitinGohel sir plz suggest me..
@Nirav
auth issue che
but same credentials chale che fhstwitter ma dost
:(
@ioskills
0
Q: iPhone: How to programmatically create a json file and insert the data obtained from my Sqlite database into it?

Parth BhattI want to get data from my Sqlite database and put it into this JSON file. How can I create a json file and insert the data obtained from my database into the JSON file? I want data in JSON file in this format: { "data": [ { "data": [ null, null, ...

@jorik you can try this also
@D-eptdeveloper this is old one might be this is work but for new sdk it's3 method is enough
@ioskills
there
?
07:25
@NitinGohel Hi bro. color with RGB Not working , Confused ! here is a pseudo code. pastebin.com/MWT8ZJUi
i see i have used that in one of my app for logout completely so i thought to suggest
@NitinGohel
yes it working in FBconnect class
we are using befor ios6 lonch
and at that time facebook not released it's SDK
yup true :)
@iShwar
alpha not /255
its value is set 1
my bro
its between 0 to 1
so set only 1
@NitinGohel Ohhh its was that only bro.. thankx.. :)
07:28
@ioskills
0
Q: can i create plist programmatically ? using json Object

Mukesh Dabhihow to Create parent and child using Plist file in iPhone i have a json object. this object comming from web service. i want to try create a tree structure using plist file. can i create plist file programmatically ? using json Object { "component":[ { ...

check its answer
might be you got the solution about it
@NitinGohel hey tht works fine for tableview but for scrollview still its hide behind it
ok thanks
@NitinGohel
07:44
@Nitin its not working ? login page not come.only ask for permission
not for login page
i want to loging page after logout
i am using safari based logging in my aap
can u give me any resource or demo link.
Hi All. Could you take a look. Thanks!
0
Q: How to get 2448 × 3264 size like camera app when capture by AVFoundation in iPhone?

hahahaI setup AV Foundation camera and apply live filter on video buffer something like this tutorial //Session setup code session = [[AVCaptureSession alloc] init]; [session beginConfiguration]; [session setSessionPreset:AVCaptureSessionPresetPhoto]; AVCaptureDevice * videoDevice = [AVCaptureDevi...

08:17
@D i have also try your code but not find login page.
not clear cookies of facebook
Can you see this link
i would ask to same think
@D hello
08:52
@jorik:- talking to me?
@jorik
hi
have u check facebookSample session login sample
there is a method of login logOut
please check this
09:14
@NitinGohel Hi
hello All
good afternoon
I am working on a coreData project and I am getting NSMergeConflict error, can anybody throw some light on this
7
Q: iPhone Coredata error (NSMergeConflict for NSManagedObject)

ruffnecktskSometimes i have this error with coredata in the same place. Sometimes its ok, and in other time i have this error. What does it mean? I can't find anything about it :( ps sorry for my english :) conflictList = ( "NSMergeConflict (0xd447640) for NSManagedObject (0xd41b370) with...

looking at it
thanks
ha ha ha
nice name
ha ha ha
:)
09:28
Anyone here with can help me in coreplot??
all are here @MadanMohan
Wow
@Droid: The thing is I want to get the center of the piechart so that I can place a layer at the center of the piechart to display some content. How can I get the center of the piechart?
can u paste ur code in pastie.org
ya sure
@NitinGohel hii
@MadanMohan : what is pieplot
@Droid: piePlot is of type CPTPiePlot.
@Nitin & D
hello
can u check my code
09:47
@jorik:- are you using FBConnect?
@MadanMohan .. what is this ? piePlot convertPoint:centerPoint fromLayer:piePlot.plotArea
@Droid: It converts the centerPoint into the piePlot.PlotArea coordinate specific
@NitinGohel:- hey bro i need help
in this there are title tags
this is json response
@MadanMohan
for doing pei chart use this is the best
09:53
so some of them title tags have </p> html tags in it
how can i remove them?
to show them in lable or something?
can send me link of pieplot reference class? @MadanMohan
you can manually remove it
manuaaly?
may be response changes then?
m afraid of that thing
it comes </p> today may be </br> tomorrow then logic crashed
i was wondering for some stable solution
then currect from json side
its much better
not in my hand bro :(
thats why looking for solution
09:56
but you have to tel them for remove this type of tag will be prob
told ya but they says these "admin mathi atyre editer ape lu 6e to aa tags to aave 6e"
:(
@NitinGohel i want to start with ios 7 , so for that i have started the downloading xcode 5 , and my mac os is of Mac OS X Lion 10.7.4 (11E53) , so will it be fine or i have to upgrade my OS X also. ?
5
A: Remove HTML Tags from an NSString on the iPhone

black1987use this NSString *HTMLTags = @"<[^>]*>"; //regex to remove any html tag NSString *htmlString = @"<html>bla bla</html>"; NSString *stringWithoutHTML = [hstmString stringByReplacingOccurrencesOfRegex:myregex withString:@""]; don't forget to include this in your code : #import "RegexKitLite.h"...

same
i past
@Abizern you just 5 second ahead lol
@iShwar You need 10.8 for Xcode 5, I think.
09:58
(y)
@NitinGohel Dude, you gotta be faster.
And @D-eptdeveloper, you should learn to use Google. Or Bing.
@Abizern thanks for the advice :)
@Abizern ok i juz wanna confirm , Thank you. :)
@iShwar you could have confirmed it yourself by looking at the download page itunes.apple.com/us/app/xcode/id497799835?ls=1&mt=12
@D-eptdeveloper Sure. I tell people to look both ways before crossing the road as well, although it's something they really should have learned for themselves.
10:03
@Abizern:- i ask questions after a lots of research so i already tried all those solutions by my self but the reslt is that skips the text after HTML tags so not satisfied so asked you peoples but don't know you gonna start teaching me
@Abizern thanks dear :) i was bit exited and in hurry to start with ios 7 , so i directly started downloading it. anyways thanks :)
@D-eptdeveloper Juzzz Chilll Juzz Chilll Coool Down buddy :)
@NitinGohel :)
@iShwar:- yup but he said i should "learn" to use google so just.... anyways have no hard feelings for anyone :)
its ok
10:09
@D-eptdeveloper Nice to hear that :) have a good day .
forget it all
forgiven my bro forgiven :D
ha ha ha :D me tooo
@D-eptdeveloper What else do you expect me to do? Part of the reason I come in here is to try and help some of you to learn how to help yourself. If you think my "teaching" you is offensive, then I'm sorry you feel that way. But the truth is a simple 5 second search would have given you an answer.
i said i had tried those things before i asked that here
10:15
Okay. Forget it if you want to make a thing out of it.
hi @Abizern
Hello Ranjit
I solved reset CoreData issue
but I want to know wheteher this the right way?
10:42
@Abizern, I tried this pastebin.com/SgitZdDq
NSTeaTime
@Ranjit I don't understand why you are still setting the managedObjectContext to nil and then sending it messages. And why have you got double underscores as prefixes?
@D i am not using FBConnect
i am using Facebook sdk framwork
@jorik i lost of time told you that check ti fbloginsession demo
but i think you are not interested
ok as u wish
already give the link of it
10:58
@Abizern, I am totally confused about this.Can you please explain me ?
esi baat nahi yar mai busytha
mai already try kar chuka hu
is demo ko
@Ranjit How can you be confused? You wrote it.
@NitinGohel
Talk to me
mujhe every time login karana h
@jorik:- try this..
1
A: Logout of Facebook in app using Facebook ios SDK

RDCFor logout you should try this you can add the Logout button on Navigation Controller (Top Right Corner) in viewDidLoad method self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"Logout" style...

use me work karta he na logout
11:00
but login screen ek bar puchta h
yes, l wrote it because some answers in SO said to do that way @Abizern
woh tumher check karna padta he dost
if session is nil then askin gfor login
method
@Abizern, whether I am doing it wrong?
ok i will try
Thanks
Nitin
@jorik:- you should also go through this it has logout code
11:02
@Ranjit So are your backing iVars synthesized with double underscores?
no , those ivars were by default when I created a project using coreData
so i kept it that way
@jorik:- try this solution also
13
A: facebook-ios-sdk logout question

gadildafisshEduardo, I feel your pain! I spent the better part of a day working on this issue. I have discovered that when you use SSO and the call: Called from your code: [facebook logout:self]; Facebook API method: - (void)logout:(id<FBSessionDelegate>)delegate { self.sessionDelegate = delegat...

:)
asked 2 years ago
still ;)
might be helpfull
if use fbconnect
11:08
@Ranjit double underscores aren't standard, which is why I'm asking.
just a sec, I will check my previous sample coreData projects which I created in previous versions on xcode.
@D Thanks
i will try for this code also
@Abizern, I checked it and what I found is that, in previous versions of xcode , the double underscores used to come by default in appdelegate.m whenever we create a project using coreData option
@Abizern, but from xcode 5 they have removed double underscores
11:25
@hello nitin< I have use session login demo can u check my login or logout button code
but my cookies is not clear in safari
directly go to permission page
not login page
@D hello
NSHTTPCookieStorage
then use D's way
with your method to
    NSHTTPCookie *cookie;
    NSHTTPCookieStorage *storage = [NSHTTPCookieStorage sharedHTTPCookieStorage];
i have already use yar
please check my code in my link
@jorik:- i think in one of my answers that i have pasted for you have the answer on how to clear login from safari browser as well may be you need to go through those links
ok
11:34
@jorik:- this answer should work i found this answer on most links so try to follow every steps mentioned in this answer
0
A: Unable To Logout of Facebook using Socialize SDK

madLokeshI solved it: 1.In the advance settings of the app on facebook, i enabled native/desktop app 2.Disabled SSO in basic settings 3.Added de-auth callback url in advance settings 4.Added the following piece of code: NSHTTPCookie *cookie; NSHTTPCookieStorage *storage = [NSHTTPCookieStorage sha...

@Ranjit I suppose they are using the autosynthesized iVars. I don't know; don't use the template.
ok, So shall i change it to single underscores
If you want, it just looks odd to me.
@Ranjit what does your -managedObjectContext accessor method look like?
just a sec
@Abizern, is it fine
What I'm trying to get you to do is read through that method and understand what it does. Since I don't have all day, I'll just tell you.
You are doing a lot of stuff in your reset method to build the stack up again. But if you look at the accessor you just posted, you can see that it does all those things for you. So, all you need to do, is set the three objects to nil, which you have done, and then by calling self.managedObjectContext when the iVar is nil, the whole stack is lazily loaded for you.
So all that code to build up the stack you have is pointless, because the first call to self.managedObjectContext after _managedObjectContext = nil; does it anyway.
11:49
but we need to remove the previous sqlite file right?
because that was created at first and now we will be creating it again, so the previous one should be removed. Correct me , If I am wrong
Yes. It's the easiest way - but look at the chain of accessors, is that file being created anywhere for you?
yes, it has been created in - (NSPersistentStoreCoordinator *)persistentStoreCoordinator {
}
method
Hi @all
Anyone has idea about Apple private release
12:04
@Abizern, I tried what you said, pastebin.com/0hKMZS6F, but its not working db is not deleted.
@Ranjit You still need to delete the file, first. Where in that stack of calls does it delete the file? It just creates it if it doesn't exist.
just file right, not persistence store?
All I'm saying is look at your original code and look at the code that already exists in your accessors. You don't need to duplicate that stuff.
ok done, I will try what you have said and get back to you in some time.
12:38
5 hours ago, by hahaha
0
Q: How to get 2448 × 3264 size like camera app when capture by AVFoundation in iPhone?

hahahaI setup AV Foundation camera and apply live filter on video buffer something like this tutorial //Session setup code session = [[AVCaptureSession alloc] init]; [session beginConfiguration]; [session setSessionPreset:AVCaptureSessionPresetPhoto]; AVCaptureDevice * videoDevice = [AVCaptureDevi...

@Abizern Any help on this ?
Thanks!
@hahaha
@Abizern hi
@NitinGohel hello help help
13:14
@hahaha Dunno
@SR-71BlackBird Hi.
Thanks for check!
@Abizern @hahaha i m a new in xcode 5
so plz
help me
We're all new in Xcode 5
@Abizern oky.. so i wnat not using storyboard
@Abizern a wnat to use .xib bt i cant't that
Create new empty project. Add new Xib file. Then modify AppDelegate
@SR-71BlackBird
13:24
@hahaha vo bhi kiya
English please !
@SR-71BlackBird Why don't you want to use Storyboards?
LoginViewController *loginController;

sleep(0.1);
loginController = [[LoginViewController alloc] initWithNibName:@"LoginViewController" bundle:nil];
self.navigationController = [[UINavigationController alloc] initWithRootViewController:loginController];
[self.window addSubview:[self.navigationController view]];

[self.window makeKeyAndVisible];
@Abizern as per my choice dear
sleep(0.1) on the main thread? You heathen.
@SR-71BlackBird You know what they say - you make your choices and you live with them. Good luck.
@Abizern no that's a for time for splashscreen
13:26
splashScreen? You heathen.
@Abizern oppps
hi @Abizern, I tried this pastebin.com/0hKMZS6F and it worked. Please check
self.window.rootViewController = self.navigationController;
@Abizern how to create a view without storyboard
@SR-71BlackBird
I've answer, try
13:28
@hahaha oh.. thank x dude
that;s done
@Ranjit If you want a code review codereview.stackexchange.com
@SR-71BlackBird UIView *view = [[UIView alloc] initWithFrame:CGRectZero];
30
Q: Xcode 5 without Storyboard and ARC

PJRi have downloaded new xcode-5 and just started using it. We can creates application directly including storyboard and ARC , it is not asking for option like earlier versions. So, my question is how can we use xcode5 without ARC and storyboard. we have to manually remove storyboard file ? or is ...

Other way is delete storyboard and delete storyboard key in plist
Uncheck autolayout , then you can use autoresizemask. Work OK from iOS5 to iOS7
@Abizern, I just meant, is that what you suggested.
Byieie Friends Gn :) @ Abizern @NitinGohel, @Anjan, @Nirav, @Leena,
@hahaha hello sir.. can me say plz what the view size of the for ios 6 and 7 ?
13:34
@Ranjit How do your other view controllers get a reference to the new managed Object context.
@Abizern hello sir.. can me say plz what the view size of the for ios 6 and 7 ?
Which view size?
@hahaha iphone view size
I pass it from my rootViewController whenever I open otherViewControllers @Abizern
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
This line of code tell that your window size equal screen size
13:36
@hahaha iphone size for ios 6 and ios 7
It's size of iPhone device, not iOS version
Search size of iPhone yourself
@Ranjit What about the ones that have already been created?
@SR-71BlackBird Please don't call me sir.
@Abizern oky
no worries
@Abizern, I didnt thought about this.
@Ranjit here's a hint - It's a good thing that you are sending a notification when resetting your core data store.
But if you are using threaded core data, that hint won't work.
But - If you are using threaded core data then there are other ways to do what you want to do. You need to ask yourself why you are actually resetting the entire core data store in the first place.
But I can't remember if I've already gone through all of this with your or not.
13:46
Firstly, I am sorry, I dont know what a threaded coreData means. Secondly according to your hint, I understand that you want me to send notification in very ViewControllers and called perform fetch. Thirdly, I am resetting entire coreData because I want to give user an option to "reset the app" which means all his data will be deleted at once.
@Abizern, what you have to say

« first day (434 days earlier)      last day (2506 days later) »