xcode

iPhone Timer Picker

Is it possible to make this go as granular as seconds without having to write a custom picker? ...

which languages to include in iphone app for creating localizable for both western and eastern languages?

i am creating a iphone app which i want to localize. So which languages should i include in my app for creating localizable for both western and eastern languages? i want to know what does the western and eastern languages means? ...

How do you use groups in XCode?

I started using groups in Xcode the same way I use packages in Java or namespaces in C++, even though groups have no effect on the language. Then I discovered Smart Groups and realised that it's sort of pointless to have my code neatly organised in "folders". Do you use groups? If so, how and why? ...

Xcode source automatic formatting

As a C# developer, I have become highly dependent on the automatic formatting in Visual Studio 2008. Specifically, I will use the CTRL-K,D keyboard shortcut to force things back into shape after my sloppy implementation. I am now trying to learn Objective-C and am missing certain features in Xcode, but probably none are quite as painf...

How to make typewritter effect on xcode?

need some library? to make this effect? ...

Pantomime and Mail Frameworks? - Cocoa

Does the Pantomime Framework work for 10.5 or 10.6? Because when I look at the build error I get when compiling it says, it couldn't find the 10.4 sdk. If not, then does anyone know any other framework that works really well with 10.5 or 10.6, with an example? ...

Install two versions of Xcode?

Can I install two versions of Xcode on my Mac? I'm planning to install 10.5 and 10.6. If this is possible please let me know... Kevin ...

Use Google Chrome/ Chromium instead of WebKit on MacOS

I would like to use Google Chrome instead of the WebKit Framework in one of my projects. I found the 'chromiumembedded' project for Windows but nothing similar for Mac. Best would be to have it in form of a Framework to just drop it into a XCode project. Question: Is there an easy way to integrate the Webkit of Google Chromium in own Ma...

Setting up gcov in Xcode 3.1

I'm trying to setup my Xcode project to be instrumented with gcov so I can determine the code coverage of my unit tests. All of the documentation I find online talks about settings that I don't find in Xcode 3.1, though. An example: To work with Coverstory, first you need to set up your target to work with gcov. This requires turning...

UIButtons over a UIImageView Zooming

hey guys, this is my first time post here, and im pretty new to iphone programming. i just started about a month ago and have only been tinkering with small tutorial type applications but anyways, heres my question i currently have a UIScrollView thats scrollable and zoomable, that loads a UIImageView subview, and i want to add in some ...

Resizing image view in table cell iphone

Hi, I am developing an iPhone app where downloading a high quality image from my app server. I am required to resize it to half its size and display it in the table cell. Could anyone help me to find which functions I could use? Appreciate your suggestions! ...

Being a cracker nightmare!

Hi, I am trying to make a code hard to crack using Objective-C on a Mac. One of the things I have to do is to check to see if the application was cracked. I am new to Objective-C and Xcode and whatever way I imagine to test my application I always end in a basic test that can be patched easily. For example: suppose I am about to te...

Using Segment Controller to "Push" rather than UINavigationController

Hi, I;ve involved myself so much in NavigationControllers that I've become kinda ignorant with other options. Heres what i want to accomplish, I've built Subclassed ViewControllers to Push via NavigationController that works pretty fine. However, to avoid the Idea of going back and getting to a new view doesnt fit for quick access s...

want to display multiple lines in custom cell label

I have a label in a custom cell with 3 labels in a table view. I am trying to display a text message "Updated status one of user" in one of the labels, but it displays only "Updated status" and truncates the rest of the message. What can I tweek to display the whole message in a line or spill it to a second line is necessary? Appreciate ...

Add border to a image in iphone

I have an image in a custom cell. Is there any api to add a gray border to an image? Thanks in advance! ...

In Xcode Document App: Why would init method of MyDocument be called twice?

I followed Chapter 8 of Hillegass to implement the RaiseMan application there. Then I decided to follow the same process to implement the code for an exercise in a Cocoa programming class that I am taking, but I got the following very cryptic error message after building and running. Cannot create BOOL from object <_NSControllerObjectPr...

Is there a way to visualize records stored in an iPhone app via Core Data?

I have an app which, for good reasons, can only be debugged on a device. I'm using Core Data for the first time, and I'd like to be able to easily inspect the records that are stored by the app on the device. I imagine that Core Data is by default backed by SQLite on the iPhone, so this question might be as simple as asking: "What's the...

How to link an arm .o file into an Xcode project

I have a gnu built object file I need to include in an Xcode iPhone project. The .o file format is arm, via 'otool -h': Mach header magic cputype cpusubtype caps filetype ncmds sizeofcmds flags 0xfeedface 12 0 0x00 1 3 1316 0x00002000 But Xcode rejects it, complaining that "file is not ...

How to only auto resize certain NSTableColumn?

I have a table with 3 columns (NSTableColumn) build with XCode IB. The last column is "Amount" and the column before it is "Description. When I resize the window, the table will be resize as well but the "Amount" is the column that gets span wider. How do I fixed the "Amount" column width and instead auto resize the "Description" colu...

How to include lua scripting language into C++ XCode?

I have successfully compiled lua in my mac. It works. It runs. Now, I want to mix it with C++ in XCode. So I looked up in the Linked Library, the usual place to add more libraries in XCode. But of course, lua isn't there. Now, how do I tell XCode the existence of lua so that the program can include lua.h correctly? ...