hi ,
while going through one project , i have seen that the memory data is "8 bytes aligned"
Can anyone please give some input related to this ?
/Kanu__
When call setImageWithURL, it fails with following,
[UIImageView setImageWithURL:placeholderImage:]: unrecognized selector sent to instance 0x149a20
2011-12-14 18:11:38.060 [781:707] Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIImageView setImageWithURL:placeholderImage:]: unrecognized selector sent to instance 0x149a20'
I can confirm I have included SDWebImage project and required headers correctly as I can use the SDWebImageManager successfully.
Following is the code where I called the UIImageView category method setImageWithURL
NSURL* url = [NSURL URLWithString:@"www.abc.com/abc.png"];
[cell.imageView setImageWithURL:url placeholderImage:[UIImage imageNamed:@"abc.png"]];
Much like Java (or php), I'm use to seperating the classes to files.
Is it the same deal in Python? plus, how should I name the file?
Lowercase like classname.py or the same like ClassName.py?
Do I need to do something special if I want to create an object from this class or does the fact that it's in the same "project" (netbeans) makes it ok to create an object from it?
i have installed ruby 1.9.1 and when i in the command prompt type:
ruby -v
i see the latest version.
however, in netbeans when i create a new project i can only select 1.8.7 version.
how do i tell netbeans to use the latest ruby version that i have installed?
thanks
How can i control calendar user interface in java? My current project needs to provide calendar in web. User can control public holiday, block day and so on when client choose to book. So i need to provide calendar control with java. If anyone have idea, pls help me to solve. Thanks.
Regards,
leo
I'm studying STL and made win32 project..
But I got stuck in runtime error..
I tried to debug it but..
please click to see picture
this is very strange because
in watch table,
n1,p1,it are defined but n2 isn't
and tmp is not either..
I can't find what is wrong...
please help..
I don't mean scripts or tools for your work project.
I mean actual software for your personal use, such as party organizer, CD administrator, whatever.
IN VS2008, for C#, How can I figure out which references are needed and which are not?
If you look in the solution explorer for a certain project and expand the references folder, is there a way to tell those that are never called? Will this be determined at compile time and simply not included?
Hello
I'm looking for a piece of relatively simple software to browse large C++ project. What I would like is something that is somewhere between a simple text editor and a full-blown IDE like Eclipse. I would like syntax highlighting, a way to see all classes/methods defined in a file, a way to find where a particular method is called from and where a variable is declared/defined.
Any ideas?
Thank you!
Hi all, I'm using GemBox for my project now. Currently my module requires only excel which is why I've tried and really like using this application. Talk to my PM about the possibility of purchasing it but they wanted something similar that might work for word documents as well as just excel so that others might use it as it is more common for word documents to be generated.
Hi,
I want to add a Control (UILabel / UIButton ) over a playing video ,
Can anyone please make a tutorial of adding a control on a playing video. Below is the link of the project. I am stuck how to connect the UIView object ( Overlay View ) in the connections inspector.
The code is copied properly.
Thanks
http://rapidshare.com/files/393248642/MoviePlayer_iPhone.zip
Taimur
I installed Visual Studio 2010 (ultimate).
When I click on New Project- Visual Basic (or C#)- Web, the only options i get is AjaxControlExtender, AjaxServerControl and ASP.Net Server Control. How do i get the ASP.Net WebApplication option to show up?
Thanks a lot.
I have a .DLL that i include in my Visual Studio 2008 project. The .DLL came with a .XML file that has all the comments for the properties and functions.
How do i make it so that VS loads up these comments as Intellisense, so that i have a definition for the functions?
In my project I have a lot of code like this:
int[][] a = new int[firstDimension][];
for (int i=0; i<firstDimension; i++)
{
a[i] = new int[secondDimension];
}
Types of elements are different.
Is there any way of writing a method like
createArray(typeof(int), firstDimension, secondDimension);
and getting new int[firstDimension][secondDimension]?
Once again, type of elements is known only at runtime.
Hi,
Which book is best to learn SSIS. Actually in my project we need to take onput from CVS file and after processing the data in SQL server 2008 we have export it back to excel file. ASP.NET is used as UI for this.
Thanks,
Nabin
Hi! Got the following warning output when using GCC 4.5.0 & MinGW.
Warning: .drectve `-aligncomm:___CTOR_LIST__,2 ' unrecognized
Warning: .drectve `-aligncomm:___DTOR_LIST__,2' unrecognized
What does it mean? I guess it's version-specific, because GCC 4.3.4 under cygwin didn't give that warning on the same project.
If anyone had the following output (just curious that's that about), please advise me what to do.
In my project I have a file uploading feature. Files are uploaded via FTP. I need to configure a listener that will check for new files and invoke a script only when file uploading is finished. Because if I run this script immediately after detecting the new file, it can start to process file that is not completely uploaded, which will cause an error. Can anybody tell if this is possible on LINUX and how can I do this?
In a standard generated scaffold project, when you are on an edit page, the URL looks like;
/something/3/edit
However, when the page doesn't validate, it runs the following code:
format.html { :action => "new" }
and the page url changes to;
/something/3
(no /edit)
Why is this is this and how to prevent it, as it looks inconsistent to me and thus confusing.
Thanks
Hi I am using NetBeans IDE and I have my images (what I am using in my project) in a folder named Images. When I am building jar it doesn't take that images. The code I am using to set image is,
buttonObj.setIcon(new ImageIcon("\Images\a.jpg") any help please.
My client wants a flickr kind of site, but people have to pay for registering .And they can restrict their gallery view. Since its a low budget and short term project, I would like to customize some readily available scripts rathar than starting from scratch. Please suggest abt technology,methodologies to be used. Thanks in advance :)
I'm working on my high-school matriculation asp.net project, and I wish to make a website of a bookstore.
I want to create two classes,Book and BookStore, and save the data created in XML files and not in a database.
How can I save objects as XML files, and how can I load them afterwards?
Thank you very much.
i want to design maker/ checker module in my project like if user A add new user so the another User B will approve or reject this adding. i want to know the best practices of design for this module in the database ....... any help
Does anyone know if Google's CDN for jQuery is available in China?
http://code.google.com/apis/ajaxlibs/
I might have a project where I'll need to support localization a variety of countries, including mainland China, and want to know if I'll need to find alternatives such as:
http://www.asp.net/ajax/CDN/
Which is okay, but my understanding is that the Microsoft CDN doesn't support jQuery UI.
I've checked over at the following Google report page, but can't really figure out if 'sites' includes their CDN delivery:
http://www.google.com/prc/report.html
I have a DataTable with column ID, Name, RootID. The tree stucture is implmented using the RootId field. If the RootId is null it is considered as Root Node. How to create an Nlevel tree using the DataTale.
eg. 1 Manager null,
2 Project Lead 1,
3 Test Lead 1,
4 Sr Soft Eng 2,
5 Soft eng 2,
6 HR Manager Null,
7 HR exec 6,
......