« first day (735 days earlier)      last day (1421 days later) » 
00:00 - 14:0014:00 - 23:00

2:00 PM
thanks rage
 
and all SDKs as well
no worries mate
 
Actually you can download iOS 7.0 simulator.
Supposedly.
But I am going to sleep.
Goodnight northern hemisphere people.
 
good night
I really want to move to the southern hemisphere
 
Rage, I know what you have mentioned, these all work properly when you create different instances of NSURLConnection and make call, so when the delegate function is called, I know which connection it is. But now here it is an array of NSULRConnection, So now how we can know which connection it is .
 
I don't get it, you know which instance it is, but you still don't know which instance it is?
what do you need? the index in the array? [m_dataPushArray indexOfObject:connection]
 
2:05 PM
no I need connection right? so that I fetch the response into a dict
 
but it's there
 
it is inside an array
 
what does that matter?
NSURLConnection or the delegate callback have no notion of the array
create a dictionary where the connection is the key and the m_responseData is the value
then you can make sure you use the data for the specific connection
 
can you look at my SO question,
 
I have
 
2:08 PM
0
Q: handling response with NSURLConnection

RanjitI have created an array of NSURLConnections, as I am running through a for loop and creating multiple NSURLConnections. Here is my code for(int i = 0; i <count; i++) { NSData *jsonData = [NSJSONSerialization dataWithJSONObject:finalJson options:NSJSONWritingPrettyPrinted error:&error]; ...

ok
 
{
pf
 
sorry, I didnt get this?
 
{
connection1 = {
responseData = data
responseCode = int
responseJson = string
}
connection2 = {
responseData = data
responseCode = int
responseJson = string
}
}
get my drift?
store them in a dictionary not an array, then in the delegate methods you can store your data to the relevant connection
[myConnectionsDictionary[connection]['responseData'] appendData:data]
like that
if I understand correctly what you're struggling with
 
but responseData we will get in delegeate functions, right
 
yep
 
2:17 PM
but you say that we need to create the dictionary with responsedata and connection when making a request?
 
you could, couldn't you?
but that doesn't mean you need to create the 'responseData' object within at the same time
 
yes, I can
ok got it
 
finally :)
 
it's a miracle!
 
hold on guys
:)
 
2:20 PM
what?
 
nothing, thanks, I will implement, if I have any doubts, I will ping you :) thanks
 
don't ping
 
then
how can I let you know
 
you can't :)
that's the beauty of it
 
ok
 
2:36 PM
@rage haha :D
How is your Swift today, Mr Rage?
 
not much better than a few weeks ago
how's yours?
 
Getting better.
Finding it very enjoyable learning something new.
 
because you just knew EVERYTHING in objective-c :)
 
Perhaps not everything ;]
 
I just don't have the time to properly do Swift yet
 
2:41 PM
Still a little confused by optionals but practice makes perfect.
I hear that.
 
I did a little pilot project, but that's really it
 
I started a new project to give me room to learn
Just need to find more time to tinker
 
my current day job takes 12 hours a day with the commute
 
Eeeep!
 
and I'm properly knackered by the time I get home
 
2:42 PM
where are you commuting to?
You're based in Nodnol, right?
 
from Lewisham to Kingston-upon-Thames
 
Hull?
'Ull?
 
takes two trains and about 1h20m
 
I usually sleep on the train home - takes 2h10m from Sheffield to Bridlington
 
I get up at 6 and I may be home by half 6pm
jeez
your's isn't any easier then
 
2:43 PM
I only do that on a weekend though
 
right
 
I stay in Sheffield Mon-Frud
I stay in Sheffield Mon-Fri
Frud? lol
 
I'm thinking of the glorious WFH contract days
those were bliss
I've given up contracting for a perm position that pays half
but it's a huge responsibility with the title to match
when I mean title, it isn't like the Earl of Kingston, but Head of Mobile
 
haha
You beat me to that one
I was going to suggest Squire
 
:)
but to be honest I'm absolutely knackered
drained empty
Atm I'd rather do a 6 months rolling contract at some bank in the city
simple, easy and pays a fortune
with a 40 min commute tops
Sheffield is still better then Sellafield though
 
2:51 PM
You said Lewisham to Kingston-upon-Thames
 
yep
 
Isn't that like, 20miles apart?
 
it's not the miles mate, it's the time it takes
 
Exactly!
That's mental.
 
have to first go to Waterloo
then change
 
2:52 PM
That's batshit crazy.
I'm guessing you don't own a motor?
 
I could
I have the sort of money
I could just probably get one
but peak time driving in London?
 
wow.
Google maps shows it as a 1h 20m commute
 
because it is
 
for 15miles
0.o
 
we are looking into moving to Surbiton though
not easy to find a decent house to rent
brits are shit at construction
when it comes to residential houses
 
2:55 PM
Brits are shit at most things ;]
 
I tried looking for more expensive rentals, but you just get more rooms in the same shit house
 
Complaining. That's where we excel.
 
nah, brits are not even the best at that
 
If I upload a App to the App Store that only is visible properly on 4inch screen and not on 3.5 will it get rejected?
 
rage as you had said create a dictionary with value as responseData and key as connection, but NSMutableDict doent except connection as key
 
2:57 PM
any object can be key
what's the error?
ah
I'm mixing swift with obj-c now?
 
Incompatible pointer types sending 'NSURLConnection *' to parameter of type 'NSString
 
@eddwinpaz that depends on the target os version
 
ios 7.1
 
but yes, iPhone 4 still supported
 
@eddwinpaz Most likely. Yes.
 
2:58 PM
yes Ranjit, sorry, that's not allowed in Obj-C :)
 
then how we can do
 
but you can work around this problem now
you do get the idea
 
Because I'm having trouble with a keyboard appearance I have an app with chatting features and looks bad on 3.5
 
fix it then
it should still work nicely on iPhone4
 
yeah, I got the idea, but dict is not the solution then what?
rage can we make request as the key?
 
3:02 PM
nope
strings can be keys
 
request is String right
 
nope
request is NSURLRequest
 
oh yes sorry
 
3:21 PM
is it possible to run the app on my phone as a 3.5 inch?
and then switch it back to 4 inch and debug
????
instead of using simulator
 
3:41 PM
Autolayout still messing with me this morning
UIScrollView won't display subviews unless I don't use auto layout.
This is so stupid
Autolayout doesn't work in UIScrollView it looks like, at least in the keyboard
🔫🔫🔫🔫🔫🔫🔫🔫
 
4:13 PM
Even documentation says it should work
Even Apples code doesn't even work.
 
 
2 hours later…
5:55 PM
wake up @SaadChaudhry
 
UP bauauauaa
@MichaelDautermann Whats up Michael
 
6:13 PM
you are awake!
I can't believe it
what a shock
 
6:30 PM
how to distribute iPhone app without having developer account
 
good evening to you too!
 
you have to get one!
 
I want to distribute it for testing
I mean I didn't join any developer program
I have a developer account
but it is not showing option of certificate andidentifire
and identifier
*
 
@ashutiwari4 which account you have the developers account!
if you have one make a provisioning profile and done!
make .ipa and test!
 
But my developer account is not showing option for making a provisioning profile
 
6:36 PM
that's because you don't own your developer account....
you got it through your work or your client
 
saad if you have skype I can share my screen
 
and that person is the "team agent"
 
no no it's my account
 
advance help :P
 
this is image of my account
:D
 
6:39 PM
and when you log in via developer.apple.com/ios
do you see "Certificates, Identifier & Profiles" in the top right
under the "iOS Developer Program" heading?
 
it is asking $99 for join
 
okay... then you can't distribute.
 
c'mon there must be a way
 
you can create apps via Xcode, but in order to distribute them in any way, you need to be able to code sign...
and to do that, you need to pay.
 
no way
 
6:43 PM
you don't believe me? ask it on Stack Overflow then.
 
you have to pay!
 
for testing only
 
I will ans there and make some reputation
borrow a profile from some friend
 
:D
ok I will ask there and let you make reputation I will accept your ans ..... will you lend me your account :D
 
good joke :D
 
6:47 PM
anyways how can I install ipa file in iPhone without profiling
 
how can you install an ipa on an iPhone without having added it to a provisioning profile?
 
I have my clients UDID can't I make a local provisioning profile some how
using this UDID
 
i'm awake @Michael
 
what took you so long?
 
I installed mac on windows, learn to develop an iOS app, and made an app and this is fuck that I can't test it without paying
 
6:53 PM
I like the way you think. "wahhh... even though I want to make money from programming iOS apps, I should be able to code sign & distribute apps for free"
okay... do Android apps then.
 
@MichaelDautermann have we met?
 
have you met ted :D
 
ahahahaha
haaaaave you met ted
 
7:22 PM
0
Q: resize outlets based on UIScreen size for 3.5 and 4 inch

eddwinpazCurrently I've a Chat application that behaves ugly on 3.5 inc screen this is because I set it all up for 4 inch screen from start. the issue is that I fixed the issues going on with 3.5 inches using the following code: if (isiPhone5) { NSLog(@"is iPhone 5"); textAlter = 34; messag...

 
autolayout
unless you have a scroll view, then you are out of luck
 
8:10 PM
1 message moved to Trash
13 hours ago, by Maximilian
iOS 8 is doomed, Apple don't release it please
@Maximilian : Why yuou say this Max, whats wrong?
 
8:31 PM
so many issues for me
Circled latin capital letter M is wrong now, auto layout in UIScrollView is completely broken, Xcode printing errors for some auto layout code that i know is 100% correct
Keyboards have to be reset all the time
resizable cells are broken and unpredictable
standard UITableView cells are not correctly resizing
UITableView separator insets do not change
Its all buggy! This is beta 5 and the next is GM
the keyboards new rules suck, has to be a utility app and you have to include a privacy policy. IDK how to make one, I don't collect anything or do anything shady in my keyboard
 
8:52 PM
Anyone have any ideas on the best route to take with fixing the centre point of mkmapview on zoom?
0
Q: Is there a way to fix the centre point of a MKMapView, specifically when the user is changing the zoom level?

bclI'm trying to have a map view centre on one point so the user can smoothly zoom in and out but remain centred on that point. I've a less than optimal solution by centring the map when regionDidChangeAnimated is called, plus a flag to stop the code looping infinitely... -(void)mapView:(MKMapView...

similar to uber/lyft
@Maximilian I have a fix for separator insets if you need
 
na, Apple needs to fix
 
Yeah
 
and then deleting characters on custom keyboards is totally strange
Cant get current location of carrot as far as i know so dont see how i can figure out how many characters i delete
well I guess i can, use the length of the back string. That is stupid
 
9:43 PM
whitespace and new line character set search backwards gives a random number for a range
IF its the fist word
 
9:54 PM
What are you making @Maximilian?
 
10:13 PM
a keyboard
almost done with portrait mode, seems to lay out correctly
Have to fix shift detection, pretty easy. and deleting works now fine just need to increase speed too
 
00:00 - 14:0014:00 - 23:00

« first day (735 days earlier)      last day (1421 days later) »