Hi Sridhar,

In developer sample codes there is one demo application 'lazy image downloading'. Check that one.Hope this helps you. You can send asynchronous requests to multiple urls and display the images.



Thanks,
Santhosh Kumar Gundu



On Jul 19, 2010, at 12:31 AM, cocoa-dev-requ...@lists.apple.com wrote:

Send Cocoa-dev mailing list submissions to
        cocoa-dev@lists.apple.com

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.apple.com/mailman/listinfo/cocoa-dev
or, via email, send a message with subject or body 'help' to
        cocoa-dev-requ...@lists.apple.com

You can reach the person managing the list at
        cocoa-dev-ow...@lists.apple.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Cocoa-dev digest..."


Today's Topics:

  1. Strategy for handling RTFD on iOS (Martin Hewitson)
  2. Re: HTTP Pipe lining communication in iPhone application
     (SridharRao M)
  3. Re: Initializing unichar variable with a human readable
     letter (Alastair Houghton)
  4. Re: NSInteger compare - Help Needed (Steve Wetzel)
  5. Re: NSInteger compare - Help Needed (Dave Carrigan)
  6. Re: HTTP Pipe lining communication in iPhone application
     (Mike Abdullah)
  7. Re: NSInteger compare - Help Needed (Sherm Pendley)
  8. Removing sorting from NSTableView (Gideon King)
  9. Re: Encrypting data in a Core Data SQL store for a Mac
     desktop app (Jerry Krinock)


----------------------------------------------------------------------

Message: 1
Date: Sun, 18 Jul 2010 17:02:39 +0100
From: Martin Hewitson <martin.hewit...@aei.mpg.de>
Subject: Strategy for handling RTFD on iOS
To: cocoa-dev Dev <cocoa-dev@lists.apple.com>
Message-ID: <c5b4cd78-a792-4485-9cfc-cfa745361...@aei.mpg.de>
Content-Type: text/plain; charset=us-ascii

Dear list,

I have a core-data app which stores some of the application content as an NSData field containing RTFD data. I would like to create a corresponding iphone/ipad app which would ideally allow this data to be displayed and edited. I realise that the 'editing' part might be somewhat challenging due to the lack of built-in rich-text editor control on UIKit. For the reading part, I guess I can use UIWebView. So at the moment I'm planning just a reader companion app for the desktop app (with the data synced over mobileme), and I'll await a rich-text control on UIKit for the editing.

Does anyone have any advice or good ideas about this plan in general, and about how to handle RTFD data on iOS?

Best wishes,

Martin


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Martin Hewitson
Albert-Einstein-Institut
Max-Planck-Institut fuer
   Gravitationsphysik und Universitaet Hannover
Callinstr. 38, 30167 Hannover, Germany
Tel: +49-511-762-17121, Fax: +49-511-762-5861
E-Mail: martin.hewit...@aei.mpg.de
WWW: http://www.aei.mpg.de/~hewitson
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~







------------------------------

Message: 2
Date: Sun, 18 Jul 2010 21:38:04 +0530
From: SridharRao M <macsrid...@gmail.com>
Subject: Re: HTTP Pipe lining communication in iPhone application
To: Cocoa Developers <cocoa-dev@lists.apple.com>
Message-ID:
        <aanlktimejeh1ohw1pdlvcqieqgmdmhe-smonjy7fb...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Any one have idea of implementing this.

If any please share with me.


Thanks,
Sridhar.

On Sat, Jul 17, 2010 at 10:00 PM, Dave DeLong <davedel...@me.com> wrote:

On iOS 4 there's a method on NSMutableURLConnection to do this (something like setHTTPShouldUsePipelining:). If you need a solution for iOS 3.x, I'm afraid I've been trying to find one for a long time, and short of writing
pipelining yourself, I don't think there is one.

Dave

Sent from my iPhone

On Jul 17, 2010, at 10:14 AM, SridharRao M <macsrid...@gmail.com> wrote:

Hi Group,

I want to implement HTTP Pipe lining communication in my iphone
application
for web images downloading into my application.

If any one implemented this already please suggest me how to implement
this
in iPhone.

Thanks in advance.

Regards,
Sridhar.
_______________________________________________

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)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/davedelong%40me.com

This email sent to davedel...@me.com
_______________________________________________

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)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/macsridhar%40gmail.com

This email sent to macsrid...@gmail.com



------------------------------

Message: 3
Date: Sun, 18 Jul 2010 17:34:24 +0100
From: Alastair Houghton <alast...@alastairs-place.net>
Subject: Re: Initializing unichar variable with a human readable
        letter
To: vincent habchi <vi...@macports.org>
Cc: Cocoa-Dev List <Cocoa-dev@lists.apple.com>
Message-ID: <b22ed3f5-67a8-4cc8-93e0-cfc38cafc...@alastairs-place.net>
Content-Type: text/plain; charset=iso-8859-1

On 18 Jul 2010, at 09:38, vincent habchi wrote:

Since I use the unichar to make comparisons, I could also have initialized a custom NSCharacterSet with "é", but, as we say here in France: "it's like using a bulldozer to break a nut shell".

It's worth perhaps pointing out that comparing with the unichar 'é' (U+00E9) won't pick up the equivalent sequence ('e', U+0301). i.e. unless you know that all 'é' characters in your input are precomposed, you will miss some of them.

You might, therefore, be better using NSString...

Kind regards,

Alastair.

--
http://alastairs-place.net






------------------------------

Message: 4
Date: Sun, 18 Jul 2010 12:21:35 -0500
From: Steve Wetzel <stevewet...@mac.com>
Subject: Re: NSInteger compare - Help Needed
To: Carter Allen <li...@cartera.me>
Cc: Cocoa-Dev List <cocoa-dev@lists.apple.com>
Message-ID: <f52e371f-f6eb-4bfa-b835-2d1fd1579...@mac.com>
Content-Type: text/plain; charset=windows-1252

Thanks guys, that was the problem, There are so many little things to learn with Objective C.

Steve
Steve‚s daily photo blog





On Jul 17, 2010, at Jul 17:3:04 PM, Carter Allen wrote:

Steve,

Have you tried changing "<<" in your code to simply "<"? That may work.

- Carter Allen

On Jul 17, 2010, at 1:58 PM, Steve Wetzel wrote:

Hi all,

I am new to Cocoa programming and am trying to do something that I thought was straightforward but not working. I am using the tag field of a button to tell me what button is pushed. This code does not work

- (IBAction) numberPressed:(id)sender {
        NSLog(@"Sender tag is:%d", [sender tag]);
        if ([sender tag] << 10) {
displayValues.rawNumber = [displayValues.rawNumber stringByAppendingString:[NSString stringWithFormat:@"%d", [sender tag]]];
        }

buttons with tags 1-9 work great but the button with tag 0 does not. When I pass tag 0 the if statement is evaluated as false.

When I press button with tag 1 I get "Sender tag is:1" and the if statement is evaluated as true. When I press button with tag 0 I get "Sender tag is:0" and the if statement is evaluated as false.

What is going wrong here?

Steve
Steve‚s daily photo blog





_______________________________________________

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)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/lists%40cartera.me

This email sent to li...@cartera.me




------------------------------

Message: 5
Date: Sun, 18 Jul 2010 10:35:56 -0700
From: Dave Carrigan <d...@rudedog.org>
Subject: Re: NSInteger compare - Help Needed
To: Steve Wetzel <stevewet...@mac.com>
Cc: Cocoa-Dev List <cocoa-dev@lists.apple.com>
Message-ID: <00d531d2-be51-4d1f-b891-15fca7172...@rudedog.org>
Content-Type: text/plain; charset=us-ascii


On Jul 18, 2010, at 10:21 AM, Steve Wetzel wrote:

Thanks guys, that was the problem, There are so many little things to learn with Objective C.


The difference between the < operator and the << operator is not confined to Objective-C; it's part of the C language. You should probably find a good book on C that goes into that; it will save you many, many days of debugging headaches.

--
Dave Carrigan
d...@rudedog.org
Seattle, WA, USA



------------------------------

Message: 6
Date: Sun, 18 Jul 2010 19:00:00 +0100
From: Mike Abdullah <cocoa...@mikeabdullah.net>
Subject: Re: HTTP Pipe lining communication in iPhone application
To: SridharRao M <macsrid...@gmail.com>
Cc: Cocoa Developers <cocoa-dev@lists.apple.com>
Message-ID: <3cefc4c0-74b7-42a5-be1e-03164ba88...@mikeabdullah.net>
Content-Type: text/plain; charset=us-ascii

Er, he just told you how. Or are you asking how to do pipelining on iOS 3? (which was also pretty much answered)

On 18 Jul 2010, at 17:08, SridharRao M wrote:

Any one have idea of implementing this.

If any please share with me.


Thanks,
Sridhar.

On Sat, Jul 17, 2010 at 10:00 PM, Dave DeLong <davedel...@me.com> wrote:

On iOS 4 there's a method on NSMutableURLConnection to do this (something like setHTTPShouldUsePipelining:). If you need a solution for iOS 3.x, I'm afraid I've been trying to find one for a long time, and short of writing
pipelining yourself, I don't think there is one.

Dave

Sent from my iPhone

On Jul 17, 2010, at 10:14 AM, SridharRao M <macsrid...@gmail.com> wrote:

Hi Group,

I want to implement HTTP Pipe lining communication in my iphone
application
for web images downloading into my application.

If any one implemented this already please suggest me how to implement
this
in iPhone.

Thanks in advance.

Regards,
Sridhar.
_______________________________________________

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)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/davedelong %40me.com

This email sent to davedel...@me.com
_______________________________________________

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)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/macsridhar%40gmail.com

This email sent to macsrid...@gmail.com

_______________________________________________

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)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/cocoadev%40mikeabdullah.net

This email sent to cocoa...@mikeabdullah.net



------------------------------

Message: 7
Date: Sun, 18 Jul 2010 14:10:24 -0400
From: Sherm Pendley <sherm.pend...@gmail.com>
Subject: Re: NSInteger compare - Help Needed
To: Steve Wetzel <stevewet...@mac.com>
Cc: Cocoa-Dev List <cocoa-dev@lists.apple.com>
Message-ID:
        <aanlktinlu9mpxtftcezmfglrh_0yuowxrmx-px7vk...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Sun, Jul 18, 2010 at 1:21 PM, Steve Wetzel <stevewet...@mac.com> wrote:
Thanks guys, that was the problem, There are so many little things to learn with Objective C.

Out of curiosity, what programming language are you comparing it to?
I've used *many* of them over the past twenty years, and I can't think
of a single one that uses << as a "less than" operator.

sherm--

--
Cocoa programming in Perl:
http://www.camelbones.org


------------------------------

Message: 8
Date: Mon, 19 Jul 2010 04:10:50 +1000
From: Gideon King <gid...@novamind.com>
Subject: Removing sorting from NSTableView
To: cocoa-dev List <cocoa-dev@lists.apple.com>
Message-ID: <789f3fbf-e4db-4e1a-a9c7-dab328e59...@novamind.com>
Content-Type: text/plain; charset=us-ascii

Sorry if this is a dumb question, but when someone has clicked a column header to sort a table on that column, how do they get it back to its natural, unsorted order?

In a certain other operating system, the standard behaviour seems to be that the sorting is three state: ascending/descending/unsorted, but I can't seem to do that with NSTableView - once sorted, always sorted. I'd rather not have a separate button to unsort the data back to its original order, and the natural order of my data does not match any of the data rows, but is the view that most people will want to use most of the time.

I guess if there isn't already something built in, I may have to either subclass something in the table header and make it three state, or maybe override somewhere in the tableview or array controller where it sets the sort descriptors or perhaps turn off the automatically hidden scrollers and put a button in the cornerView... any suggestions or examples would be appreciated.

Thanks

Gideon







------------------------------

Message: 9
Date: Sun, 18 Jul 2010 11:25:55 -0700
From: Jerry Krinock <je...@ieee.org>
Subject: Re: Encrypting data in a Core Data SQL store for a Mac
        desktop app
To: Cocoa Developers <cocoa-dev@lists.apple.com>
Message-ID: <047f7c42-0d7f-40cf-9f90-4ce56c5f7...@ieee.org>
Content-Type: text/plain; charset=us-ascii


On 2010 Jul 18, at 03:42, Darren Wheatley wrote:

Can anyone give me a pointer on how to encrypt (and use) the data in the Core Data sql store of my Mac desktop app?

I've Googled for this, and while I find lots of information on encrypting Core Data stores for iPhone apps, I can't find a solution for Mac applications.

Why does the iPhone information you found not apply to Mac apps?



------------------------------

_______________________________________________

Cocoa-dev mailing list      (Cocoa-dev@lists.apple.com)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins (at) lists.apple.com

http://lists.apple.com/mailman/listinfo/cocoa-dev


End of Cocoa-dev Digest, Vol 7, Issue 749
*****************************************


_______________________________________________

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)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to