When a UITextField with custom frame (200 × 54 px) loses focus, the text looks a little bit blurry.
example screenshot
Is this a common problem? Any workaround / solution or am I doing something wrong?
Yeah, yeah, I know, it is a little bit of offtopic, but let's try.
So, I want to increase my efficiency during my programming as much as possible to programme as fast and sensibly as possiblle. What do you do before starting coding? Drink a lot of coffee, energy drinks? Do you listen to music during programming or you keep quite?
Share your ideas.
I am trying to use the following code, but I always get an error that I can find little information about:
- (id)initWithNibName:@"MyRidesListView" bundle:nil {
if ((self = [super initWithNibName:@"MyRidesListView" bundle:nil])) {
// Custom initialization
}
return self;
}
Error:
expected identifier before 'OBJC_STRING' token
This seems like a simple method to be calling. This is for a UINavigationController.
Ideas?
Procedural techniques is common for texture synthesis, modeling plants, and modeling terrains. However, I've seen very little work on algorithmic construction of robots, which is a bit surprising given how mechanical these systems are.
Anyone have a good resource on the algorithmic construction of robots / robotic humanoids?
Thanks!
I would like to write an app for the iPad but I can't stand Objective-C.
Is there a language generator that would spit out Objective-C but let me write my iPad application in another language?
I've heard a little about MacRuby and am curious whether it could be used this way. Any other similar projects in other languages?
In the Linked in iphone application I noticed that they have a tableview, see the following picture with what appears to have a triangle indicator pointing upwards.
Notice how the tableview cell has a little triangle pointing upwards and is part of a tableview cell.
The triangle is the ---^--- part of the image.
I'm wondering. How do you make a UITableView with this triangle indicator, and what is this effect called?
Thanks
Hi,
I would like to know if you have any good books that teach C++ programming without repeating basic stuff. In fact, I already well know Java and C#. I also have a basic knowledge in C and assembly, so I understand a little bit pointer arithmetic, manual memory management and heap based allocation. I was looking at O'Reilly's C++ in a Nutshell and was also wondering if this book would be a good choice.
Thank you
I have a scanned image of a book page and i need to crop this scan for leaving only page area. I tried to use AForge to detect page borders, but it doesn't work because the space which i need to crop may consist of little "light" areas (due to scanner quality) and edge detector detects borders there. That's why this is bad idea as for me.
Could you recommend something?
P.S. Please don't tell me to use non-free libraries.
Consider the following collection.
True
False
False
False
True
True
False
False
I want to display it in a structured way, say, in a TreeView. I want to be able to draw borders around entire groups and such.
True Group
True
False Group
False
False
False
True Group
True
True
False Group
False
False
How do I accomplish this with as little procedural code as possible?
So I am not sure if I am asking this correctly; let me explain:
IS there a way I can run my MDE without the access shell around the forms/reports? The part that provides the menu, and the little application title. I think it is the overall presentation layer form that all my access stuff sits on, but I am not sure. I am just wondering if you can get rid of it.
Thanks
When we create an array, we cannot change its size; it's fixed. OK, seems nice, we can create a new bigger array and copy the values one by one and that's little slow. What's the technical background of it?
How to detect a column included in WHERE clause but used in indexed?
Little Background:
Until the time the table has few number of records things will be okay, once it started having millions of records then index should be created for a column which is used in WHERE clauses in stored procs, inline queries etc.,
Since we have hundreds of stored procs and queries that often gets changed by the devs I wanted to have a automated way of identifying those columns that are used in WHERE clauses but not an index is created. How to do that in SQL SERVER 2008?
I'm assuming this isn't possible but before digging further is there a way to do something like this:
public void ProcessInterface(ISomeInterface obj) {}
//...
dynamic myDyn = GetDynamic<ISomeInterface>()
ProcessInterface(myDyn);
I've seen a post arguing for it but it sounds like it wasn't included.
A little context: .Net assembly exposed through COM - Silverlight app consuming interface-implementing classes. Would be nice to refer to the objects by interface. I really don't expect that this was what was intended...
Hi all,
I'm loading an external video stream in my embedded player. Since it takes a little while to connect and preload you see a black background for +- 7 secs untill video plays . I would like to know if its possible to have a background image saying 'Stand by loading video' with my logo on it before the video starts to play. Only thing i could find was bgcolor parameter but that's not what I want. I hope someone can help me thanks!!
I programmed in Matlab for many years, but switched to using R exclusively in the past few years so I'm a little out of practice. I'm interviewing a candidate today who describes himself as a Matlab expert.
What MATLAB interview questions that I should be asking?
We are creating databases on demand and the databases can be created from different templates. All templates have the same structure but different data. The data contained by the templates is small.
What is the fastest way to create a copy of the database:
Backup/Restore
Using T-SQL ?
Using SMO ?
Create a new database from a scripted version of the template and then fill in the little data required ?
Other ?
i searched a little for the size of file in salesforce . i found this link
http://help.salesforce.com/HTViewHelpDoc?id=collab_files_size_limits.htm&language=en_US
its showing that file size can be upto 2 GB.i have to store IDs in a text file and want to make it scalable for for nearly about 1 Million record .file size will be equal to 15 MB .can any one please provide some good tutorial how to create such kind of files and using it in apex for retrieving and updating data
When I delete a row like this, and then scroll a little bit, one of the rows of that section happens to cover the section header.
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath {
if (editingStyle == UITableViewCellEditingStyleDelete) {
[dataManager deleteValueAtIndex:indexPath.row];
[tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade];
}
}
Is there any solution to this?
hi, i have a little question about the verbatim environment in latex.....
my problem is how can i write "\end{verbatim}" inside of a verbatim environment, it supposed that everything inside a verbatim is written just like it looks but this is the string to end the environment, so how can i do this?
This .aspx page has a very nice set of collapsible sections with a little "+ -" control.
http://www.microsoft.com/sqlserver/2008/en/us/editions-compare.aspx
Can anyone tell me how this might be done in Visual Studio?
I have tried using firebug to deconstruct the page but can't find the script that is doing the showCollapsibleItem() call.
Thank you!
Hello,
I'm trying to figure out how to group items like the grouped mail boxes in the mail app. I need it to be like selecting a mail box, when you tap it it loads new data, your inbox outbox and all of the other boxes for that mail account. Then you can tap back and return to all of your accounts. If anyone has a little sample code they could show or explain how one might go about doing this any help is appreciated. (Note: Im using the split view template)
Thanks
Guys, Ive been using jquery to do this, but now I need to do it with Prototype and Im little confused due lack of documentation
I have 2 lists of check boxes
First List:
Check box 1
Check box 2
Second list:
Check box x
check box y
check box z
I need the JS code, using prototype to work like this: Second list, remains disabled unless I check one of the checkboxes of the First List.
Any suggestions, or help, please!
Thankyou.
I have a bunch of (50+) XML files in a directory that I would like to insert into a SQL server 2008 table.
How can I create a SQL script from the command prompt or Powershell that will let me insert the files into a simple table with the following schema:
XMLDataFiles (
xmlFileName varchar(255)
, content xml
)
All I need is for something to generate a script with a bunch of insert statements. Right now, I'm contemplating writing a silly little .NET console app to write the SQL script.
Thanks.
I've had a little search and I was wondering if there is back compatibility for the .NET framework.
The real question is, if there's a program that uses .NET Framework 1.1, can I install 3.5 and be done, or do I have to install 1.1 and then if something uses 3.5 I have to install 3.5 as well?
This question is maybe a little too cute, but I have always found startup profile files of other people both useful and instructive about the language. Moreover, while I have some customization for bash and vim, I have nothing for R. For example, one thing I always wanted is different colors for input and output text in a window terminal, and maybe even syntax highlighting.