xcode

Problem with iTunes and change a resource file on an app without compile again with xcode

Hi, I have a scenario to fill for a client: he want to have an ad-hoc app, were he can change a file (in this case an .xml file) when he want, without using xcode (because they dont have any mac). I created this file, but when I change something inside, copy to itunes again and I try to install, it says that the resources has been modifi...

UIPickerView DataSource and ObjectAtIndex

I have a UIPickerview with three components and three lengthy arrays to populate them. However, I want to selectively populate each component depending on the values selected in previous components e.g. - if component 1 has a value of 4, then component 2 will get populated with the elements 20-40 of its array. And if component 2 has a ...

get news from website and show in app

Can anybody help me on How to get news(or climate)from a site and show in application ? ...

iphone how to send my project build to someone else

my work colleague is asking me to send a build so that he can install the application on his phone to test it. I need to send this application to him today. a build that is. not the actualy project just the correct files needed so he can install it on his iphone. Heres what I've done. Ive added his UDID to a new device in the provision...

xcode std::wcout with wchar_t or std::wstring!

Hi, I am trying to print a wstring/wchar_t in xcode to the console but unfortunatelly it only works with basic chars (i think ascii) chars, everything else gets displayed in numbers, for instance the following: std::cout << "äöüu"<< std::endl; std::wcout << L"äöüu" << std::endl; while the cout version prints "äöüu" as expected I get t...

NSTableView leak

I wrote a very simple to-do-list program(it only has 3 methods). Then I did a Build&Analyze to make sure everything checked out. When I used the Leaks performance tool it told me I had a leak. I couldn't figure out where the leak was coming from so i commented out ALL of my code and still had a leak. So for a test I made a NEW cocoa proj...

What tools do you use to support XCode?

As a newbie XCode developer I would like to know what tools you use to support the XCode development experience (e.g. for iPhone development). For example, DOxygen for code documentation generation. I'm also keen to know what you do to make all these different tools work in a cohesive fashion. ...

ipad page swipe

Is there a standard way to register either left or right swipes of the page and respond accordingly? ...

How to call a variable in a object Objective-C

Hi, i have 2 class: main.m second.m. If i have in main.m - (void)ok { NSString *myString = @"OK!"; return myString; } How to call myString or "-(void) ok" function from second.m? Thanks. ...

Including headers from custom framework in XCode

Am I supposed to adjust FRAMEWORK_SEARCH_PATHS or HEADER_SEARCH_PATHS when I add custom frameworks to the project? I have MainProject.xcodeproject that links SomeFramework.framework that's simply dragged from "Products" in SomeFramework.xcodeproject to "Link with Binary Libraries" build phase in main project. Framework contains all req...

repeat local notification

I use below code for repeat local notification every week notif.repeatInterval = NSWeekCalendarUnit; How can i repeat Notification every Sunday,Monday ? ...

Writing a javascript conditional - active/inactive button

Hi there, I have this script, which works great at the moment to navigate window.uicontrols.createTabBarItem("home", "Tab 1", "icon1.png", { onSelect: function() { jQT.goTo("#home", "slide"); } }); window.uicontrols.createTabBarItem("tab2", "Tab 2", "icon2.png", { onSelect: function() { jQT.goTo("#tab2", "slide"); } })...

Error when launch adhoc app in xcode 3.2.4

I'm sorry about asking this question again, I looked for many forums, websites about this issue, even if I did follow Apple's instruction at http://developer.apple.com/library/ios/#qa/qa2010/qa1710.html but it's seem helpful for me. I upraged my xcode sdk to 3.2.4 and iOS 4.1, everything is well with Development, but when I built adhoc w...

local Notification + run specific function

I want to do specific job when app notify means instead of show alert run specific function is it possible ? ...

Storing long long values in Objective C

I'm working with an API that returns a JSON dictionary. One of the keys is "Variant Hash", and the corresponding data is an integer like this: -7331108254952843887 or 6209894088655053576. I'm assuming this is a long long value. I'm serializing this data with NSCoder, and I'm not sure which encodeValue: method to use. There is no enco...

sqlite3 using fts3 create table in my mac terminal and how to use it in iphone xcode project?

Hi I am trying to use fts in my sqlite database, i have created a database and inserted ,all the records ,using sqlite query in my mac terminal, and used it in my iphone xcode project ,its worked fine. now i am trying to integrate fts3 using the links http://pp.hillrippers.ch/blog/2009/08/08/Static+SQLite+Library+with+Unicode+Support...

In xcode when including cmath get error: '::acos' has not been declared, etc

I get the following errors when trying to build a small and simple project that includes <cmath> in Xcode: cmath: '*' has not been declared '::acos' has not been declared In file included from /Xcode4/Projects/libraryLAFMath/Classes/libraryLAFMath.cp In file included from /Xcode4/Projects/libraryLAFMath/Classes/libraryLAFMath.h '::acos'...

Why does the new iOS GameKit split between delegates and blocks?

It could be that recent revisions to GameKit are simply a tech demo for blocks. Or, that the "on return" functionality of certain GameKit APIs is just too inconsequential to deserve a dedicated delegate class, and blocks now fulfill the function of an informal protocol. Though it feels like a subjective question, perhaps there is a defi...

Iphone OpenFlow orientation issue

Hi, I have used the OpenFlow API developed by Alex Fajkowski in an app I am working on. It is a tabbar based app with navigationcontrollers in each tabs, and in one of the tab is the openflow view. everything works fine except when during landscape orientation the selected Image is not in the center of the screen. How do I fix this? Tha...

iphone, How can I get rid of this potential leak, caused by using return after UIAlertview ?

Heres my analyzer leak... I need to return and stop execution of the rest of my method, as I'm stopping the user as hes enter some text fields incorrectly. ...