|
Is it typical for the beta iOS releases to drain the battery like mad? My phone has been sucked dry over the last few days.
|
# ? Jun 14, 2012 18:50 |
|
|
# ? May 16, 2024 23:03 |
|
I don't know about typical but it's certainly not uncommon.
|
# ? Jun 14, 2012 19:50 |
|
lord funk posted:Is it typical for the beta iOS releases to drain the battery like mad? My phone has been sucked dry over the last few days. I've been wondering if it's just the network overload around WWDC and the terrible reception in Sausalido, or iOS6 is just hogging right now. Definitely experiencing quick battery drain.
|
# ? Jun 14, 2012 23:32 |
|
Are both debuggers totally broken and useless for everyone else in 4.3.3, or are my company's machines just haunted? GDB randomly turns off breakpoints at its own convenience. LLDB still won't print anything but "id is ambiguous" in the console. That and the total lack of retain/release statements in the allocations instrument is making me really hate Apple this week.
|
# ? Jun 15, 2012 04:33 |
|
Yeah they're both a bit weird in 4.3. It's not just you. Also, whenever I see "ManicJason" I read it as "manic JSON" and try to imagine what that notation would look like.
|
# ? Jun 15, 2012 04:44 |
|
Imagine working in a shop that uses JSON for absolutely everything and being named Jason. I pretend I work with a bunch of robots that talk about people right behind their backs. "JAY SON MAKES THINGS MUCH EASIER"
|
# ? Jun 15, 2012 04:47 |
|
ultramiraculous posted:I've been wondering if it's just the network overload around WWDC and the terrible reception in Sausalido, or iOS6 is just hogging right now. Definitely experiencing quick battery drain. Yeah my fully charged phone didn't make it through the night. Guess I'll have to plug it in constantly for the next few months... In code related news, I imagine the audio app community is going to explode over the new inter-application audio bus thing. If I have time I hope I can figure it out before the flood of emails starts pouring in.
|
# ? Jun 15, 2012 15:45 |
|
ManicJason posted:That and the total lack of retain/release statements in the allocations instrument is making me really hate Apple this week. Allocations is specifically designed to capture the lifetimes of objects, not their entire history. If you want that history, you should be using the Leaks instrument, which AFAICT gives you exactly the same ability to browse allocations but also captures the retain/release history of the object.
|
# ? Jun 15, 2012 19:42 |
|
Alright, I've got a few minor questions: Have any of you played with the new maps, and what are its messages like in relation to the current Maps? Is it difficult to switch maps if I'm using annotations? (Or actually, I guess this might be under the developer preview NDA so maybe I should just go see for myself.) And for some reason, when the navigation controller pushes a new viewController that has a button on the right side, I guess this button gets animated or something but it does this while animating the animation: I'm using a custom segue that is doing the "crossfade" animation. It pops there for like a split second and then is fine once the view is loaded, but I'm wondering if anyone else has run into that and managed to figure out what is causing it.
|
# ? Jun 16, 2012 06:48 |
|
So, this has likely been mentioned in here before, but someone introduced me to http://www.rubymotion.com/ today. It's ios in ruby. As someone with a passing familiarity with ruby, and a passing familiarity with ios development, and a dislike for obj-c, it looks pretty attractive. Anyone here used it? I guess it's $40 for an education license, can't publish but isn't really too much so I might give it a shot.
|
# ? Jun 16, 2012 06:59 |
|
Ronald Raiden posted:So, this has likely been mentioned in here before, but someone introduced me to http://www.rubymotion.com/ today. It's ios in ruby. I've used it. You can even make your apps with IB in Xcode if you want. I love it so much.
|
# ? Jun 16, 2012 08:36 |
|
Our android guy at work had a funny comment about rubymotion: "IOS developers are insufferable enough. Mix in ruby hipsters into that mess just seems cruel."
|
# ? Jun 16, 2012 15:45 |
|
Does anyone else have the issue that you can't import .ics events into the calendar in iOS 6 (from safari, haven't tried from Mail)? I'm trying to test something and the only options I have are Dropbox and Evernote. If the functionality isn't there yet that's fine, just want to make sure I'm not missing something in settings.
|
# ? Jun 16, 2012 17:21 |
|
[oh wait]
klem_johansen fucked around with this message at 21:01 on Jun 17, 2012 |
# ? Jun 17, 2012 20:56 |
|
How long did it take last year for WWDC2011 videos to go up on the developer site?
|
# ? Jun 18, 2012 02:46 |
|
They were up on the 23rd. Keynote was the 6th afaict from a quick Google.
|
# ? Jun 18, 2012 02:52 |
|
Is IOS 6 still penned in to not support the Ipad 1? One of my clients is talking about pulling out of an ipad deployment and waiting on the win8 pads because they are not confident apple will provide long term support if a 2 year old device is losing software updates e: Tried to get some answers from an apple consultant and he had no idea what a "security update" is and kept ranting about something called "airwatch" which is a loving useless answer for me when I want to know if a retired model is going to get vunerability patches. duck monster fucked around with this message at 05:07 on Jun 18, 2012 |
# ? Jun 18, 2012 04:40 |
|
I'm trying to make my app compatible with iOS 4.2 (may be a waste of time) and it seemed pretty easy, but then I had some runtime crashes because the compiler (for some reason) didn't point out that some method signatures didn't exist in 4.2 (even though I picked 4.2 as my build target). For example: [self dismissViewControllerAnimated:YES completion:^{TFLog(@"back to main menu");}]; Results in this error: 2012-06-17 22:37:50.761 MyApp [1993:f803] -[MyView dismissViewControllerAnimated:completion:]: unrecognized selector sent to instance 0x6b9fe30 But this works: [self dismissModalViewControllerAnimated:YES]; Why isn't this caught while compiling? Thanks.
|
# ? Jun 18, 2012 04:41 |
|
Built 4 Cuban Linux posted:I'm trying to make my app compatible with iOS 4.2 (may be a waste of time) and it seemed pretty easy, but then I had some runtime crashes because the compiler (for some reason) didn't point out that some method signatures didn't exist in 4.2 (even though I picked 4.2 as my build target). The short answer is that objective-c doesn't call a method, it does message passing. Message passing is handled / resolved at runtime, not compile time. That said, Xcode could do a much better job than it does now of letting you know what is available in which versions of the sdks.
|
# ? Jun 18, 2012 05:12 |
|
duck monster posted:Is IOS 6 still penned in to not support the Ipad 1? One of my clients is talking about pulling out of an ipad deployment and waiting on the win8 pads because they are not confident apple will provide long term support if a 2 year old device is losing software updates Seems like they're only supporting devices they're still selling. And they aren't selling the iPad 1 anymore. Also, tell them good luck with the Win 8 tablets quote:e: Tried to get some answers from an apple consultant and he had no idea what a "security update" is and kept ranting about something called "airwatch" which is a loving useless answer for me when I want to know if a retired model is going to get vunerability patches. AFAIK Apple doesn't backport iOS security fixes. So no, if a device isn't supported by the latest iOS version then that's it, no more software updates at all. Built 4 Cuban Linux posted:I'm trying to make my app compatible with iOS 4.2 (may be a waste of time) and it seemed pretty easy, but then I had some runtime crashes because the compiler (for some reason) didn't point out that some method signatures didn't exist in 4.2 (even though I picked 4.2 as my build target). What is your deployment target set to? And yeah, it seems like a waste of time supporting 4.2. Maybe support 4.3. I'm dropping pre-5.0 support in my apps. Over 80% of device owners are on iOS 5, according to Apple. The number of iOS 4 users is dwindling by the day, and trying to keep feature parity across OS versions meant (for me) implementing a lot of stuff myself that iOS 5 has built-in (like UIAlertViews with text entry fields in them). I don't want to be one of those developers that only supports the latest iOS version, but as a one-man operation with a limited device budget, I can't keep a crapload of devices with really old iOS versions on them for testing just to support a small minority of users with ever-increasing maintenance costs. edit: also, check your warnings. The Objective-C compiler can't treat an unknown method as an error, because that method might be added at run-time (clang should throw a warning, though). And, as xgalaxy said, an Objective-C method call isn't a function call like C++, it uses message passing instead. Doc Block fucked around with this message at 05:21 on Jun 18, 2012 |
# ? Jun 18, 2012 05:13 |
|
edit: whoops
|
# ? Jun 18, 2012 05:20 |
|
Doc Block posted:Seems like they're only supporting devices they're still selling. And they aren't selling the iPad 1 anymore. Yeah yeah, I know. Try convincing some ridiculous consultant who believes microsoft literally poo poo rainbows of goodness, however. quote:AFAIK Apple doesn't backport iOS security fixes. So no, if a device isn't supported by the latest iOS version then that's it, no more software updates at all. And *that* is a major problem for corporate rollouts who tend to think in terms of 5-10 years rather than 2 years when seeking software support. I guess theres a tax argument that if the effective life of an ipad is 2 years, then applying a super steep depreciation rate to the value of the device has tax benefits, but still, its not necessarily enough to convince them its a not a bad bet. gently caress.
|
# ? Jun 18, 2012 05:27 |
|
It's not like every iPad 1 is going to stop working when iOS 6 comes out, though. Maybe if enough people beg they'll have limited support for the iPad 1 in iOS 6.
|
# ? Jun 18, 2012 05:36 |
|
Doc Block posted:It's not like every iPad 1 is going to stop working when iOS 6 comes out, though. Right, but if a new browser or email (or whatever) exploit emerges (And because of jailbreaking, people are looking *hard* for those) that makes it unsafe to bring an ipad 1 onto the net, it'll render them almost useless for corporate road warriors if they cant get a patch. Thats the core concern.
|
# ? Jun 18, 2012 06:07 |
|
My knowledge of that whole scene is limited, but doesn't most of the jailbreaking work target the latest iOS version? I don't envy people who have to support corporate/enterprise users.
|
# ? Jun 18, 2012 06:24 |
|
I'm bummed that my OG iPad won't get 6, but I'm MORE scared that people will start compiling with 6 as the minimum target without even using 6+ features, cutting out the OG for no good reason. I'm planning on keeping mine, even if I do end up getting a new one.
|
# ? Jun 18, 2012 07:01 |
|
Yea for my game projects I'm not sure what I'll do yet. Adoption of 6 should be just as ubiquitous a 5 except for the iPad 1 deal. The built in Facebook integration alongside Twitter means I can finally trim out a bunch of aging and bloated crap third party libraries. And the game center improvements seem nice.
|
# ? Jun 18, 2012 07:13 |
|
Probably gonna keep my iPad 1 for iOS 5 testing. Hopefully iOS 6 will have as good of an adoption rate as iOS 5 did.
|
# ? Jun 18, 2012 07:46 |
|
I really hope that there is a Siri API in 6, but I doubt it. I "doubted" a Retina MBP, so I don't know what to think.
|
# ? Jun 18, 2012 08:05 |
|
Martytoof posted:I'm bummed that my OG iPad won't get 6, but I'm MORE scared that people will start compiling with 6 as the minimum target without even using 6+ features, cutting out the OG for no good reason. You know you've made it when instead of a stack of magazines in your bathroom you just keep an old iPad in there.
|
# ? Jun 18, 2012 12:47 |
|
Earlier I posted asking about how to get a Quartz 2D drawing into an iOS app and it was ignored, I was told the question was too vague. I managed to figure it out anyways, but I'm having troubles with the next step, which is to add things to the drawing through methods. (in main or another class) So far I have this block for the Quartz 2D drawing: Objective-C code:
Jehde fucked around with this message at 18:58 on Jun 18, 2012 |
# ? Jun 18, 2012 18:55 |
|
Keep the array of coordinates somewhere (maybe an instance variable in the view) and update that array as necessary. In -drawRect:, simply iterate through the array doing whatever drawing you need. Whenever you change the array of coordinates, send -setNeedsDisplay to your view to have it redraw itself.
|
# ? Jun 18, 2012 19:08 |
|
pokeyman posted:Keep the array of coordinates somewhere (maybe an instance variable in the view) and update that array as necessary. In -drawRect:, simply iterate through the array doing whatever drawing you need. That sounds like it'll work, and I'll try implementing it now. But how would I pass the coordinate data into the Quartz drawing to fill the array with?
|
# ? Jun 18, 2012 20:52 |
|
Jehde posted:That sounds like it'll work, and I'll try implementing it now. But how would I pass the coordinate data into the Quartz drawing to fill the array with? NSBezierPath is the basis for all vector drawing in Quartz. You can probably find some combination of its abilities that lets you draw the array how you want. If you mean how do you get the array from the object that loaded it to the view subclass, there are a couple of ways. You could connect the two in the xib file, or have one expose itself with a class method (those are global). haveblue fucked around with this message at 20:56 on Jun 18, 2012 |
# ? Jun 18, 2012 20:54 |
|
duck monster posted:Our android guy at work had a funny comment about rubymotion: "IOS developers are insufferable enough. Mix in ruby hipsters into that mess just seems cruel." I told him that I thought it was an elitist language that made things more difficult than they have to be. He laughed and I got the job. Ruby on Rails is awesome and takes away so many boring errors and setup that I would spend hours trying to troubleshoot. Then I got an iPhone and met objective-c, talk about a loving hipster language. What iOS 3d game engines/libraries would yous guys recommend?
|
# ? Jun 18, 2012 20:58 |
|
Physical posted:I got a new job as a ruby dev, and in the interview my boss asked me "How do you feel about ruby on rails." Unity is from 400 to 1,900 dollars, but kickass. Although, for most things, it is like bring a minigun to deal with a fly.
|
# ? Jun 18, 2012 21:11 |
|
gooby on rails posted:NSBezierPath is the basis for all vector drawing in Quartz. You can probably find some combination of its abilities that lets you draw the array how you want. Yeah I understand how to actually draw the path out once I have the coordinates, it's passing those coordinates into the UIView subclass and using it from there. The concept of xibs is completely foreign to me (I don't actually have Xcode or anything), I'll try looking into it though. Could you possibly elaborate on the other method though? Exposing via class method?
|
# ? Jun 18, 2012 21:13 |
|
Class methods are a feature of Objective-C that let a class implement general functionality that's shared among all instances of that class. They aren't associated with a particular instance, but they live in the class's name space. You can use a class method to return a certain instance of that class to any caller anywhere in the program, so the view can fetch the array-storing object and then read the array out of it. You could also just make the array a global variable in the first place, but most people consider that messy. How are you going to run and test this if you don't actually have Xcode?
|
# ? Jun 18, 2012 21:17 |
|
Physical posted:Then I got an iPhone and met objective-c, talk about a loving hipster language. That is the first time I've ever seen Objective-C called a hipster language.
|
# ? Jun 18, 2012 21:24 |
|
|
# ? May 16, 2024 23:03 |
|
Jehde posted:That sounds like it'll work, and I'll try implementing it now. But how would I pass the coordinate data into the Quartz drawing to fill the array with? If you have an object that's generating coordinates, just have it pass the coordinates to the view. Give the view an NSMutableArray instance variable, and have it loop through that and draw the coordinates. Something like this: code:
edit: not to be a jerk, but how/why are you doing this if you don't have Xcode and don't know enough Objective-C to know something basic like what a class method is? Doc Block fucked around with this message at 21:28 on Jun 18, 2012 |
# ? Jun 18, 2012 21:26 |