« first day (802 days earlier)      last day (2138 days later) » 

4:10 AM
gm all
 
GM to @all
 
@DhavalBhadania
 
@PradhyumanSinhChavda VGm bhai
 
4:30 AM
gm all
 
4:43 AM
good morning to all
 
GM to all
 
gm
 
5:03 AM
GM All
 
gud mrng @Mits Bhadeshiya
 
V GM @pooja_1205
 
i hv an array of nsdictionary
that array i want to add inanother dictionary
 
gud morning all
 
NSMutableDictionary *dictArray=[[NSMutableDictionary alloc]init];
[dictArray setObject:yourarray forKey:@"array"];
try this @pooja_1205
 
5:18 AM
you can easily find this on google @pooja_1205
 
@NitinGohel hello
I want to arrow animation in popUp view
this is my first button image.
when i click on second button
then.
 
0
A: Does UIImagePicker Controller has access to all functionalities in IOS 7/IOS 8 camera app?

hmdeepNo, you can't do it with UIImagePickerController. UIImagePickerController, it has not such kind of functionalities except crop facility. You can use BradLarson's GPUImageView framework, with that you can do what you want.

 
only arrow is animated of this popup and go arrow at middle with animation.
 
good morning @NitinGohel
@santhosh UIImagepicker does n't provide such functionalities create your own custom editing screen
check out CoreImageframework for image editing
 
@Leena Gm
@KiritModi dont know
 
5:28 AM
@NitinGohel gud morning sir
 
@all goodmorning
@NitinGohel gm sirji
 
@Rinku gm too sir
 
@NitinGohel how are you?
 
@harish me fine thank you
 
@NitinGohel getting issue in setting constraint in auto layout yaar
 
5:33 AM
dont know about autolayout
sorry i can not help on this
 
@NitinGohel is that any one who can help me out
?
:)
 
used size class
 
by using the auto lay
out
 
5:35 AM
and i think you need to only left and right size 20 px setting
 
this screen only 1st time
 
then that is load xib issue i think that load wrong xib or storyboard for ipad
 
but when i rotate this device it get corret
ok
how to correct this
 
@harish @NitinGohel HI gud morning...
 
@Dips gm
 
5:39 AM
gm
 
gm @Dips
 
If I make ipa with xcode 6. Is it possible to install that ipa to iphone 4 , ios 7 ?
 
that depend on your deplyment target
xcode is not a metter
 
target 7.0
 
then ok to install
 
5:43 AM
ok thatks @NitinGohel
 
@NitinGohel any idea sirji
 
@harish no bhai
 
any one can help me on this
 
6:27 AM
@rkmakwana Hey bro! Sorry i was out of my mac. Any how thanks for your help.
@NitinGohel Hi. There?
 
posted on October 20, 2014 by Johann

    Featured iPhone Development Resources,News     Featured iPhone Development Resources,News Welcome back to our feature of the most popular new and updated iOS developer resources mentioned on the site from the last two weeks. The top resource this week is a project bootstrap  making a great starting point for your Xcode projects with many useful f

 
6:54 AM
@NitinGohel see pastie.org/9662337
i want to stop animation but they not stop properly
 
7:15 AM
try to stop animation using main thread@VARUNSINGHAL
 
 
1 hour later…
8:34 AM
@NitinGohel hi
i am facing an crash issue with dismiss model view controller in ios 8 only?
 
what is the crash log saying
 
@Leena hi
-[CSPhoneHomeViewController respondsToSelector:]: message sent to deallocated instance
i am using story board
 
add the exception break point
it will show you exact line where it crashes
 
i added not getting exact any message
have you facing any issue with ios8 like same?
 
nope
i haven't faced any issue like tht in ios8
 
8:42 AM
have try the model view with ios 8
 
this is not something issue related to 8
 
so why it's working with ios7
 
the message says you are doing something with deallocated object
 
same thing working fine in ios7
 
apple might have changed something in OS
which we dnt know
 
9:32 AM
do you try to dismiss a UIActionSheet on simulator maybe?
 
@Leen
@Leena
 
just fire ur query pooja
 
yes pooja
 
SKT
i m loading images through lazy loading into collectionview but when i scroll then images are displayed .. collectionview is not reloading using reload ? @Leena
 
are you sure?
keep breakpoint on numberofRows
 
SKT
9:47 AM
i di
did it
but it fires when i scrolld down collectionview
@Leena
 
cell for row will be called when cell is going to appear
and number of rows will be called very first time
and now check your code from where reload is getting called again and again
 
10:02 AM
@Leena
i hv this response
in an array
 
hey everyone,
i need only one button to be selected in the uitableviewcell
 
explain more @iCodeAtApple
 
sure @AnilPrasad
 
@Leena
 
if you could please view this @AnilPrasad
 
10:10 AM
i hv to show each start date in calendar
 
the problem is i am able to select and deselect the buttons but only one button should be on at a time...(or rather only one button should change its color)
@AnilPrasad
 
okey
 
@pooja_1205 can you elaborate more in which calendar you want to show
 
i m using ckcalendar
on didselectdate
i m adding some event for that date
and sending it to server
 
@iCodeAtApple simple save the indexpath of cell when you select any button when next time you tap on button verify with the previous indexpath is it same or different if its different then deselect the button in the cell having previous indexpath
 
10:16 AM
in response i m getting pastebin.com/qUrJtmx9
now i hv to show that event date in the calendar with different cell color
 
pastebin.com/RAarNn6u try this @iCodeAtApple
 
@Leena
 
btw, you code is looking right
 
@Leena : i was looking to get the index path for cell and compare with the index path of button (button.tag)...but i am not getting any relevant links...
@AnilPrasad : Not working dude :(
its the same ...still
 
wait some time
 
10:21 AM
sure !! will
 
@Leena
 
for that pooja i need to go through the library which will take time
just check any method that gives you option to highligh the date
 
i tried this...still not working...may be I'm mission something silly
@Leena, @AnilPrasad
 
10:37 AM
@Leena i tried those links but they dnt fulfill my requirements
 
10:57 AM
@AnilPrasad ?
 
@iCodeAtApple what need of indexPath maam
?
(UIButton*)sender this alread have sender as a button what need of UIButton *btn=(UIButton *)sender;
 
leena suggested me that
if i did get her wrong
 
and set button tag from cellforrow index
 
i told her to keep track of button that was previously selected
:P
 
and so you get the button tag like sender.tag
no need it
other stuff
only this is enough
 
11:00 AM
i tried htis
 
btn.tag = indexPath.row;
 
yeah what you have specified is working perfect..
 
put this befor set target
sender.selected=!sender.selected;
keep traking
 
but i can select or rather change the colour of all the buttons ...one needs to be changed at a time
 
i think that issue when scroll?
button state change?
 
11:02 AM
no no ...as of now no scrolling issue
 
then that have to work
 
its simple like i need to change the image of the button to on...and only one button can be on at a time in the table view
 
yes that same i done with this code
 
SKT
how to reload collectionview with new data .. reloaddata not working its woking when i scrolldown collectionview ?
 
and what an issue you got with this code what happen with this code
 
11:04 AM
this should be the final code right ?
 
0
Q: Reload collection view with new data

ShawnHow would I reload new data, say an array of names (strings), without re initializing the collection view with data? I know of [uiCollectionView reloadData], but I wanted to changed the array of information associated with the collection view.

@iCodeAtApple yes
 
here i need to click only one button at a time...
if i click a button from first cell then the button in the first cell should be yellow or only that should change its colour...
now if i click button from second cell, then the button in the second cell should be yellow or only that should change its colour..and the button in the first cell and rest of the cells should be red only
 
:D
 
i'm making a parser for the xliff generated by xcode and I need to know how the xliff looks when the strings contains trailing / leading whitespaces or consecutive whitespaces inside.
 
wow
 
11:07 AM
i told you nitinva
 
sorry...lol...i know i am not making any sense :D
but how do i explain you :)
 
@MarvinSaldinger u mean you want to determind if string contain whitespace befor and after string?
 
only one button should be "ON" at a time...
 
@iCodeAtApple follow @Leena's suggestion
 
i hope this is understandable (:P :))
yeah but how do i do it..
 
11:11 AM
I need to know how xcode generates the xliff file when the string contains multiple consecutive whitespaces. you know xml has a property for preserving whitespaces (xml:space = "preserve")
 
4
Q: Deselect all UIButtons when one is selected

John SnurrI'm going to try to explain this the best that I can, so bare with me. I have eight (8) UIButtons setup in my game. When one is selected it shows that it is selected and if you click it again it will show as unselected. However, I want to make it so that when you select a button and any of the ot...

 
in xml if you don't use that property, the multiple consecutive whitespaces are ignored
and also the trailing and heading whitespaces
 
dont know about xliff but when i need to determine if string contain whitespace i used :
NSCharacterSet *whitespace = [NSCharacterSet whitespaceAndNewlineCharacterSet];
yourstring [yourstring stringByTrimmingCharactersInSet:whitespace];
NSLog("String without white space = %@",yourstring);
 
xcode6 now generates a xliff file which handles localization
xcode6 exports the strings to xliff and imports translations from a xliff file and generates the .strings file
 
11:44 AM
Hello all
I need help regarding the bluetooth integration
@NitinGohel : have you integrated the bluetooth in app
 
NO sir
 
@Leena : Hi ma'am whats up ;-) . Have you integrated the Bluetooth
nitin you know how to convert 16 bit (from 1 byte data).
 
a bit of R&D i have done on bluetooth
 
const uint8_t *reportData = [data bytes];
NSString *weightValue1 = CFSwapInt16LittleToHost(*(uint16_t *)(&reportData1[1]));
means i have got an issue when data increases to 16 bit means (00000000 11111111) to (00000001 11111111) then problem occurs
@Leena @NitinGohel
 
which framework you are using
 
11:56 AM
CoreBluetooth
I am using weight measurement device
 
i havn't worked with core bluetooth
 
hi all
hello @NitinGohel
 
everything is working fine when weight increase to 384 then problem occurs
I know leen ma'am but bluetooth is working fine problem is in conversion
 
12:08 PM
any xcode6 users?
 
Yes @MarvinSaldinger
 
I need to know how xcode generates the xliff file when the string contains multiple consecutive whitespaces. (xml has a property for preserving whitespaces xml:space = "preserve". by default it ignores them)
I'm creating a parser for the xliff generated by xcode (for localization)
And I need to know how it handles this situation.
And trailing and heading whitespaces...
 
Oops! No idea dude :(
 
@NitinGohel already been there. doesnt help.
 
SKT
12:50 PM
hi @NitinGohel
 
hello
 
SKT
having problm to update collectionview with downloaded images
initially collection view doesnot show iamges which i get from service when i scroll down it shows
ok
 
@NitinGohel
 
@NitinGohel Sir Happy Diwali :P
Isi baat pe ek issue hai
Opentok kiya hai ?
 
Nope
hahah happy dewali too
@pooja_1205 yes sister
 
1:10 PM
@NitinGohel need ur help
 
i trying sir
 
i m loading images in tableview cell with lazy loading. Requirement is image size varies for different image. the height should be as per the image size. I reload the cell after the image loading complete
but it crash
 
@NitinGohel i m stuck up in calendar part from last 3 days
 
@pooja_1205 :(
 
plz help me in that
 
1:13 PM
@Rinku you meen your table cell hight must be as par image?
@pooja_1205 what is the flow
?
 
right
 
in to the hightforCell delegat you have to get each image hight
and accarding to this hight you need to set your imageview height
and return there is cgsize of your cell height
 
i hv a calendar> on click of any date> i m navigating to create event page and hitting the server
 
humm
 
now i hv all the event dates in an array
 
1:15 PM
fron json responce
?
 
on those dates i want to add a small image on the calendar date cell
yes json response
 
you have all calander date cell object
you can add image to any ?
in to calander date
 
for example if you have 5 then you can able to add image on 5th date image
sorry i can not download right now
 
1:17 PM
of source code bcz of heavy workload i just want to know the logic from you side
are you able to add image in to this calander particular date?
i think
configureDateItem
this might be help
you can configur how much and which date you get from json
 
and with this number of date in to cal you have to set it bg color
you can set image as a bgcolor with pattern image
 
wait i ll send u my code
 
will see tomorrow if i get time
 
Hi Nitin
 
sorry for right now
 
ok no problm
but plz do check it 2mrw
 
Hey guys
 
@Roopa hello
@pooja_1205 what an issue with this code
 
if([myDateObj
compare:self.date]==NSOrderedSame)
 
1:22 PM
can we detect if an url of an image is correct or it has a 404 error
 
i m using this to compare the date
 
check with string object
 
if so how
 
and then add different color to cell
 
isEqultostring
with convert string object of you responce
@Roopa means
if there is image available that load else not load
 
1:23 PM
i have an image which i get through a service in the form of an url
on hitting the url in external browser i get 404 error
 
2
Q: Check if url is an image

user3423384I have following code: NSDataDetector* detector = [NSDataDetector dataDetectorWithTypes:NSTextCheckingTypeLink error:nil]; NSArray* matches = [detector matchesInString:[[imagesArray valueForKey:@"content"] objectAtIndex:indexPath.row] options:0 range:NSMakeRange(0, [[[imagesArray valueForKey:@"c...

basiculy if there is an image then you sure get from url
else you can load your placeholder image
user sdwebimage
 
i tried that also
 
or afn for loading image smoothly from url
 
but it always goes in els part
date object is cuming nil
 
then that issue with convert data object
in to string
invalide data formate you used when you convertit
so you get date as a null
 
1:26 PM
ok
lets plz continue 2mrw
i hv to leave now
bbye
c u 2mrw
 
1:58 PM
@NitinGohel @Leena how can i verify that i am using the controller which is already initialized via storyboard?
my scenario: i have a UICollectionView with custom datasource. In this datasource class i am calling "loadData" in its init method. i want to loadData in viewDidAppear. when i am doing that, my collectionview does not display any data, because it is a nother UICollectionView i guess.
 
 
5 hours later…
7:02 PM
posted on October 20, 2014

Starting February 1, 2015, new iOS apps uploaded to the App Store must include 64-bit support and be built with the iOS 8 SDK, included in Xcode 6 or later. To enable 64-bit in your project, we recommend using the default Xcode build setting of “Standard architectures” to build a single binary with both 32-bit and 64-bit code.

 

« first day (802 days earlier)      last day (2138 days later) »