Похоже, что в настоящее время во многих кодах Objective-C используется Singleton. В то время как многие люди жалуются на синглтоны, например на Google (Where Have All the Singletons Gone?), Их коллеги-инженеры также используют ...
What does "error: Semantic Issue: Interface type cannot be statically allocated" means ? This is the wrong line: UIViewController imageWithCaptionController = [[UIViewController alloc] ...
Microsoft have recently released a Bing maps objective c component. See here and here They mention that have less restrictive terms: We think you will find that the terms of use are less ...
Apple Threading guide says: For multithreaded applications, Cocoa frameworks use locks and other forms of internal synchronization to ensure they behave correctly. To prevent these locks from ...
I'm looking to implement Single Sign On for a native iOS app whereby logging in with this single sign on gives the mobile device authenticated access to our private service in a fashion that is ...
I am working on one project in which i have used AudioUnitRender it runs fine in simulator but gives -50 error in the device. If anyone have faced similar problem please give me some solution. ...
I am trying to get some sample code on how I would add rows to an existing UITableView. I am trying to use the insertRowsAtIndexPaths: function. [tableView insertRowsAtIndexPaths:addindexes ...
I'm beginning to learn how to localize iOS applications and hit a wall while trying to localize my UITabBarItems. Note that these were created in interface builder (using XCode 4). Is there a way ...
Какой эффективный способ получить объект NSURL, например следующий: foo: // name / 12345 и разбиваем его на одну строку и одно целое число без знака, где строка val - это 'name', а беззнаковое int ...
In previous versin of XCode and IB, when I would specify a background image for a button, the image lists would just include the filenames without the file extensions or @2x suffixes and the iOS was ...
Почему следующий код производит ведение журнала внизу?
Вот аномалия - мой второй NSLog должен печатать chrStr, но ничего не выдает, пусто, что подтверждается этой командой отладки: (gdb) ...
Есть ли способ как-то имитировать поведение категории для класса в отношении его переменных экземпляра, а не методов? У меня есть ClassA, и я хочу сохранить его имя после расширения его новыми методами ...
Please help me track down an iOS memory leak. Thanks! I'm using xCode 4.0.1 and I tried to activate NSZombie to track a memory leak, but it doesn't seems to work as before, with xCode 3.x I can't ...
Does Apple provide developers a set of standard terms in differing languages? The reason why I ask is that I'm having portions of my application localized and want standard terminology consistently ...
I'm currently saving an NSDictionary to file on the iOS device. However, NSDictionary files are readable XML. I don't want people to be able to get in and read the contents so I need to be able to ...
Я пытаюсь выяснить, как я могу начать реализацию Sensor Fusion на iPhone. Я начал с этого выступления Дэвида Сакса: Sensor Fusion на устройствах Android Хотя доклад Дэвида очень ...
Допустим, у меня есть сущность Core Data под названием Event, которая представляет повторяющиеся ( ежегодно) мероприятия. Каждое событие имеет свойство «дата». Мне нужно представить эти события пользователю, отсортированные по «следующему возникновению .
Like so many other similar questions on here, I am writing my first jQuery plugin.
Он предназначен для того, чтобы взять выбранный элемент и заменить параметры на интерактивные элементы списка, которые будут использоваться в качестве образцов.
...
Мой Сценарий секундомера безупречно работает в фоновом режиме на Android (подсчет времени), но iOS 4.3.2, похоже, приостанавливает выполнение сценария. На iOS секундомер останавливается в то время, когда приложение было отправлено ...
Похоже, что userInteractionEnabled = NO в родительском представлении предотвратит взаимодействие с пользователем во всех вложенных представлениях . Это правильно? Есть ли способ обойти это?
I can't for the life of me find out how to run applicaitons on a device (specifically, and iPhone 4) using XCode 4. The documentation says to "Set the run destination to iOS device in the scheme ...
У меня есть приложение для iOS, использующее Карты Google для отображения города с POI. Теперь я хочу также предложить автономную карту, для отображения которой пользователю не требуется подключение к данным. Я проверил OpenStreetMap ...
Я работаю над игрой ios, которая нацелена как минимум на 3gs. Мы используем HD-ресурсы для устройств отображения сетчатки (iphone 4, ipod touch 4th gen). Память мудрая, Ipod Touch 4-го поколения, кажется, ...
I am trying to write an app that involves both front and rear camera and switching between them. As far as I understand, in the addVideoInput method, I have to change the IDs in AVCaptureDevice *...
Я пытаюсь получить координаты касания относительно области просмотра браузера из сенсорных событий (таких как сенсорный запуск). Я попытался получить их из свойств clientX / Y, но оба фактически возвращают значения, включая ...