Canceling a NSURLConnection

2012-04-25 Thread Andreas Grosam
Hi All! I'm having an issue how to properly and reliably canceling a NSURLConnection scheduled on a secondary thread and would really appreciate help. The actual issue is that sometimes (not always) sending a message from the main thread - which is basically a higher level cancel message - to

Re: Canceling a NSURLConnection

2012-04-25 Thread Andreas Grosam
On Apr 25, 2012, at 9:45 AM, Andreas Grosam wrote: > Hi All! > > I'm having an issue how to properly and reliably canceling a NSURLConnection > scheduled on a secondary thread and would really appreciate help. > > > The actual issue is that sometimes (not always) sending a message from the >

Re: Losing attachments when saving rtfd

2012-04-25 Thread jonat...@mugginsoft.com
On 24 Apr 2012, at 17:31, Matthew Weinstein wrote: > Dear programmers, > > Trying to save an RTFD from an NSAttributedString with attachements. The text > saves; the images don't... > > I've been scouring the web but can't seem to figure out what's wrong. > > I have a NSAttributedString with

Re: Displaying history - potential ways to do it

2012-04-25 Thread Fritz Anderson
On 21 Apr 2012, at 5:39 AM, The Rhythmic wrote: > Hi, Am a newbie to iOS development. I want to display the DB history i.e. > the changes the users make to a specific critical table in the DB, from > bottom-up, i.e. the first update appears bottom-most ...something like > > ... > ... > Apr 10th -

Re: Adding cells from the bottom (like a stack) in UITableView

2012-04-25 Thread Fritz Anderson
On 21 Apr 2012, at 4:53 PM, The Rhythmic wrote: > Hi, Am a newbie to iOS programming. This is what am trying to do: > > 1. The user enters some text in the screen and it keeps getting added to a > UITableView. > > 2. As usual, it's getting added *from* the top. > > 3. But I want to add it from

Re: How to get the embossed look of the entire cell in UITableView?

2012-04-25 Thread Fritz Anderson
On 21 Apr 2012, at 5:36 PM, The Rhythmic wrote: > Hi, Am a newbie to iOS programming. In the app am writing, am adding user > inputs dynamically/programmatically to UITableView. For each user input, I > put it in a UITableViewCell and add it to the UITableView. I want the table > cells to look lik

WWDC

2012-04-25 Thread Rick Mann
Is WWDC really sold out already? I just got the notification email... -- Rick ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)li

RE: WWDC

2012-04-25 Thread Jim Adams
I got the text message alert 30 minutes after it was sold out. -Original Message- From: cocoa-dev-bounces+jim.adams=sas@lists.apple.com [mailto:cocoa-dev-bounces+jim.adams=sas@lists.apple.com] On Behalf Of Rick Mann Sent: Wednesday, April 25, 2012 1:20 PM To: cocoa-dev@lists.appl

Re: WWDC

2012-04-25 Thread Nathan Sims
The WWDC 2012 announcement email was dated April 25, 2012 7:04:42 AM PDT. *No one* I know of was able to obtain a ticket. Maybe they need a raffle or some such? On Apr 25, 2012, at 10:19 AM, Rick Mann wrote: > Is WWDC really sold out already? I just got the notification email... > > -- > Rick

Re: WWDC

2012-04-25 Thread Rick Mann
I got mine at 0640:05 PDT. A lottery would be nice, maybe it needs to be bigger and/or more expensive (although it's ridiculously expensive already). I wonder how it compares to Google I/O. -- Rick On Apr 25, 2012, at 10:32 , Nathan Sims wrote: > The WWDC 2012 announcement email was dated Ap

Re: Losing attachments when saving rtfd

2012-04-25 Thread Douglas Davidson
On Apr 24, 2012, at 9:31 AM, Matthew Weinstein wrote: > Trying to save an RTFD from an NSAttributedString with attachements. The text > saves; the images don't... > > I've been scouring the web but can't seem to figure out what's wrong. > > I have a NSAttributedString with attachments. I check

Re: WWDC

2012-04-25 Thread Scott Ellsworth
Or, perhaps, a staged rollout across timezones. Heck, telling people when tickets would go on sale would have been a nice step. Scott On Wed, Apr 25, 2012 at 10:32 AM, Nathan Sims < newsli...@autonomy.caltech.edu> wrote: > The WWDC 2012 announcement email was dated April 25, 2012 7:04:42 AM PDT

Re: WWDC

2012-04-25 Thread Rob Ross
I filed a bug report under "other" asking them to increase the numbers of attendees at future WWDC. They should be able to do it, if they want to. Java One regularly had 15,000 in its heyday, at the exact same Moscone Center venue. On Wednesday, April 25, 2012, Nathan Sims wrote: > The WWDC 2012

Re: WWDC

2012-04-25 Thread vincent habchi
•••—•— On 25 avr. 2012, at 19:19, Rick Mann wrote: > Is WWDC really sold out already? That was faster than the eye can wink. I wonder how many tickets are actually offered. Vincent ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Re: WWDC

2012-04-25 Thread Ravi Singh
> I wonder how it compares to Google I/O. Not even close, IO was absolutely ridiculous , if you applied within 15 seconds of the opening you were told tickets were sold out even though people 10 mins later got them. The google io web app was a disaster in design. I think if you were able to fin

Re: WWDC

2012-04-25 Thread Eric E. Dolecki
I/O sold out in like 28 minutes didn't it? And I thought I heard you had to take some kind of simple test to qualify? I don't know... I'll probably never attend one. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin request

Re: WWDC

2012-04-25 Thread M Pulis
On Apr 25, 2012, at 10:45 AM, vincent habchi wrote: •••—•— On 25 avr. 2012, at 19:19, Rick Mann wrote: Is WWDC really sold out already? That was faster than the eye can wink. I wonder how many tickets are actually offered. All of them! :-) gary "eat, code, sleep" Vincent __

Re: WWDC

2012-04-25 Thread Cody Garvin
I was able to get a ticket. On the west coast. I happened to just get done with my workout and saw the email. My email was dated at 6:30am pst. On Apr 25, 2012, at 10:32 AM, Nathan Sims wrote: > The WWDC 2012 announcement email was dated April 25, 2012 7:04:42 AM PDT. > *No one* I know of

Re: WWDC

2012-04-25 Thread Mark D. Gerl
Incorrect. Moscone West Conference Center is not same venue as North/South Convention Center. Apple sells to Fire-Marshall capacity of the venue. Mark Sent from my iOS device On Apr 25, 2012, at 1:45 PM, Rob Ross wrote: > Java One regularly had 15,000 in its heyday, at the exact same Moscon

Re: WWDC

2012-04-25 Thread Ravi Singh
> I/O sold out in like 28 minutes didn't it? And I thought I heard you had to > take some kind of simple test to qualify? I don't know... I'll probably > never attend one. Total IO BS, No test and there are thousands of stories of people who tried to get a ticket within 10 seconds and got nothing

Re: WWDC

2012-04-25 Thread Greg Parker
On Apr 25, 2012, at 10:45 AM, Rob Ross wrote: > I filed a bug report under "other" asking them to increase the numbers of > attendees at future WWDC. They should be able to do it, if they want to. > Java One regularly had 15,000 in its heyday, at the exact same Moscone > Center venue. Different b

RE: WWDC

2012-04-25 Thread Jim Adams
They did try to limit to 5 people from each team. -Original Message- From: cocoa-dev-bounces+jim.adams=sas@lists.apple.com [mailto:cocoa-dev-bounces+jim.adams=sas@lists.apple.com] On Behalf Of Ravi Singh Sent: Wednesday, April 25, 2012 1:47 PM To: Rick Mann Cc: cocoa-dev@lists.ap

RE: WWDC

2012-04-25 Thread Jim Adams
Someone I know compared it to trying to get tickets to a Stones concert -Original Message- From: cocoa-dev-bounces+jim.adams=sas@lists.apple.com [mailto:cocoa-dev-bounces+jim.adams=sas@lists.apple.com] On Behalf Of Scott Ellsworth Sent: Wednesday, April 25, 2012 1:41 PM To: N

Re: WWDC

2012-04-25 Thread Eric E. Dolecki
OT but I didn't want to start another thread that might get stomped... Anyone going to the Mothership (really to buy stuff and just see it) any time during WWDC? Maybe we could all arrange a time/place and a bus or something. I think I remember hearing about someone doing that last year to make i

RE: WWDC

2012-04-25 Thread Jim Adams
On the east coast we started at 8:30 so maybe they did stagger it by timezones? -Original Message- From: cocoa-dev-bounces+jim.adams=sas@lists.apple.com [mailto:cocoa-dev-bounces+jim.adams=sas@lists.apple.com] On Behalf Of Cody Garvin Sent: Wednesday, April 25, 2012 2:13 PM To: C

Re: WWDC

2012-04-25 Thread Lee Ann Rucker
On Apr 25, 2012, at 11:14 AM, Ravi Singh wrote: >> I/O sold out in like 28 minutes didn't it? And I thought I heard you had to >> take some kind of simple test to qualify? I don't know... I'll probably >> never attend one. > > Total IO BS, No test and there are thousands of stories of people who

Re: WWDC

2012-04-25 Thread Mikkel Islay
On 25 Apr 2012, at 19:47, Ravi Singh wrote: > I don't think they need to increase the cost, they need to let developers > know a week ahead so you can plan for it and limit it to developers only. I think an important metric for determining conference size, is (should be) how much Apple develo

Re: WWDC

2012-04-25 Thread Kok-Yong Tan
And IIRC from the plaques on the walls all over Moscone West, that capacity is around 5,200 people including the Apple support staff. Also, back in the day when there was overlap between JavaOne and WWDC, to confirm what Mark Gerl mentions below, I recall banners for JavaOne advertising it bei

Re: WWDC

2012-04-25 Thread Thomas Davie
Do you have a bug number that I could reference? I'd probably like to file one asking them to do *several* WWDCs around the world – the cost to people in the bay area is already pretty high ($1.6k ish per attendee), but to someone in the UK, the cost is more like $4k per attendee. Plus of cour

Re: WWDC

2012-04-25 Thread Vincent Habchi
On 25 avr. 2012, at 20:41, Mikkel Islay wrote: > apps and frameworks. I agree it is a pity many who really want to go, can't. > Having said that, there are a number of community-organised conventions in > the US and Europe throughout the year, if you can't attend WWDC, those > provide great op

Re: WWDC

2012-04-25 Thread Kok-Yong Tan
On 4/25/12 15:34, Vincent Habchi wrote: On 25 avr. 2012, at 20:41, Mikkel Islay wrote: apps and frameworks. I agree it is a pity many who really want to go, can't. Having said that, there are a number of community-organised conventions in the US and Europe throughout the year, if you can't a

Re: WWDC

2012-04-25 Thread Mikkel Islay
On 25 Apr 2012, at 21:34, Vincent Habchi wrote: > Uh? There was a iOS 5 tour in Europe I heard of, but nothing concerning OS X > this year or the year before AFAIK. For OS X, the NSConference (UK) is one, certainly. http://youtu.be/SKaThGBuSdc However, you are right. iOS seems to be the most e

Re: WWDC

2012-04-25 Thread Scott Ribe
On Apr 25, 2012, at 1:11 PM, Thomas Davie wrote: > I'd probably like to file one asking them to do *several* WWDCs around the > world – the cost to people in the bay area is already pretty high ($1.6k ish > per attendee), but to someone in the UK, the cost is more like $4k per > attendee. Plus

Re: WWDC

2012-04-25 Thread Wade Tregaskis
> I'd probably like to file one asking them to do *several* WWDCs around the > world – the cost to people in the bay area is already pretty high ($1.6k ish > per attendee), but to someone in the UK, the cost is more like $4k per > attendee. Plus of course doing several would kill the second sto

Re: WWDC

2012-04-25 Thread Robert Tillyard
Although I'd love to go to WWDC being based in the UK makes it expensive and difficult but I don't feel that I miss out too much as I can watch the sessions which really helps me learn new stuff. Regards, Rob. On 25 Apr 2012, at 20:11, Thomas Davie wrote: > Do you have a bug number that I coul

Re: WWDC

2012-04-25 Thread Wade Tregaskis
> I filed a bug report under "other" asking them to increase the numbers of > attendees at future WWDC. I thought this for a long time, but then came to the realisation that what's really valuable about WWDC just doesn't scale: access to Apple engineers. This wasn't always the case. The WWDC p

Re: WWDC

2012-04-25 Thread Kyle Sluder
On Apr 25, 2012, at 2:56 PM, Wade Tregaskis wrote: >> I filed a bug report under "other" asking them to increase the numbers of >> attendees at future WWDC. > > I thought this for a long time, but then came to the realisation that what's > really valuable about WWDC just doesn't scale: access t

Re: WWDC

2012-04-25 Thread Charlie Dickman
Would you please take this interchange off the air? There is such a thing as private email. My inbox is choked with this stuff which is, in my opinion, off topic. On Apr 25, 2012, at 5:56 PM, Wade Tregaskis wrote: >> I filed a bug report under "other" asking them to increase the numbers of >> a

Re: WWDC

2012-04-25 Thread Roy Lovejoy
IMHO, the "D" of WWDC should be enforced (though I don't know how) Of the dozens of people from Microsoft who would attend regularly, approximately 10% were developers. The rest were PMs, Managers, and anyone else who just 'wanted to go to SF for the week'. On Apr 25, 2012, at 2:34 PM, Robert

Re: WWDC

2012-04-25 Thread Laurent Daudelin
On Apr 25, 2012, at 15:03, Charlie Dickman wrote: > Would you please take this interchange off the air? There is such a thing as > private email. My inbox is choked with this stuff which is, in my opinion, > off topic. You know, no offense but it's pretty easy to setup a rule in Mail to have th

Re: WWDC

2012-04-25 Thread Scott Ribe
On Apr 25, 2012, at 3:12 PM, Alex Kac wrote: > And a reminder - the iTunes U videos/PDFs given to us who don't go is > invaluable. Yes, that's an area where Apple really got its act together in recent years. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567

Re: WWDC

2012-04-25 Thread koko
On Apr 25, 2012, at 2:06 PM, Mikkel Islay wrote: > the NSConference Violation … only Apple can use the NS prefix ! ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact th

Re: WWDC

2012-04-25 Thread Conrad Shultz
On 4/25/12 3:44 PM, koko wrote: > > On Apr 25, 2012, at 2:06 PM, Mikkel Islay wrote: > >> the NSConference > > Violation … only Apple can use the NS prefix ! Do you understand *why* everyone was making a big deal about your choice of prefix? It's not because people here derive satisfaction fr

Re: WWDC

2012-04-25 Thread Kyle Sluder
On Apr 25, 2012, at 4:08 PM, Conrad Shultz wrote: > On 4/25/12 3:44 PM, koko wrote: >> >> On Apr 25, 2012, at 2:06 PM, Mikkel Islay wrote: >> >>> the NSConference >> >> Violation … only Apple can use the NS prefix ! > > Do you understand *why* everyone was making a big deal about your choice

Re: WWDC

2012-04-25 Thread Charles Srstka
On Apr 25, 2012, at 5:44 PM, koko wrote: > On Apr 25, 2012, at 2:06 PM, Mikkel Islay wrote: > >> the NSConference > > Violation … only Apple can use the NS prefix ! For that matter, Apple Events aren’t supposed to be used by applications in the sandbox. ;-) Charles __

Re: WWDC

2012-04-25 Thread koko
On Apr 25, 2012, at 5:08 PM, Conrad Shultz wrote: > Do you understand *why* everyone was making a big deal about your choice > of prefix? Absolutely I do. In fact when I posted th ecode sample that used NS and was clued on it I went DOH! I was using it to distinguish from corresponding CPP cl

Executing a very low-priority operation in iOS

2012-04-25 Thread Rick Mann
We have an app whose main function (on the main runloop) operates on a timer at about 30 Hz (eventually triggering a display update). We want to run a separate period function on the order of once a minute. The operation itself is lengthy, and I want it to not impact the main function of the ap

Re: WWDC

2012-04-25 Thread Graham Cox
On 26/04/2012, at 9:43 AM, koko wrote: > So for Mac thin wrapped code I chose to name files as NS … easy to spot in > the tree … I should have used M. I'll probably go back and grep NS to M. And that's where your choice is going to really bite you, because now you'll rename all the legitimat

RE: Executing a very low-priority operation in iOS

2012-04-25 Thread Julius Oklamcak
> Normally I'd set up a timer to fire in a minute, set up an NSBlockOperation, > and let it go. When it finishes, I'd repeat the process. But I don't see any > way to adjust the priority of an NSOperationQueue. NSBlockOperation inherits from NSOperation so you should be able to -setQueuePriority:

Re: Executing a very low-priority operation in iOS

2012-04-25 Thread Rick Mann
On Apr 25, 2012, at 17:50 , Julius Oklamcak wrote: >> Normally I'd set up a timer to fire in a minute, set up an > NSBlockOperation, >> and let it go. When it finishes, I'd repeat the process. But I don't see > any >> way to adjust the priority of an NSOperationQueue. > > NSBlockOperation inheri

NSOperation thread priority ignored?

2012-04-25 Thread Rick Mann
I'm trying to create an NSBlockOperation and set its thread priority. But when the block executes, the thread priority of the running thread is 0.5. The code is below. Here's what it logs: 2012-04-25 20:22:47.096 app[13283:494b] UPDATING MAG MODEL. Thread {name = (null), num = 33} priority: 0.50

Why can't I change the font used by an NSTextField?

2012-04-25 Thread Matt Mower
Hi folks. I am using a source list view (view based NSOutlineView) and trying to display some items in bold text (using the default system font, not a custom font) and it's not working. In interface builder I have the default non-group NSTableCellView that was created when I dragged in the so

Concurrency: DataSource modified while TableView is displaying data

2012-04-25 Thread Jean Suisse
Hi All, I have an NSTableView whose DataSource and delegate is a custom controller holding an NSMutableArray (containing a list of "Task/job" objects). The tableView is used to display "Tasks" waiting to be executed. When activated, the "Task" is requested to post its blocks on a serial queue

Re: How to get the embossed look of the entire cell in UITableView?

2012-04-25 Thread Trevor Sheridan
This might be worth looking into for a concrete code example: https://skytrix.qx.ly/b/tHq4 Trevor On Apr 25, 2012, at 9:53 AM, Fritz Anderson wrote: > On 21 Apr 2012, at 5:36 PM, The Rhythmic wrote: > >> Hi, Am a newbie to iOS programming. In the app am writing, am adding user >> inputs dynamic

Question about dispatch_timer function

2012-04-25 Thread Kévin Vavelin
Hi there, I've a question about the dispatch_timer function. I try to make a strobe flash on my iPhone app and for that i used an NSTimer but a friend of mine say that it's better to use dispatch function. So i was looking and try to implement something. I explain my code before post anything :

[Moderator] Re: WWDC

2012-04-25 Thread Scott Anguish
Please, don’t discuss WWDC issues here. Contact WWDR directly. Thanks Scott Anguish [moderator] On Apr 25, 2012, at 1:19 PM, Rick Mann wrote: > Is WWDC really sold out already? I just got the notification email... > > -- > Rick > > ___ > > Cocoa-

Re: Why can't I change the font used by an NSTextField?

2012-04-25 Thread Kyle Sluder
On Apr 24, 2012, at 3:17 AM, Matt Mower wrote: > I am using a source list view (view based NSOutlineView) and trying to > display some items in bold text (using the default system font, not a custom > font) and it's not working. I'm guessing that you've hooked up your text field to the textFie

removeFromSuperview problem

2012-04-25 Thread Leanne Attard
Problem explanation: I am doing a Java application which calls a JNI Library to draw using OpenGL on the window created by JAVA, using the JAWT NSView handle given as in example: http://developer.apple.com/library/mac/#samplecode/JAWTExample/Introduction/Intro.html, and then adding a customi