apple

How to disable Safari Reader in a web page

I'm curious to know more about what triggers the Reader option in Safari and what does not. I wouldn't plan to implement anything that would disable it, but curious as a technical exercise. Here is what I've learned so far with some basic playing around: You need at least one H tag It does not go by character count alone but by the nu...

How to edit iWeb 09 Blog Template?

Hi everyone, In iWeb '09, I am trying to edit the Blog entry template, and can't figure out how to remove the picture from the template. Ideally, I do not want the default placeholder picture to be present on the new entry template when I click the "Add Entry" button. In the Blog.xml file (found under templateFileName/Shared/), it see...

Apple HTML5 progressive streaming

Is there a copy of the file saved to the ipad/ipod when using progressive http download (apple segmented) that the user could potentially copy off the device? meaning, is this scenario considered 'safe' from a content protection pov: 1. user comes to websites with movies behind paywall 2. user selects a movie to watch online (progressiv...

Why does Apple use Objective-C for iPhone development? (App Store)

I'm interested to know your opinion on why Apple uses a language such as Objective-C for app development. Does Apple's app store allow apps written only in this language? Does apple even look at your source-code or does it just care of the binary output? I learned that most of their app rejection (in the app store) is based upon apps cr...

How to simulate the delete key on UITextField?

Hi, I'm creating an application on the iPad. I create a custom keyboard using UITextField's inputView property. To insert text at the cursor position, I use the copy & paste method (http://dev.ragfield.com/2009/09/insert-text-at-current-cursor-location.html), which works fine. Now, I want to create the delete key. The code that I'm usin...

Why we send Push from Server Side ?

Hi, Is there any possiblity to implement Push at iPhone Client if we know the DeviceToken. Why we cannot go for a client side Push Implementation ? And if we have cert as .p12 on client Documents Directory Tharindu. ...

Adding Cocoa to a Carbon app?

Hi All, So We have a really old project that is all Carbon. We need to modify the way we open and save files and the dialog code we use is to old, so I wanted to create this new in Cocoa. How does one create a Cocoa Class that can be called from Carbon? What Cocoa routines would I use to create open and save dialogs and present them t...

Using openssl encryption for Apple's HTTP Live Streaming

Has anyone had any luck getting encrypted streaming to work with Apple's HTTP Live Streaming using openssl? It seems I'm almost there but my video doesn't play but I don't get any errors in Safari either (like "Video is unplayable" or "You don't have permission to play this video" when I got the key wrong). #bash script: keyFile="key.t...

writing an extension for Safari 5

As of Monday 7th June 2010 Safari (v5) supports Extensions. Some already exist such as the Gmail Checker & the upcoming Coda Notes by Panic. So my question... Where would one begin if one intends to develop an application for Safari 5? Thanks in advance for any feedback! ...

Is there an special Apple mailing list for every iPhone SDK framework?

I wonder how these Apple mailing lists work. 1) Is there one for every framework? 2) How to subscribe to them? ...

Rendering borders bug in Safari mobile

Hi, I am having strange rendered borders on elements that have no borders at all in Safari Mobile? Any idea on what can cause the problem? I was not able to find a solution. Thanks in advance for your help. ...

"pay if you want to" using in app purchases (iphone)

I realise that you can't use in app purchases for real things. But does an in app purchase actually have to give extra functionality in the app. Can it be used to have optional paying? I've made an app that really should be free but I'd like to make a little money even if it's only one 59p. So could I have an in app purchase which users ...

What happens to my apps after my developer account membership expires?

When my paid developer membership runs out with Apple, what happens to my existing apps on the app store? I know that I cannot add new apps then, but do my existing apps stay? Can I change prices? Can I get paid for sales? Can I update those apps? (Am I missing any questions here?) ...

How do I build mDNSResponder?

I have tried checking out the mDNSResponder source from Apple's SVN host, with the thought of compiling it and tweaking it. This failed miserably. Here is the last line of the output of cd trunk SRCROOT=. make I get the same error for several tags in the SVN tree, so I'm not sure if there is something on my end wrong? The following...

Advice and resources for Apple iOS 4 development

I'm looking for resources, screencasts, books, courses, sites and the like to assist with learning Objective-C with the intention of developing applications for Apple's iOS 4. My development team has access to Apple's development program, and is largely coming from a similar background: they're Comp Sci graduates that have experience wi...

Problem with CFNetRegister

I'm trying to work with CFNetServices by trying to start up and publish a service asynchronously. I'm trying to use the example code from here: http://developer.apple.com/mac/library/documentation/Networking/Conceptual/NSNetServiceProgGuide/Articles/CFNetServices.html#//apple_ref/doc/uid/30001276-SW3, but CFNetRegisterWithOptions always...

Question on ExtAudioFileRead and AudioBuffer for iPhone SDK

I'm developing an iPhone app that uses the Extended Audio File Services. I try to use ExtAudioFileRead to read the audio file, and store the data in an AudioBufferList structure. AudioBufferList is defined as: struct AudioBufferList { UInt32 mNumberBuffers; AudioBuffer mBuffers[1]; }; typedef struct AudioBufferList AudioBufferLis...

Apple 360 example

Maybe all of you saw Apple’s HTML5 showcase. The thing is, they didn’t put anything downloadable online, am I right? Has anyone found a 360 example like theirs that we can download and use as is, instead of going through the Safari reference book? Thanks. ...

Develop an iPhone / iPad Reader app from scratch

I'm developing a reader app for viewing and highlighting proprietary format documents. The documents are 2D. (Might add some cool page flip effects) The interface is similar to that of mobile safari. I have no prior experience with iOS development. Could you guys point me to the right direction? (Things I need to consider, tutorials, sa...

releasing object after return

Hi, I use an object to get some values with it and return this values. The values which will be returned are still in this object. Heres the code: XMLErrorParser *xmlErrorParser = [XMLErrorParser alloc]; [xmlErrorParser parseData: data]; return xmlErrorParser.errors; So how can i release the xmlErrorParser Object and retu...