I am trying to add facility of asynchronous transmission in my project.
I want following in my application.
A table view should load data through web service ( I can do )
Each cell must have an image ( I can do )
But the problem is up to now I was using synchronous transmission.
i.e all data is loaded & then displayed including imag...
I am trying to work on application in which images should be loaded asynchronously.
Are there any examples related this?
I tried pokeb-asi to understand asynchronous transmission, and it works within that application fine.
But I want to know how to do it from scratch
I am facing following problems.
I don't know the exact way to do ...
To display key/values from an NSMutableDictionary sequentially (in a tableview), I need to access them by index. If access by index could give the key at that index, I could than get the value. Is there a way to do that or a different technique?
...
I develop with XCode 3.2 under Snow Leopard, and I want to read a jpg-file from disk into memory and manipulate directly with the raw image bitmap presented as a C char array. How can I achieve this?
...
Hey Guys,
Is there any articles available online where can I find some tips on improving the iPhone application performance. I have read Apple docs on Memory Management and CPU cycles, but they are not very helpful.
Also can someone suggest a few XCode settings that could improve the performance of the application (release version)?
...
Is it possible to move the output/find window that sits above the source editor to the bottom?
I was hoping there might be a hidden preference some where, or perhaps someone has edited the nib file to do the re-arrangement.
cheers
...
I've got a call like this [Class method] and a warning saying that Class may not
respond to "method" message.
The "method" message does not indeed exist but my code use unknown message catching
(using forwardingTargetForSelector) so it will run fine and it is build to run that way.
How can I hide this annoying warning ?
...
I am just starting out with xcode and learning Objective-C & Cocoa, would it be helpful to swap the compiler in Xcode 3.2 to Clang for the enhanced error checking and static analyser. I am just curious if the extras given would be helpful or would my learning be better served sticking to the default settings?
many thanks
gary
...
In the quest to resolve the Objective-C namespace issue I'd like to experiment with prefixing a dependency's Objective-C classes based on the target being built.
As an example, suppose I have in my shared library (ObjCStaticLib) a class (CWindow). I have two plugins (A and B) that will use this CWindow. To avoid A's CWindow from collidi...
What strategies can be used in general to decrease build times for any XCode project? I'm mostly interested in XCode specific strategies.
I'm doing iPhone development using XCode, and my project is slowly getting bigger and bigger. I find the compile / link phases are starting to take more time than I'd like.
Currently, I'm:
Using S...
Anyone manage to write code that uses the mysqlclient library? I can get compiling working but not linking :(
XCode produces the following output:
Build TestMysql of project TestMysql with configuration Debug
Ld build/Debug/TestMysql normal x86_64
cd /Users/jacob/Documents/cocoa/TestMysql
setenv MACOSX_DEPLOYMENT_TARGET 10.5
/Develope...
I've just finished off an app for the iPhone which, until today, ran fine on the iPhone simulator and actual devices.
I tried changing the xib which is loaded in the applicationDidFinishLaunching method in my application delegate class - all I did was change the string in initWithNibName.
When I launch the app on the simulator, the De...
is it possble to show map in lanscape mode?
...
How would I use NSRunningApplication? I have something opposite of that which is launching an app:
[[NSWorkspace sharedWorkspace] launchApplication:appName];
but I want to close one. I get an error when I debug the code for NSRunningApp which is this:
NSRunningApplication *selectedApp = appName;
[selectedApp terminate];
Is there so...
In a navigation based app, I initialize an array in my app delegate without using self. When accessed in the RootViewController's cellForRowAtIndexPath:, all array objects are there and I can see it is an NSCFArray. Once the app loads, I click a table cell and in didSelectRowAtIndexPath:, that same array has a type of NSArray, no object...
I'm trying to do the iphone sdk workaround for my Tiger Mac OSX and it seems that step one is just to install whatevr can be installed...well I can't even select my harddrive for destination because it's not Mac OS X 10.5 Any thoughts on why I can't even do this first step?
...
I'm working on an iPhone app (first real programming project) and I had two views that would go into tabs in separate applications to build them, where they work fine. Then I added them back into the main project; The tableviews bring on a crash with an numberOfRowsInSection] unrecognized selector sent to instance 0xXXXXXX so I isolated ...
I have two horizontally scrolling UIScrollViews stacked vertically on top of each other within one ViewController. Each UIScrollView takes up half the screen. I am trying to independently track the position of both UIScrollViews.
I have successfully used this to track the position of the top UIScrollView:
- (void)scrollViewDidScroll...
I am developing an iphone application in objective c.
I have to get the list of the states of USA programatically. How can I get that list?
...
I've been using CGPostMouseEvent() for performing mouse clicks since mac os 10.4.
While working on my code and trying to make it 100% compatible with Snow Leopard, XCode spit a warning saying that CGPostMouseEvent() is deprecated.
While this doesn't scare me, I'd like to know what replaces CGPostMouseEvent().
This is how I use it:
CGPo...