« first day (414 days earlier)      last day (1889 days later) » 

Sam
Sam
20:01
I mean you need to add control points or a curve to make it not straight
@Sam oh, I only wanted a straight line :)
Sam
Sam
@Byte oh then you're good :)
which is why I ask if you have a better suggestion for drawing the path that is cheaper?
Sam
Sam
Nah UIBezierPath is cheap, it's just a wrapper around and CGMutablePathRef
basically I think the shadow will only cast when there are 3 or more points to actually get a shape instead of just a line.
@Sam oh good
what was that command where you stop the drawing to go out of your bound?
Sam
Sam
20:04
maskToBounds?
Hang on let me whip something up for you
haha, not sure let me try it out
I remember you mentioning something about it the other day
(right now it is a disaster, the shadow leaks everywhere)
ahh this --> clipsToBounds (i think)
yep, that was it :)
that is what it looks like now
Sam
Sam
What's wrong with that?
oh nothing, it looks great
I just got done making what I wanted :)
Sam
Sam
Awesome
the only thing that is wrong is.. it is storming outside and I have a movie date :(
just canceled it
@Sam pastebin.com/0ggsUxjR here is what I ended up with. Which might be cheaper than actually having UIView, then again, I don't know :(
using bezier curve to 4 points off screen (to get nice even shadow in-screen).
Sam
Sam
20:19
@Byte looks good. I would change radius to a CGFloat
oh !
Sam
Sam
Also the convenience functions on BezierPath are awesome: developer.apple.com/library/ios/#documentation/uikit/reference/…
the thing didnt complain so I left it as int :)
Sam
Sam
Yeah pretty minor
lol, I should have done that instead the bezierWithRect
Sam
Sam
20:20
You can probably use bezierPathWithRoundedRect:cornerRadius:
good to know, changing code now.
Sam
Sam
yeah, always look at the apple docs first :)
bah, Apple doc is the last place I go :)
Most of them just confuse me more and then left me to rot
even the color schemes for apple docs suck
android docs look alot nicer
Sam
Sam
20:38
lol not touching that one
lol
you know what? blackberry doc is great!
@Sam hi. i was trying to implement your suggestion. How can i save email data on phone in case of msg not being sent and send it later?
 
1 hour later…
22:11
posted on May 23, 2012 by John

Air/Flash development for the iOS platform is a topic that I haven’t written about much on this site. In the early days performance was poor, but things have definitely come a long way, and I’ve had a couple of requests for content related to iOS development using Adobe Air. Today I came across two sets [...]

22:40
@JackLawrence The UK version is hilarious. That the people on it can cross the road without a business plan is amazing to me.
@Abizern you there?
@mann Yep.
kinda noob question but in a uiview subclass, where do i release everything. i can release in the first part and it loads but like if its a button then it crashes of course, but then i would think its lots of memory issues?
@Abizern so what you reckon how should i resolve that email thingy?
@Abizern i was wondering there will be situation where app could not send confirmation email. Then it simple display msg. this is what i am doing but why apple says your app does not support your core functionality- we could not confirm currency confirmatiion
@mann Save the data and send it later. Or use the provided mail mechanisms. Or use a server connection to transmit details.
@mann if the email needs to go through to complete the transaction and it doesn't get sent then your app isn't performing it's core functionality. But it's just a guess. I don't know what your app does or how it does it.
22:51
@Abizern ok if i use server connection to transmit details then even i need to connect to server through network. if there is problem and i could not connect to network then what should i display? then apple wont mind that
@Abizern in above condition i have to give feedback to user. then what should be that feedback? that will be the same situation
@Abizern hi... can you look at a SO question for me? stackoverflow.com/questions/10728935/…
@Abizern my application reserve currency and sends email to client regarding their confirmation of booking
I think it's the finality of the message that is causing you the problem. You're not offering to save the details and send it later - your app just fails ungracefully.
@Abizern ok so shall i save it and when shall i try it to send again?
New to iOS, having trouble with this posted question: stackoverflow.com/questions/10174601
22:57
@Abizern ok another situation. if i send details to server and sends email from there will that be ok?
@mann You could try and wait until there is a network connection. But you still don't know why message sending failed for the reviewers. Until you fix that - you can't be sure.
@mann You're asking me questions as if I'm an app reviewer. I don't know.
@Abizern yah but in that situation i just restrict user to send anything if network fails. it is showing this message because there is network. So i need to get what situation causes tester to fail it.
@Abizern yah i understand :)
@mann Which is why we have been telling you to put the actual error in the message so you can see what caused the failure.
So when you get a screenshot from the reviewers you know why they couldn't send an email.
@Abizern yah now i put actual error. in my submitted app as well. i nslog error message. so just asked apple to send me error log
@Abizern one more thing. just for information. if i send data to server and server sends email. And again if app could not send data to server then what should it do in that case? if you were me then how you tackel it
@Abizern - your comments and suggestions on my posted question would be greatly appreciated. Thanks in advance.
23:06
@mann You can either talk to the the server or not. If not, you try again later when there is a network connection. If the messages to the server are not getting through, then it's up to your app to make sure that the messages are properly formed. I don't know what else to tell you. It works - or you find what makes it fail and you fix it.
@Abizern yes understood. Thanks for your suggestion. #i will check what apple says then try to modify it . #thanks
@spokanedude Are you adding the table view cells to the view directly, or to a tableViewController's view?
@Unsure1 Sorry - that's quite a long question and it's quite late here. (just being honest)
@Abizern gud night mate!!! :)
@Abizern - ok thanks.

« first day (414 days earlier)      last day (1889 days later) »