Hi,
Sorry if I'm missing the obvious here, but I want to make a UTI array to limit
what can be dragged onto my TableView. Is there not a way to do this like with
an OpenPanel? I also see a containsPasteboardTypes: but this is only for
UIPasteboard. Thanks,
rc
___
On 2012 Mar 04, at 01:28, Rick C. wrote:
> I want to make a UTI array to limit what can be dragged onto my TableView.
Implement -tableView:validateDrop:proposedRow:proposedDropOperation: and return
NSDragOperationNone if the [info draggingPasteboard] contains stuff you don't
want.
> Sorry if
Den 04:27 4. mars 2012 skrev R følgende:
> All good, valid and useful points.
>
> However, I would at least like to maintain the same functionality of
> the Twitter App for iPhone.
>
> The app does does a pretty good job of detecting and reviewing the URL
> to determine if it can be assumed to be
You no longer have to shorten an URL before sending it to Twitter...
but if you do such, realizing perfect is not the goal, you should do
reasonable dueDiligence on the quality of the URL.
Take a look at the Twitter iPhone app. Enter a URL and watch how it
deals with character counts.
On Mar 4,
Hi All,
When browsing the local developer documentation, Safari shows file URLs that
look like this:
file:///path/index.html#more/path/actualFile.html#some_location
(A full example is pasted below)
So they contain multiple fragments (the '#' part), and Safari happily opens
them when p
Den 17:43 4. mars 2012 skrev R følgende:
> Take a look at the Twitter iPhone app. Enter a URL and watch how it
> deals with character counts.
I don't have an iPhone, I don't use Twitter, and we are not a paid
heldesk company. If you want help, you have to specify precisely the
problem that you
On 3. Mar 2012, at 10:49, Ken Thomases wrote:
> If the window doesn't have a resize box or title bar -- that is, you're using
> NSBorderlessWindowMask -- then the NSWindow implementation of
> -canBecomeKeyWindow returns NO.
i gave the window a title bar (which doesn't appear when used as a she
On Mar 4, 2012, at 11:01 AM, "H. Miersch" wrote:
>
> On 3. Mar 2012, at 10:49, Ken Thomases wrote:
>
>> If the window doesn't have a resize box or title bar -- that is, you're
>> using NSBorderlessWindowMask -- then the NSWindow implementation of
>> -canBecomeKeyWindow returns NO.
>
> i gave
On Mar 4, 2012, at 8:43 AM, R wrote:
> You no longer have to shorten an URL before sending it to Twitter...
> but if you do such, realizing perfect is not the goal, you should do
> reasonable dueDiligence on the quality of the URL.
Oh, this is about URL shortening? I’m strongly against that prac
On Mar 4, 2012, at 8:54 AM, Gerd Knops wrote:
> - Are those actually 'legal' URLs?
http://www.ietf.org/rfc/rfc3986.txt
—Jens
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Thanks Per.
I've got a decent solution using Data Detectors as per the advice from
above.
I'm just looking to at least match Twitters iOS approach, which is not
accomplished by using Data Detectors alone.
Thanks again -- Ron
On Mar 4, 10:14 am, Per Bull Holmen wrote:
> Den 17:43 4. mars 2012 s
I think you also need to register for the drag types via
-registerForDraggedTypes. I pass in a mix of UTIs and legacy pboard types and
it seems to work. For example:
[tableView registerForDraggedTypes:[NSArray arrayWithObjects:(NSString
*)kUTTypeURL, NSPasteboardTypeString, @"ABPeopleUI
>
> In the vast majority of cases where I've seen this behavior, it is because
> in your delegate handler for the UIImagePickerController, you assign the
> returned image directly to a UIImageView that you have in your view
> hierarchy. If you've recently gotten a memory warning, then this image vi
Are you allowed to push a view controller onto a navigation controller which is
hidden by something modal and has had its top level VCs view removed? If I was
doing that and getting what you're getting I would suspect that and change it
so that either
1 the new view controller is pushed by the
Thanks for the feedback, Roland.
On Sun, Mar 4, 2012 at 6:07 PM, Roland King wrote:
> I would suspect that and change it so that either
>
> 1 the new view controller is pushed by the viewDidDisappear of the
> dismissed modal one or
>
This would require excessive knowledge of the delegate contro
15 matches
Mail list logo