Short question: What's the best way to scroll a UIWebView slightly from its
current position when there's a keyboard present? I already tried
-[UIScrollView setContentInset:], but that does not work when a keyboard is on
screen.
Long question:
I have a UIWebView, and I'm trying to graft a cust
I'm trying to capture the icon information for the current keyboard
input source, using the following code:
IconRef keyboardIcon =
TISGetInputSourceProperty(currentInputSource, kTISPropertyIconRef);
if (keyboardIcon != NULL) {
NSImage *iconImage = [[NSImage alloc]
On May 27, 2014, at 5:17 PM, Ben Kennedy wrote:
> On 27 May 2014, at 11:52 am, Alex Zavatone wrote:
>
>> But, it appears that even when using "Inferred" for view controllers'
>> Simulated Metrics, Inferred is being ignored and is being replaced with
>> Black Opaque.
>
> I thought that the
On 28 May 2014, at 5:52 am, Charles Srstka wrote:
> a) 'bar' is a later addition to the file format, added some time after the
> app was ported to Intel, and thus is in little-endian format whereas the
> older parts of the file are in big-endian (and yes, I've seen formats that do
> this), or
On May 27, 2014, at 12:08 PM, Greg Parker wrote:
> Untested code is incorrect code. Don't write endian-swapping code that you
> can't test because you aren't using any other-endian platforms today.
I disagree. There is a strong, longstanding convention for cross-platform
binary data formats
On 27 May 2014, at 11:52 am, Alex Zavatone wrote:
> But, it appears that even when using "Inferred" for view controllers'
> Simulated Metrics, Inferred is being ignored and is being replaced with Black
> Opaque.
I thought that the "simulated metrics" stuff in IB were exactly that --
simulat
On May 27, 2014, at 12:52 PM, Charles Srstka wrote:
> On May 27, 2014, at 2:08 PM, Greg Parker wrote:
>> On May 26, 2014, at 8:28 PM, Charles Srstka wrote:
>>> On May 26, 2014, at 7:43 PM, Uli Kusterer
>>> wrote:
Regarding endian-swapping, that depends on the file format. If you wrote
>>
On May 27, 2014, at 2:08 PM, Greg Parker wrote:
> On May 26, 2014, at 8:28 PM, Charles Srstka wrote:
>> On May 26, 2014, at 7:43 PM, Uli Kusterer
>> wrote:
>>> Regarding endian-swapping, that depends on the file format. If you wrote
>>> that file yourself, you don’t usually need to do any swa
On May 26, 2014, at 8:28 PM, Charles Srstka wrote:
> On May 26, 2014, at 7:43 PM, Uli Kusterer
> wrote:
>> Regarding endian-swapping, that depends on the file format. If you wrote
>> that file yourself, you don’t usually need to do any swapping.
>
> That's true. For example, back in the PowerP
We have several (9) iOS 7 iPhone apps in a workspace that I can open up in
Xcode 5.x, and run on our devices.
All good.
But, it appears that even when using "Inferred" for view controllers' Simulated
Metrics, Inferred is being ignored and is being replaced with Black Opaque.
Sometimes.
What'
> On May 27, 2014, at 1:20 PM, 2551 <2551p...@gmail.com> wrote:
>
> Moreover, the pair that don't work DO show in the Notification Center
> sidebar/panel, so I know the code is good, but for reasons I can't get to the
> bottom of, the banners just don't show. Why would some show but others not?
I'm officially flumoxed.
My app has a number of methods that send notifications to Notifications Center.
All of them work, except for a pair in one method (there's a success/fail pair
attached to an if/else clause in each case). The code is identical (they're all
derived from the same code sni
On May 27, 2014, at 10:23 AM, Mills, Steve wrote:
> On May 23, 2014, at 19:28:32, Ken Thomases wrote:
>
>> I doubt it's possible to learn the design-time-specified class from the
>> objects of the loaded NIB. The technique you outline doesn't make sense.
>> The window from the NIB won't have
On May 23, 2014, at 19:34:10, Graham Cox wrote:
> If what you're really trying to do is to store a class in the nib such that
> you can use that to instantiate the right kind of object for FO, I would say
> that you're doing it wrong (™). What you probably want is some way in your
> code to ma
On May 23, 2014, at 19:28:32, Ken Thomases wrote:
> I doubt it's possible to learn the design-time-specified class from the
> objects of the loaded NIB. The technique you outline doesn't make sense.
> The window from the NIB won't have a controller if the controller was File's
> Owner and yo
On May 27, 2014, at 3:41 PM, 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
> https://lists.apple.com/mailman/listinfo/cocoa-dev
> or, via email, send a me
On May 26, 2014, at 8:10 AM, Jonathan Mitchell wrote:
>
> On 26 May 2014, at 14:50, Keary Suska wrote:
>
>>
>> The bug is triggered when trying to display a sheet on a popover window, so
>> even if I capture error presentation I would still have to present a modal
>> alert of some kind. I w
On May 27, 2014, at 6:08 AM, Navneet Kumar wrote:
>
> Hi,
>
> The code I’m using is as follows: (it works well and videos plays when logged
> in as admin user, but doesn’t play when the app is run as root):
Please stop trying to run your application as root. If Apple wanted to support
this co
Hi,
The code I’m using is as follows: (it works well and videos plays when logged
in as admin user, but doesn’t play when the app is run as root):
In awakeFromNib:
[[avPlayerView layer]
setBackgroundColor:CGColorGetConstantColor(kCGColorClear)];
// Create the AVPlayer, add rate
> YOU ARE OVERTHINKING THIS. Stop trying to figure out when things are
getting released — that’s ARC’s job. Just write your code.
That's what my dad said, but I though he just didn't know what the real
answer was.
Thank you for your helps.
On Sun, May 25, 2014 at 5:46 PM, Jens Alfke wrote:
>
20 matches
Mail list logo