Custom UDFs not working for table columns

I have created a custom UDF for certain string manipulation. It works fine with hard coded values like transform(‘abcd’) but it doesnt work when i give a column name transform(“column A”) or transform(column A). I am implementing SimpleFunction in my custom UDF class. Is there anything specific that need to be done for function to be available for using with table columns?